Hi list,
I'm working on a project called veewee that tries to automate the installation of many operating systems for Virtualbox. Instead of the traditional PXE boot setups, I go for simulating typing and getting files over http.
For FreeBSD installation, I boot a mfsBSD ISO, ssh into the machine and run a script to configure the virtual machine.
I got partitioning, sysinstall and so on working. But when I reboot it complains about a bad partition. It turns out that my SATA disks are seen as ad4 instead of the traditional ad0. When I change the boot prompt, I can happily boot the machine.
It would be nice if someone can have a look at my sequence of commands and tell me the part I'm missing to make ad4 the default for finding the kernel and stuff to boot.
The install script can be found at my github account:
https://github.com/jedi4ever/veewee/blob/master/templates/freebsd-8.2-experimental/postinstall.sh
I'm working on a project called veewee that tries to automate the installation of many operating systems for Virtualbox. Instead of the traditional PXE boot setups, I go for simulating typing and getting files over http.
For FreeBSD installation, I boot a mfsBSD ISO, ssh into the machine and run a script to configure the virtual machine.
I got partitioning, sysinstall and so on working. But when I reboot it complains about a bad partition. It turns out that my SATA disks are seen as ad4 instead of the traditional ad0. When I change the boot prompt, I can happily boot the machine.
It would be nice if someone can have a look at my sequence of commands and tell me the part I'm missing to make ad4 the default for finding the kernel and stuff to boot.
The install script can be found at my github account:
https://github.com/jedi4ever/veewee/blob/master/templates/freebsd-8.2-experimental/postinstall.sh