View Sidebar
Dell 2950 Fakeraid, Grub, and you

Dell 2950 Fakeraid, Grub, and you

September 7, 2012 7:48 am0 comments

So, PERC 5/i RAID on a 2950 is a bitch.

You can install linux on it, that goes fine.  But if you have to edit and re-do the bootloader, grub-install doesn’t work.  Because the megaraid_sas driver isn’t supported by dmraid, as far as I can tell.  However, there’s a way around it.

1.  Edit the /boot/grub/grub.conf file as you need.

2.  Go into a grub CLI just by typing ‘grub’

3.  Tell it the HD you’re working on – in this case, it’s the first, so ‘root (hd0,0)’

4.  Reinstall with ‘setup (hd0)’

Ta-da.  Sample below:

grub> root (hd0,0)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
Checking if “/boot/grub/stage1” exists… no
Checking if “/grub/stage1” exists… yes
Checking if “/grub/stage2” exists… yes
Checking if “/grub/e2fs_stage1_5” exists… yes
Running “embed /grub/e2fs_stage1_5 (hd0)”…  27 sectors are embedded.
succeeded
Running “install /grub/stage1 (hd0) (hd0)1+27 p (hd0,0)/grub/stage2 /grub/grub.conf”… succeeded
Done.
grub> quit

Leave a reply