You are not logged in.

#1 2010-11-13 21:52:10

Irozga
Member
Registered: 2008-07-06
Posts: 4

[SOLVED] Grub problem using fakeraid

Hi,

I've been trying to install arch on Raid0 following https://wiki.archlinux.org/index.php/In … _Fake-RAID.

I load dm_mod and install arch using this partition table

pdc_jhaaaaghi1 (Boot) Primary NTFS (Windows)
pdc_jhaaaaghi2           Primary NTFS (Windows)
pdc_jhaaaaghi3           Primary ext2   (/boot)
pdc_jhaaaaghi5           Logical  ext4   (/)
pdc_jhaaaaghi6           Logical  ext4   (/home)
pdc_jhaaaaghi7           Logical  swap

I install dmraid package and on configuration I add dm_mod to MODULES line and dmraid to HOOKS line in mkinitcpio.conf

I start configuring grub (I add (hd0,2) to root lines) and when it fails switch to another tty and run

# mount -o bind /dev /mnt/dev
# mount -t proc none /mnt/proc
# mount -t sysfs none /mnt/sys
# chroot /mnt /bin/bash

# dmsetup mknodes
# ln -s /dev/mapper/pdc_jhaaaaghip1 /dev/mapper/pdc_jhaaaaaghi1
# grub --device-map=/dev/null

grub> device (hd0) /dev/mapper/pdc_jhaaaaghi
grub> geometry (hd0) 121576 255 63
grub> root (hd0,2)
grub> setup (hd0)
grub> quit

On setup it says it's done but when I reboot I get this message instead of grub

Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key

Thanks

Last edited by Irozga (2010-11-16 20:12:09)

Offline

#2 2010-11-15 22:46:07

Irozga
Member
Registered: 2008-07-06
Posts: 4

Re: [SOLVED] Grub problem using fakeraid

I've read at Gentoo's wiki that boot partition has to be the first one because grub knows nothing about the raid so tomorrow I'll try this and post here results

Last edited by Irozga (2010-11-15 23:01:24)

Offline

#3 2010-11-16 20:11:42

Irozga
Member
Registered: 2008-07-06
Posts: 4

Re: [SOLVED] Grub problem using fakeraid

Ok, it's solved now.

It wasn't the Gentoo's wiki thing. It was because of bios configuration and not Arch installation. I didn't look at this because windows was booting correctly before installation. But using the boot menu and selection my raid array it showed grub so I looked the boot device priority in bios and put my array first (it was second after usb devices).

Offline

Board footer

Powered by FluxBB