You are not logged in.

#1 2009-10-12 14:16:04

fettouhi
Member
Registered: 2007-05-07
Posts: 745

grub won't install on raid0 with ext4

I'm reinstalling my machine and via fake-RAID (RAID0) using the latest CD (64bit). The installation goes fine until I need to install grub. I'm following the fake-RAID guide. I have partioned my machine the following way

p1: / (ext4)
p2: swap
p3: /home (ext4)

I'm installing GRUB the following way

# dmsetup mknodes
# grub --device-map=/dev/null
grub> device (hd0) /dev/mapper/raid_set
grub> geometry (hd0) C H S

grub> root (hd0,0)
grub> setup (hd0)

at the last step above grub fails and says partition not found. I have not made separate /boot partition because last time wasn't necessary. Any ideas?

Offline

#2 2009-10-17 22:57:26

thetrivialstuff
Member
Registered: 2006-05-10
Posts: 191

Re: grub won't install on raid0 with ext4

From the fake-raid guide:
"Exchange C H S below with the proper numbers and be aware that they are not entered in the same order as they are read from cfdisk."

Are you putting numbers in for CHS? Maybe double-check the geometry with your drive / what the RAID bios is reporting.

Offline

Board footer

Powered by FluxBB