From owner-freebsd-questions@FreeBSD.ORG Wed Sep 5 16:38:41 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 6F381106566B for ; Wed, 5 Sep 2012 16:38:41 +0000 (UTC) (envelope-from ryanrfrederick@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 297FE8FC12 for ; Wed, 5 Sep 2012 16:38:40 +0000 (UTC) Received: by obbun3 with SMTP id un3so754121obb.13 for ; Wed, 05 Sep 2012 09:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=9IfMSRkK5VxRYEplzg7an/U9RzycXIcmUcY/QsF7ny4=; b=T666yXCQYN/idslfNicUjuNWh4aUwJ2PgKvJAALIwvZJmiErnopu0xPbuQd0TCjKj7 DIJ4Jy2YcMCt64YvmLmA8zcz2ZAtE5V+dXkNbOyFunA1JrjlD19R7OFMgQa4Mf6QdteJ Hy5TN9/JTZA6vkXG8tfYjpNmNGbQj/bKfyKyspwqi5RyNRFBt5fUFjGwWfy3vgZBVBU6 hXsqCB06er8CNxQhu2CYBWE0rMWEesgW+qpxxH3J5D0KrBH/+sU0o0VXezk71ogOPC9c FCtMvX0v6ee+HDaRD/qdbxIFalxi5use/cSTm4q7e7naqU7u33vndnpSvCNjbPj84PbI H5UA== Received: by 10.182.180.39 with SMTP id dl7mr14471854obc.40.1346863120321; Wed, 05 Sep 2012 09:38:40 -0700 (PDT) Received: from ?IPv6:2610:1d8:a03:1:d267:e5ff:fe44:3b30? ([2610:1d8:a03:1:d267:e5ff:fe44:3b30]) by mx.google.com with ESMTPS id kc5sm930988obb.21.2012.09.05.09.38.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Sep 2012 09:38:39 -0700 (PDT) Message-ID: <50478008.7010705@gmail.com> Date: Wed, 05 Sep 2012 11:38:32 -0500 From: Ryan Frederick User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201209051426.q85EQ2pl050337@x.it.okstate.edu> In-Reply-To: <201209051426.q85EQ2pl050337@x.it.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 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 16:38:41 -0000 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/ 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/ 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: > : [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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"