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.