Javier Martín Rueda wrote:
I have set up a simple unattended installation system for FreeBSD, so
that I can manually configure a group of computers to boot with PXE,
and when they boot they will automatically install FreeBSD.
The final step would be to configure the BIOS to boot from the first
hard drive. So far I can do that manually by pressing "Del" when the
computer boots and entering the ROM BIOS setup program, but I would
like to know if it is possible somehow to change the boot device
priority in the BIOS from FreeBSD?
It's not possible to access the BIOS setting through FreeBSD. What I do
is to set the boot order in BIOS to:
1. hard drive
2. PXE
Before the unattended install, wipe out the MBR. If this is a blank hard
drive, then you're already OK. If the drive contains a previous FreeBSD
install, do:
# sysctl kern.geom.debugflags=16
# dd if=/dev/zero of=/dev/ad0 bs=512 count=1k
as root. This makes the BIOS skip the hard drive on the next boot and
continue to boot via PXE. Make sure your install puts an MBR on the
disk, so the BIOS picks the hard drive after rebooting.
Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"