Raid 0 Linux Installation fails to install grub
RAID1 is mirroring, not striping. Furthermore, using BIOS fakeraid is not recommended - Linux software RAID (mdraid) will be more reliable, and will help you to avoid issues like this.
If you are absolutely sure you want to installing GRUB on fakeraid, you must follow a quite complicated procedure, that is described here: https://wiki.archlinux.org/index.php/Installing_with_Fake_RAID#Install_GRUB
Related videos on Youtube
Grant
Updated on September 18, 2022Comments
-
Grant almost 2 years
I have a Raid 0 setup (striping) via BIOS not through software raid. When I install linux mint or Ubuntu it fails to install the boot loader or set the boot loader to boot. I get an error stating grub-install /dev/sda failed. On start up of a fresh install I get the blinking cursor and no grub boot menu.
I've tried a few different fixes with gpart and trying to use the advanced partition during install but I keep getting bootloader failed to load.
I've also used the
fdisk -l
outputting only /dev/sda1 info which is the usb liveCD. Howevever, usingfdisk /dev/mapper/nvidia_djcffehh -l
will show the RAID drive with the boot partition, swap, and file system.Not sure why it isn't working as it has worked in the past but since doing a fresh install it doesn't work properly.
Is it possible that because the liveCD USB is being mounted at /dev/sda that it is messing with the file system? Also I am using Linux Live USB creator. The USB driver appears as a hard drive on the bios and not as a removable device.
Any ideas would be helpful.
-
Gilles 'SO- stop being evil' almost 12 yearsRAID 0 is striping, RAID 0 is mirroring: which one is it? BIOS RAID (“fakeraid”) is usually a bad idea (among others, because of incompatibilities of this sort).
-
Grant almost 12 yearsYup I mixed it up I meant RAID 0. I'm just puzzled because the "fakeraid" worked with it before and had no problems. I think you meant RAID 1 is mirroring.
-
Skaperen almost 12 yearsDoes your BIOS RAID 0 present a single device to the OS? When you boot the Mint or Ubuntu DVD, open a shell terminal and type the command "cat /proc/partitions". There should be one big device representing what the hardware RAID put together via your (sata?) controller. Can you see that?
-
-
Grant almost 12 yearsOpps I mixed up RAID 0 and 1 but, I am doing RAID 0 striping. Looks like I will use mdraid instead. Thanks!
-
Skaperen almost 12 yearsIf you are doing software RAID, I generally recommend a separate non-RAID device for the OS. A smaller (64GB) SSD device would be great (don't put swap on SSD).