From owner-freebsd-questions@FreeBSD.ORG Wed Sep 5 14:26:08 2012 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5CDE1065675 for ; Wed, 5 Sep 2012 14:26:08 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id B3FD28FC08 for ; Wed, 5 Sep 2012 14:26:08 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost [127.0.0.1]) by x.it.okstate.edu (8.14.4/8.14.4) with ESMTP id q85EQ2pl050337 for ; Wed, 5 Sep 2012 09:26:02 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201209051426.q85EQ2pl050337@x.it.okstate.edu> To: FreeBSD-Questions@freebsd.org Date: Wed, 05 Sep 2012 09:26:02 -0500 From: Martin McCormick Cc: Subject: Virtual FreeBSD9.0 ISO Image Won't Mount Root FS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 14:26:09 -0000 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: : [options] Mount using filesystem 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) 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