[solved]Arch Installation With BIOS (Fake)RAID

Hello all,

I have been trying to install Arch onto a RAID 0 array (consisting of 2 Adata SP900 SSDs) created with my motherboard's (ASUS Sabertooth 990FX R2.0) raid controller (it looks like it's a Promise FastTrak controller).

dmraid sees the RAID 0 array just fine and installs the system to it with no apparent problems, however when I try to install GRUB, I get the following error:

Cannot find GRUB drive for /dev/mapper/pdc_faahdijep3.  Check your device.map file.

I looked for the device.map file and it didn't exist and when I tried to create one manually it appears to get deleted when I try to install with it.

Has anyone run into this issue and solved it?

Thank You.

I just do not like Grub - especially on Arch. I have recommended before, and will recommend now, that you use Gummiboot for UEFI hardware. It is super easy to configure, and lightweight.

However, could you provide a bit more information? Are you installing Grub 2, or 1? If so, how did you install it? How did you configure it?

Hey brennan, would you happen to know of a good guide for installing Arch without UEFI? I have UEFI hardware but it will not work.

I'm trying to install Grub 2.  I tried the basic install first (following the Beginner's Guide):

# pacman -S grub

# grub-install --target=i386-pc /dev/mapper/pdc_faahdije

This is where I get the error.

Right now my motherboard (ASUS Sabertooth 990FX R2.0) is in Legacy BIOS mode, but it looks like dual booting with UEFI is much easier so I'll try to convert my MBR disk to GPT and get it set up to use UEFI and then try the Arch install with Gummiboot if all goes well.

Thanks for the tip!

 

Well, I've switched my system to booting in UEFI mode and changed my MBR main drive to GPT.  Gummiboot seems to be installed and working properly (I had to manually copy the gummibootx64.efi file to /boot/gummiboot and /boot/Boot/bootx64.efi and create the entry in the boot manager).  It boots Windows just fine, but when I try to boot my Arch system I get the following errors:

:: running early hook [udev]


:: running hook [udev]


:: Triggering uevents...


:: running hook [dmraid]


:: Activating dmraid arrays...


RAID set "pdc_faahdije" was activated


Waiting 10 seconds for device /dev/disk/by-partuuid/6670aca1-be2d-4d1e-9ac8-25f61fdef066 ...


ERROR: device 'PARTUUID=6670aca1-be2d-4d1e-9ac8-25f61fdef066' not found. Skipping fsck.


ERROR: Unable to find root device 'PARTUUID=6670aca1-be2d-4d1e-9ac8-25f61fdef066'.


You are being dropped to a recovery shell


    Type 'exit' to tr and continue booting


sh: can't access tty: job control turned off


[rootfs /]#

 

I think it is because I need to run partprobe to make the kernel see my partitions (they do not appear when I activate the RAID set).  I tried to make them visible at boot by adding partprobe to the dmraid hook:

#!/usr/bin/ash


run_hook() {


    modprobe -a -q dm-mod dm-mirror >/dev/null 2>&1  

    msg ":: Activating dmraid arrays..."


    # prevent any event monitoring calls with -I


    if [ "$quiet" = "y" ]; then


        dmraid -ay -I -Z >/dev/null


    else


        dmraid -ay -I -Z


    fi


partprobe /dev/mapper/pdc_faahdije


}

 


# vim: set ft=sh ts=4 sw=4 et:

 

And the dmraid install:

 

#!/bin/bash

build() {


    add_module 'dm-mod'


    add_module 'dm-mirror'



    add_binary 'dmraid'


    add_binary 'dmsetup'


    add_binary 'partprobe'


    add_file "/usr/lib/device-mapper/libdmraid-events-isw.so"


    add_file "/usr/lib/udev/rules.d/10-dm.rules"


    add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"


    add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"


    add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"


    add_runscript


}



help() {


    cat <<HELPEOF


This hook loads the necessary modules for a dmraid root device.


HELPEOF


}

 


# vim: set ft=sh ts=4 sw=4 et:

 

 

These steps have not worked.  Anyone know a better way to get partprobe to run at boot so the partitions can be visible?

Thanks.

Fixed, I used the actual names of the partitions instead of their UUIDs in the Gummiboot configuration.