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.
This commit is contained in:
parent
450f197050
commit
849bfe07e3
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user