From owner-freebsd-questions@FreeBSD.ORG Tue Oct 13 18:42:24 2009 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 08629106566B for ; Tue, 13 Oct 2009 18:42:24 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-yx0-f184.google.com (mail-yx0-f184.google.com [209.85.210.184]) by mx1.freebsd.org (Postfix) with ESMTP id B62158FC16 for ; Tue, 13 Oct 2009 18:42:23 +0000 (UTC) Received: by yxe14 with SMTP id 14so21667850yxe.7 for ; Tue, 13 Oct 2009 11:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=MgXtSW5q5wlMVsRTO0QfO2Eq7Y9ZTcyB1O5Lefwd1ZQ=; b=Cl+aFZwBZ57Nm3I5JNIaqOKADHf4ywbXdxJGKsG9UnKzXQLINoUvWCdEJniOLSEeE+ kHByjiRkDyEz2yk/2jvsz/4giwA4Hp8po5B2paSQtcP8mR16J9m2VL4wcKnr35DOZiGO Kg1nov8VDNs1jumCiJTeGJeDpjHaPq6oAl1g0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EEnFLRio48LozyPnHvRQuKYNmzjhqKgzDklax2o/UEwGZvwcotQNHt8nGgAIdCn8y2 iB6MT2VbkmTM9E+yqkewYa8rKf7MJJn0bneCNXpdA8uZQS1R3kNfdfkz2wWIp5rSHR8D 2Ppf4KnlG7n6LH7Kxiw4AkqfntApaaVNm7Oj8= MIME-Version: 1.0 Received: by 10.101.176.38 with SMTP id d38mr6356127anp.12.1255459342805; Tue, 13 Oct 2009 11:42:22 -0700 (PDT) In-Reply-To: <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com> References: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com> Date: Tue, 13 Oct 2009 12:42:19 -0600 Message-ID: From: Tim Judd To: Alex Jurkiewicz Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: restore(8)ing new / -- boots on metal but not in a VM 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: Tue, 13 Oct 2009 18:42:24 -0000 On 10/12/09, Alex Jurkiewicz wrote: > 2009/10/13 Tim Judd : >> 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.