Antynea / grub-btrfs

Include btrfs snapshots at boot options. (Grub menu)
GNU General Public License v3.0
745 stars 77 forks source link

Root filesystem isn't btrfs #266

Closed AlphabetsAlphabets closed 1 year ago

AlphabetsAlphabets commented 1 year ago

Hi, I upgraded my linux kernel and when everything finished when there is a message that says "If you think there is an error please file an issue." I have no idea if this is an error or not. Here is the full output.

Packages (4) linux61-6.1.9-1  linux61-headers-6.1.9-1  linux61-nvidia-525.85.05-4  linux61-virtualbox-host-modules-7.0.6-6

Total Download Size:   251.57 MiB
Total Installed Size:  365.58 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 linux61-6.1.9-1-x86_64                                                                                             166.1 MiB  4.05 MiB/s 00:41 [########################################################################################] 100%
 linux61-nvidia-525.85.05-4-x86_64                                                                                   51.7 MiB  4.47 MiB/s 00:12 [########################################################################################] 100%
 linux61-headers-6.1.9-1-x86_64                                                                                      33.5 MiB  3.07 MiB/s 00:11 [########################################################################################] 100%
 linux61-virtualbox-host-modules-7.0.6-6-x86_64                                                                     293.1 KiB  2035 KiB/s 00:00 [########################################################################################] 100%
 Total (4/4)                                                                                                        251.6 MiB  3.93 MiB/s 01:04 [########################################################################################] 100%
(4/4) checking keys in keyring                                                                                                                  [########################################################################################] 100%
(4/4) checking package integrity                                                                                                                [########################################################################################] 100%
(4/4) loading package files                                                                                                                     [########################################################################################] 100%
(4/4) checking for file conflicts                                                                                                               [########################################################################################] 100%
(4/4) checking available disk space                                                                                                             [########################################################################################] 100%
:: Processing package changes...
(1/4) installing linux61                                                                                                                        [########################################################################################] 100%
Optional dependencies for linux61
    wireless-regdb: to set the correct wireless channels of your country [installed]
(2/4) installing linux61-headers                                                                                                                [########################################################################################] 100%
(3/4) installing linux61-nvidia                                                                                                                 [########################################################################################] 100%
(4/4) installing linux61-virtualbox-host-modules                                                                                                [########################################################################################] 100%
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
:: Running post-transaction hooks...
(1/6) Arming ConditionNeedsUpdate...
(2/6) Updating module dependencies...
(3/6) Install DKMS modules
==> dkms install --no-depmod v4l2loopback/0.12.7 -k 6.1.9-1-MANJARO
==> depmod 6.1.9-1-MANJARO
(4/6) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64.img
==> Starting build: 6.1.9-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: 6.1.9-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64-fallback.img
==> Image generation successful
(5/6) Updating Kernel initcpios for Nvidia-DRM...
(6/6) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.0-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.0-x86_64.img
Found initrd fallback image: /boot/initramfs-6.0-x86_64-fallback.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 Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
Schievel1 commented 1 year ago

Hi, thanks for taking the time to file an issue. I think this is related to either some grub or even kernel update.

What is the output of grub-probe --target="fs" / for you?

Schievel1 commented 1 year ago

The same thing is happening to me, linux-6.2.7 and grub-2.06. Output of grub-probe --target="fs" / is

grub-probe: warning: disk does not exist, so falling back to partition device /dev/sda3.
grub-probe: warning: disk does not exist, so falling back to partition device /dev/sda3.
grub-probe: warning: disk does not exist, so falling back to partition device /dev/sda3.
grub-probe: error: disk `hostdisk//dev/sda3' not found.

I will revisit the way we detect the fs of the root partition.