On Wed, Sep 2, 2020 at 3:42 PM George R Goffe via test <test@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > Hi, > > I'm playing around with FC34 ina VM and have backed up /boot; put a btrfs fs on the partition; restored from the backup, updated fstab but grub2 still goes into rescue mode. This tells me that there's something I don't know which is entirely possible. Could it be a missing driver in the initfs (name btrfs)? > > Is there a quick answer? Can I get some doc links to rtfm? Please? Yes the UUID of /boot has changed, so grub.cfg is looking for the wrong grub root (which is normally /boot). BIOS firmware you need: grub2-install /dev/sdX - whatever is the whole drive block device. This adds a btrfs driver to GRUB core.img so it can read /boot grub2-mkconfig -o /etc/grub2.cfg - this will add the UUID of /boot UEFI firmware you need just the 2nd command but it needs to be /etc/grub2-efi.cfg Their real locations are: ls -l /etc ... lrwxrwxrwx. 1 root root 22 Aug 21 08:30 grub2.cfg -> ../boot/grub2/grub.cfg lrwxrwxrwx. 1 root root 31 Aug 21 08:30 grub2-efi.cfg -> ../boot/efi/EFI/fedora/grub.cfg Make sure whether you have UEFI or BIOS though. One way is run efibootmgr. If there's an error, it's BIOS. If multi-line output it's UEFI. You do not want to run grub-install on UEFI. -- Chris Murphy _______________________________________________ test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx