View previous topic :: View next topic |
Author |
Message |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 29
|
Posted: Wed Feb 12, 2025 8:52 am Post subject: I'm stuck at 6.6.62-gentoo-dist (bin). Maybe a btrfs issue |
|
|
Hello, I use btrfs with snapper and grub-btrfs (https://github.com/Antynea/grub-btrfs) for my laptop. I needed to roll back last Dec and at some point I noticed that my kernel stays at 6.6.62-gentoo-dist. I do have 6.6.67 and 6.6.74 on my /boot but they won't show up in grub. I've done the grub-mkconfig -o /boot/grub/grub.cfg many times and it finds the kernels but at boot they won't be available. Also in the grub menu I can only find old snapshots from 2024.
Here's the output of grub-mkconfig -o:
Code: | sudo grub-mkconfig -o /boot/grub/grub.cfg
Password:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.6.74-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.74-gentoo-dist.img
Found linux image: /boot/vmlinuz-6.6.74-gentoo-dist.old
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.74-gentoo-dist.img.old
Found linux image: /boot/vmlinuz-6.6.67-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.67-gentoo-dist.img
Found linux image: /boot/vmlinuz-6.6.62-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.62-gentoo-dist.img
Found linux image: /boot/vmlinuz-6.6.58-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.58-gentoo-dist.img
Found linux image: /boot/vmlinuz-6.6.57-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.57-gentoo-dist.img
Found linux image: /boot/vmlinuz-6.6.57-gentoo-dist.old
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.57-gentoo-dist.img.old
Found linux image: /boot/vmlinuz-6.6.51-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.6.51-gentoo-dist.img
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 Gentoo Linux on /dev/nvme0n1p2
Found Gentoo Linux on /dev/nvme0n1p2
Found Debian GNU/Linux 12 (bookworm) on /dev/nvme0n1p3
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2025-02-11 15:41:56 | .snapshots/259/snapshot | post | Upgrading to sys-kernel/gentoo-kernel-bin-6.6.74 replacing version(s) 6.6.74 |
Found snapshot: 2025-02-11 09:30:21 | .snapshots/237/snapshot | single | new |
Found snapshot: 2025-02-10 11:01:19 | .snapshots/236/snapshot/.snapshots/1/snapshot | single | N/A |
Found snapshot: 2024-12-13 11:40:53 | .snapshots/236/snapshot | single | writable copy of #234 |
Found 4 snapshot(s)
Unmount /tmp/grub-btrfs.OUuAh1h6jF .. Success
done |
here's some other info:
Code: | lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 2G 0 part /efi
├─nvme0n1p2 259:2 0 426.7G 0 part /.snapshots
│ /
├─nvme0n1p3 259:3 0 29.3G 0 part
└─nvme0n1p4 259:4 0 7.8G 0 part [SWAP] |
Code: | cat /etc/fstab
# <fs> <mountpoint> <type> <opts> <dump> <pass>
#LABEL=boot /boot ext4 defaults 1 2
/dev/nvme0n1p1 /efi vfat defaults,noatime 1 2
#LABEL=root
/dev/nvme0n1p2 / btrfs defaults,noatime 0 1
/dev/nvme0n1p2 /.snapshots btrfs subvol=.snapshots 0 0
#LABEL=swap none swap sw 0 0
/dev/nvme0n1p4 none swap sw 0 0 |
Code: | sudo btrfs subvolume list .
ID 256 gen 59370 top level 5 path Downloads
ID 832 gen 59990 top level 5 path .snapshots
ID 1070 gen 59996 top level 832 path .snapshots/236/snapshot
ID 1071 gen 58154 top level 1070 path .snapshots
ID 1072 gen 58154 top level 1071 path .snapshots/1/snapshot
ID 1073 gen 59133 top level 832 path .snapshots/237/snapshot
ID 1095 gen 59888 top level 832 path .snapshots/259/snapshot |
Code: | eselect kernel list
Available kernel symlink targets:
[1] linux-6.6.74-gentoo
[2] linux-6.6.74-gentoo-dist *
uname -r
6.6.62-gentoo-dist
|
this is a bit odd Boot0000 is EFI/gentoo/grub64.efi but my EFI at root is empty and the /efi partition has /efi/EFI/gentoo/grub.cfg and grubx64.efi)
Code: | sudo efibootmgr
Password:
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0003,0001,2001,2002,2003
Boot0000* gentoo HD(1,MBR,0x4bedd25a,0x800,0x1388000)/\EFI\gentoo\grubx64.efi
Boot0001* HDD0: KINGSTON SNV2S500G PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-26-B7-78-5A-23-9F-A5)/HD(1,MBR,0x4bedd25a,0x800,0x400000)RC
Boot0003* debian HD(1,MBR,0x4bedd25a,0x800,0x400000)/\EFI\debian\shimx64.efi
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003 EFI Network RC |
I'll try to symlink the /efi/EFI/gentoo/grubx64.efi to my EFI if you think its ok.. (I'll wait for your input)
My quess is that I'm somehow in my snapshots as my root and it just boots to an old grub config but can't figure out how to change this behavior. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
loravis n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2024 Posts: 18 Location: Bremen, Germany
|
Posted: Wed Feb 12, 2025 9:52 am Post subject: |
|
|
Quote: | but they won't show up in grub |
I assume that they're not showing up in the "Advanced Options" menu in the grub boot menu, is that correct? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 29
|
Posted: Wed Feb 12, 2025 1:32 pm Post subject: |
|
|
loravis wrote: | Quote: | but they won't show up in grub |
I assume that they're not showing up in the "Advanced Options" menu in the grub boot menu, is that correct? |
They don't show up. Only the 6.6.62 and older ones are there |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
loravis n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2024 Posts: 18 Location: Bremen, Germany
|
Posted: Wed Feb 12, 2025 1:47 pm Post subject: |
|
|
Code: | sudo cat /boot/grub/grub.cfg | grep Linux |
Run this command and show me the output, please. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 29
|
Posted: Wed Feb 12, 2025 3:04 pm Post subject: |
|
|
loravis wrote: | Code: | sudo cat /boot/grub/grub.cfg | grep Linux |
Run this command and show me the output, please. |
a bit long but here's the output
Code: | sudo cat /boot/grub/grub.cfg | grep Linux
Password:
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.74-gentoo-dist ...'
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.74-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.74-gentoo-dist-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.74-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.74-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.74-gentoo-dist-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.74-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.74-gentoo-dist.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.74-gentoo-dist.old-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.74-gentoo-dist.old ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.74-gentoo-dist.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.74-gentoo-dist.old-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.74-gentoo-dist.old ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.67-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.67-gentoo-dist-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.67-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.67-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.67-gentoo-dist-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.67-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.62-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.62-gentoo-dist-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.62-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.62-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.62-gentoo-dist-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.62-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.58-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.58-gentoo-dist-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.58-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.58-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.58-gentoo-dist-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.58-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.57-gentoo-dist-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.57-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.57-gentoo-dist-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.57-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.57-gentoo-dist.old-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.57-gentoo-dist.old ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.57-gentoo-dist.old-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.57-gentoo-dist.old ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.51-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.51-gentoo-dist-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.51-gentoo-dist ...'
menuentry 'Gentoo GNU/Linux, with Linux 6.6.51-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.51-gentoo-dist-recovery-209593d9-6236-4766-9d2d-0a864c582ad3' {
echo 'Loading Linux 6.6.51-gentoo-dist ...'
menuentry 'Gentoo Linux (on /dev/nvme0n1p2)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-209593d9-6236-4766-9d2d-0a864c582ad3' {
submenu 'Advanced options for Gentoo Linux (on /dev/nvme0n1p2)' $menuentry_id_option 'osprober-gnulinux-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.62-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.62-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.58-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.58-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.58-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.58-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist.old (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist.old--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist.old (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist.old-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.51-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.51-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.51-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.51-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo Linux (on /dev/nvme0n1p2)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-209593d9-6236-4766-9d2d-0a864c582ad3' {
submenu 'Advanced options for Gentoo Linux (on /dev/nvme0n1p2)' $menuentry_id_option 'osprober-gnulinux-advanced-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.62-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.62-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.58-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.58-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.58-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.58-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist.old (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist.old--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.57-gentoo-dist.old (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.57-gentoo-dist.old-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.51-gentoo-dist (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.51-gentoo-dist--209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Gentoo GNU/Linux, with Linux 6.6.51-gentoo-dist (recovery mode) (on /dev/nvme0n1p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.51-gentoo-dist-root=UUID=209593d9-6236-4766-9d2d-0a864c582ad3 ro single rootflags=subvol=.snapshots-209593d9-6236-4766-9d2d-0a864c582ad3' {
menuentry 'Debian GNU/Linux 12 (bookworm) (on /dev/nvme0n1p3)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-c0a7cdf9-75bc-412b-86d0-4eb43538042a' {
submenu 'Advanced options for Debian GNU/Linux 12 (bookworm) (on /dev/nvme0n1p3)' $menuentry_id_option 'osprober-gnulinux-advanced-c0a7cdf9-75bc-412b-86d0-4eb43538042a' {
menuentry 'Debian GNU/Linux (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-31-amd64--c0a7cdf9-75bc-412b-86d0-4eb43538042a' {
menuentry 'Debian GNU/Linux, with Linux 6.1.0-31-amd64 (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-31-amd64--c0a7cdf9-75bc-412b-86d0-4eb43538042a' {
menuentry 'Debian GNU/Linux, with Linux 6.1.0-31-amd64 (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-31-amd64-root=UUID=c0a7cdf9-75bc-412b-86d0-4eb43538042a ro single-c0a7cdf9-75bc-412b-86d0-4eb43538042a' {
menuentry 'Debian GNU/Linux, with Linux 6.1.0-28-amd64 (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-28-amd64--c0a7cdf9-75bc-412b-86d0-4eb43538042a' {
menuentry 'Debian GNU/Linux, with Linux 6.1.0-28-amd64 (recovery mode) (on /dev/nvme0n1p3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-28-amd64-root=UUID=c0a7cdf9-75bc-412b-86d0-4eb43538042a ro single-c0a7cdf9-75bc-412b-86d0-4eb43538042a' {
pete@gentoo ~ $ |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
loravis n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2024 Posts: 18 Location: Bremen, Germany
|
Posted: Wed Feb 12, 2025 7:04 pm Post subject: |
|
|
Mmm yea, that's rather strange. According to that output, grub should be configured perfectly... What's likely happening here is that grub is pulling an incorrect or outdated configuration file when booting up, for whatever.
How exactly do those snapshots of yours work? How'd you set them up? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 29
|
Posted: Wed Feb 12, 2025 8:14 pm Post subject: |
|
|
Quote: | How exactly do those snapshots of yours work? How'd you set them up?
|
I always use Gentoo Wiki. For this Btrfs page + snapper page and then the grub-btrfs (link in my first post) to add the menu entries to grub. My setup automatically takes a pre and post snapshot of every emerged package when I run sudo emerge -uDN @world. I usually clean these snapshots except the last one after a successful reboot.
I think my issue started last Dec when I needed to "go back" after my system didn't boot. I think I'm on the snapshot and it just has the grub.cfg somewhere which won't get updated with sudo grub-mkconfig -o /boot/grub/grub.cfg
If this issue is not solved easily I'll try to change btrfs to ext4 for my SSD. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
loravis n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2024 Posts: 18 Location: Bremen, Germany
|
Posted: Wed Feb 12, 2025 8:41 pm Post subject: |
|
|
I don't know if this'll work, because I do not use those tools, however this may be worth attempting.
Recreate your grub configuration via grub-mkconfig. Once you've done that, manually create a new snapshot using snapper create (please make sure you read the manpage or snapper --help if you've never done this before), then restart your machine and boot into that new snapshot.
In theory, assuming that everything works correctly, this should grant the booted system access to the up to date grub configuration and make the newer kernels available. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tedlasso n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Oct 2023 Posts: 29
|
Posted: Wed Feb 12, 2025 9:03 pm Post subject: |
|
|
loravis wrote: | I don't know if this'll work, because I do not use those tools, however this may be worth attempting.
Recreate your grub configuration via grub-mkconfig. Once you've done that, manually create a new snapshot using snapper create (please make sure you read the manpage or snapper --help if you've never done this before), then restart your machine and boot into that new snapshot.
In theory, assuming that everything works correctly, this should grant the booted system access to the up to date grub configuration and make the newer kernels available. |
That's what I've tried few times already. I always see the old grub menu with the same kernels and snapshots. They don't change no matter what Ive tried. I even tried to use the Debian's grub (it's on Sam SSD) but it also finds these same entries even if I update it's grub with os-prober enabled. No new kernel/ snapshot shown. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
loravis n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2024 Posts: 18 Location: Bremen, Germany
|
Posted: Wed Feb 12, 2025 9:22 pm Post subject: |
|
|
Just to clarify, when you boot your system, do you select a snapshot from the snapshots menu or do you just boot into the root snapshot (which is the snapshot that grub-btrfs should boot into by default if nothing is selected)? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|