Virtual FreeBSD9.0 ISO Image Won't Mount Root FS

Martin McCormick martin at
Wed Sep 5 14:26:09 UTC 2012

	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

	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:

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        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


	I enter a Question Mark.

mountroot> ?

List of GEOM managed disk devices:
  iso9660/CDROM cd0 ada0


	The host system is a fairly new 64-bit Macintosh which
is using VirtualBox. Here is the script to define the new

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

More information about the freebsd-questions mailing list