You are not logged in.
Hi there,
like a month ago upgrading UEFI had some problems, which I solved by deleting a certain backslash in efibootmgr (what I found in some other forum). Since then kernel upgrade is failing. My /boot is mounting as usual or is mounted when upgrading the kernel, which seems to be the common problem. Unfortunatelly I tried a few things now, so I am kind of lost and worried, if I messed up other things. After downgrading again I noticed that it seems to up-/downgrade the kernel in two directories.
# ls -l /boot
total 20744
drwxr-xr-x 3 root root 4096 10. Mai 2017 EFI
-rwxr-xr-x 1 root root 3161088 30. Jul 09:45 intel-ucode.img
-rwxr-xr-x 1 root root 3161088 16. Jun 19:50 intel-ucode.img.bup
-rwxr-xr-x 1 root root 7455424 30. Jul 09:58 vmlinuz-linux
-rwxr-xr-x 1 root root 7453216 30. Jul 09:45 vmlinuz-linux.bup# ls -l /boot/EFI/arch/
total 64112
-rwxr-xr-x 1 root root 34530260 30. Jul 09:59 initramfs-linux-fallback.img
-rwxr-xr-x 1 root root 13040187 30. Jul 09:58 initramfs-linux.img
-rwxr-xr-x 1 root root 3161088 16. Jun 19:50 intel-ucode.img
-rwxr-xr-x 1 root root 7455424 24. Jun 10:30 vmlinuz-linux
-rwxr-xr-x 1 root root 7453216 20. Jun 17:35 vmlinuz-linux.bupHere is my boot entry in efibootmgr
# efibootmgr --verbose
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0005,0001,0000,0017,0018,001E,0019,001A,001B,001C,001D,001F,0024
Boot0005* r-arch-linux-new4 HD(1,GPT,40154db4-82b9-46b4-823c-c4c86233480b,0x800,0x100000)/File(\EFI\arch\vmlinuz-linux)r.o.o.t.=./.d.e.v./.s.d.a.2. .r.w. .i.n.i.t.r.d.=.E.F.I.\.a.r.c.h.\.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g. .i.n.i.t.r.d.=.E.F.I.\.a.r.c.h.\.i.n.t.e.l.-.u.c.o.d.e...i.m.g.I am kind of lost. Maybe it's the wrong approach and you have better ideas, of course.
Thanks for helping
Last edited by zimkonlat (2020-07-30 12:52:26)
Offline
You are referring to an EFI binary in /boot/EFI/arch but the new kernel image is written to /boot. Either change your efibootmgr entry to take the updated binary from boot/vmlinuz-linux (and /boot/initramfs-linux.img respectively) or change your setup around so that the kernel in /boot/EFI/arch is updated. Where the easiest is probably doing a bind mount: https://wiki.archlinux.org/index.php/EF … bind_mount
Offline
Thank you for your answer.
I followed the instructions in the wiki article, so I did bind mount my /boot/EFI/arch to /boot and wrote it to my /etc/fstab (better: I uncommented the line, which I commented for some reason (while I was messing up)). After that upgrading the kernel didn't work yet. So i looked up my /etc/mkinitcpio.d/linux.preset and changed every /boot/EFI/arch to /boot. Then upgrading the kernel worked. I restarted to check if I have to change something in efibootmgr, but everything went fine.
Thank you for your help. ![]()
Offline