What option argument did you specify for the -V (volume ID) option when
you created the ISO with the `mkisofs` command? I believe that the root
filesystem lies under /dev/iso9660/<volumeID> for which the ISO loader's
default configuration specifies as /dev/iso9660/FREEBSD_INSTALL. Thus
you'll need to change the vfs.root.mountfrom loader variable to be
cd9660:/dev/iso9660/<volumeID>
Ryan
On 09/05/2012 09:26 AM, Martin McCormick wrote:
The ISO image is the FreeBSD9.0 bootonly CDROM for amd64
systems. I added loader.conf to /boot in order to activate a
serial console and this along with socat appears to be working
as it should. This is great because remote desktop is not an
option.
The VM boot starts normally with the spinning bars and
normal startup messages until:
cd0: cd present [85585 x 2048 byte records]
Timecounter "TSC" frequency 3368628976 Hz quality 800
Trying to mount root from cd9660:/dev/iso9660/FREEBSD_INSTALL [ro]...
mountroot: waiting for device /dev/iso9660/FREEBSD_INSTALL ...
Mounting from cd9660:/dev/iso9660/FREEBSD_INSTALL failed with error 19.
Loader variables:
vfs.root.mountfrom=cd9660:/dev/iso9660/FREEBSD_INSTALL
vfs.root.mountfrom.options=ro
Manual root filesystem specification:
<fstype>:<device> [options]
Mount<device> using filesystem<fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:tank
cd9660:/dev/acd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot>
I enter a Question Mark.
mountroot> ?
List of GEOM managed disk devices:
iso9660/CDROM cd0 ada0
mountroot>
The host system is a fairly new 64-bit Macintosh which
is using VirtualBox. Here is the script to define the new
machine.
VBoxManage createvm --name "vsys" --ostype FreeBSD_64 --register
VBoxManage modifyvm "vsys" --memory 1000 --vram 128 --acpi on \
--boot2 dvd --boot1 disk --nic1 nat
#setup ttyu0 so the VM can communicate.
VBoxManage modifyvm "vsys" --uart1 0x3F8 4
VBoxManage -q modifyvm "vsys" --uartmode1 server '/tmp/vmx'
VBoxManage createhd --filename "FreeBSD.VMDK" --size 10000
VBoxManage storagectl x --name "SATA Controller" --add sata --controller \
IntelAHCI --hostiocache on
VBoxManage storageattach x --storagectl "SATA Controller" \
--port 0 --device 0 --type hdd --medium "FreeBSD.VMDK"
VBoxManage storagectl "vsys" --name "IDE Controller" \
--add ide --controller PIIX4
VBoxManage storageattach "vsys" --storagectl "IDE Controller" \
--port 0 --device 0 --type dvddrive --medium /users/sysbuild/headless.iso
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"