You are not logged in.

#1 2015-06-01 01:13:38

devinmcelheran
Member
Registered: 2014-11-30
Posts: 16

Grub Failing to Find Root With Btrfs Raid 5

Grub installs fine. I've added the "insmod btrfs" line to grub.cfg. I've installed mkinitcpio-btrfs and added the btrfs hook.

I really don't know why Grub is failing to find it when it has the modules and the UUID.

Can someone point me in the right direction to get this working?

Thanks.

Offline

#2 2015-06-09 22:57:36

chaolis
Member
Registered: 2015-06-09
Posts: 3

Re: Grub Failing to Find Root With Btrfs Raid 5

Maybe this will help with that too.....


Instead of booting with the normal image, I used the fallback version and managed to boot into the system. As it turns out, Linux could not detect any drives due to the block mkinitcpio hook (responsible for block devices) missing from the default image. This was due to it being placed after autodetect in /etc/mkinitcpio.conf. To fix this, the HOOKS=... line in that file needs to be changed so that block comes before autodetect
Before the fix:
HOOKS="base udev autodetect block modconf filesystems keyboard fsck"
After the fix:
HOOKS="base udev block autodetect modconf filesystems keyboard fsck"
Running mkinitcpio -p linux to regenerate the initramfsthen fixed the problem permanently.

dont forget to add insmod btrfs ass well

Last edited by chaolis (2015-06-09 22:58:09)

Offline

#3 2015-06-10 00:09:34

frostschutz
Member
Registered: 2013-11-15
Posts: 1,499

Re: Grub Failing to Find Root With Btrfs Raid 5

GRUB's btrfs support only covers RAID0/1/10.

Offline

Board footer

Powered by FluxBB