From 849bfe07e3cbf49838d38cb60b39af86035c0cb0 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 3 Aug 2013 20:14:29 +0000 Subject: [PATCH] Fix the bootable CD: o We need wait a bit before attempting the root mount. The CD drives on HP machines (typical) go through the management controller so that it can be virtualized. In practice what this means is that it is slow to detect and attach. o Tell the kernel what to use as the root file system. The /etc/fstab trick doesn't work, because we're on the EFI-compatble file system. --- release/ia64/mkisoimages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/ia64/mkisoimages.sh b/release/ia64/mkisoimages.sh index b5cec3271940..20b015392351 100644 --- a/release/ia64/mkisoimages.sh +++ b/release/ia64/mkisoimages.sh @@ -68,6 +68,8 @@ if [ $bootable = yes ]; then cp $BASE/boot/check-password.4th $MNT/boot cp $BASE/boot/screen.4th $MNT/boot mv $MNT/boot/loader.efi $MNT/efi/boot/bootia64.efi + echo kern.cam.boot_delay=\"3000\" >> $MNT/boot/loader.conf + echo vfs.root.mountfrom=\"cd9660:iso9660/$LABEL\" >> $MNT/boot/loader.conf umount $MNT mdconfig -d -u $md BOOTOPTS="-o bootimage=i386;$EFIPART -o no-emul-boot"