Date: Tue, 13 Oct 2009 12:42:19 -0600 From: Tim Judd <tajudd@gmail.com> To: Alex Jurkiewicz <alex@bluebottle.net.au> Cc: freebsd-questions@freebsd.org Subject: Re: restore(8)ing new / -- boots on metal but not in a VM Message-ID: <ade45ae90910131142j12a6b257i7216f007b38adfb4@mail.gmail.com> In-Reply-To: <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com> References: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> <ade45ae90910121153u4dddaf25ofbee2a1ef984a4f3@mail.gmail.com> <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/12/09, Alex Jurkiewicz <alex@bluebottle.net.au> wrote: > 2009/10/13 Tim Judd <tajudd@gmail.com>: >> Is the virtual machine using SCSI emulation to boot, or is it using IDE? >> >> SCSI drives are da(4), IDE drives are ata(4) [aka ad(4)] >> > > The dump was taken from an ad0 device on physical hardware, and I'm > attempting to restore to the same, just on virtual hardware. > >> If the boot blocks (maybe boot0 specific) point to an ad/ata device, >> and the virtual machine is SCSI, it won't find the boot sectors. > > So, if I make a dumpfile of / on an ad(4) device, I can't restore it > to a da(4) device and expect it to boot? I guess at minimum I'll need > two copies of this image if I want to roll it out on machines with > both sorts of drive, right? > > Thanks, > AJ > That's part of my point, I don't run with boot0, so it may be one of it's features. My suggestion is to check the VM config and see if you can emulate an IDE ad(4) device instead of the possible SCSI da(4) device that vmware/virtualbox may setup. I'm almost positive (not 100% because I don't have either one of those installed at the moment) that both those products default to a SCSI device. Let us know.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ade45ae90910131142j12a6b257i7216f007b38adfb4>