The title is based on my supposed understanding of grub. Doing update-grub rewrites the text and binary config files /boot/grubenv and /boot/grub.cfg. SOMETHING must then copy that into /boot/efi/EFI/kde, but I can't figure out what.
Here's the problem. I do
The last part, concerning os-prober is the same as output from updae-grub, so I suppose apt is executing that.
After this, grub.cfg has been update in /boot/grub. It contains, among other things
which tells me (note the two reverse arrows) that it has indeed taken into account system level 49 on sdb3, identified only by its uuid=34c6a3...
However, the grub files in /boot/efi/EFI/kde are still those of several days ago. They are what is seen by grub at boot time.
So how do I do to get grub to take that last step? I suspect it has something to do with the fact that this system is on my /dev/sdb, not /dev/sda.
Here's the problem. I do
$sudo apt update && sudo apt dist-upgrade
...
Generating grub configuration file ...
Found theme: /boot/grub/themes/breeze/theme.txt
Found linux image: /boot/vmlinuz-6.8.0-49-generic
Found initrd image: /boot/initrd.img-6.8.0-49-generic
Found linux image: /boot/vmlinuz-6.8.0-48-generic
Found initrd image: /boot/initrd.img-6.8.0-48-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found KDE neon User Edition (24.04) on /dev/sda2
Found KDE neon 6.2 (22.04) on /dev/sda5
Found KDE neon User Edition (24.04) on /dev/sdb2t
Adding boot menu entry for UEFI Firmware Settings ...
done
...
Generating grub configuration file ...
Found theme: /boot/grub/themes/breeze/theme.txt
Found linux image: /boot/vmlinuz-6.8.0-49-generic
Found initrd image: /boot/initrd.img-6.8.0-49-generic
Found linux image: /boot/vmlinuz-6.8.0-48-generic
Found initrd image: /boot/initrd.img-6.8.0-48-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found KDE neon User Edition (24.04) on /dev/sda2
Found KDE neon 6.2 (22.04) on /dev/sda5
Found KDE neon User Edition (24.04) on /dev/sdb2t
Adding boot menu entry for UEFI Firmware Settings ...
done
After this, grub.cfg has been update in /boot/grub. It contains, among other things
menuentry 'KDE neon 6.2 GNU/Linux' --class kde --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-34c6a3f4-395c-44a9-b614-7949c4338ae0' { <----/dev/sdb3
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3 34c6a3f4-395c-44a9-b614-7949c4338ae0
else
search --no-floppy --fs-uuid --set=root 34c6a3f4-395c-44a9-b614-7949c4338ae0
fi
linux /boot/vmlinuz-6.8.0-49-generic root=UUID=34c6a3f4-395c-44a9-b614-7949c4338ae0 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.8.0-49-generic <----system level 49
}
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3 34c6a3f4-395c-44a9-b614-7949c4338ae0
else
search --no-floppy --fs-uuid --set=root 34c6a3f4-395c-44a9-b614-7949c4338ae0
fi
linux /boot/vmlinuz-6.8.0-49-generic root=UUID=34c6a3f4-395c-44a9-b614-7949c4338ae0 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.8.0-49-generic <----system level 49
}
However, the grub files in /boot/efi/EFI/kde are still those of several days ago. They are what is seen by grub at boot time.
So how do I do to get grub to take that last step? I suspect it has something to do with the fact that this system is on my /dev/sdb, not /dev/sda.
Comment