From owner-freebsd-questions@FreeBSD.ORG Tue Oct 13 00:45:09 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 3B1B41065670 for ; Tue, 13 Oct 2009 00:45:09 +0000 (UTC) (envelope-from alex.jurkiewicz@gmail.com) Received: from mail-qy0-f196.google.com (mail-qy0-f196.google.com [209.85.221.196]) by mx1.freebsd.org (Postfix) with ESMTP id E60648FC15 for ; Tue, 13 Oct 2009 00:45:08 +0000 (UTC) Received: by qyk34 with SMTP id 34so7713669qyk.14 for ; Mon, 12 Oct 2009 17:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=s+8rLM/OhpIJGrdEcAYQzcc9ZVhk/FQIcuqwGGzdFOQ=; b=v1H+b6dKQI1GpA/Kl318zuU8NxVh6UAoDr8e1pygAnfz5pA+t708V9zhx70l1NtwM4 3ImGZZlZ3hL/lDw2nkyRPBTf4bKjllqujeKPJFjeohS1dBVZk2UU5mZAEXJs3m2G8SBZ YCnFL+Wa0QfcebvSQismgknAwbv79YyDz3hhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=iXeVW3UyvxnPWIeBCWqqMxU8ETJXx6wSA3W1Np09/vQI9jR+1sczEZMe+x1jWU0zaC 96e1dbg4uF9X57J/c5ZPZnl+jaf7j12OFP75pHOlKG+56BNvXTMmoEtsqHIkeakHrkOy +f1O+Seqqe1wgvtnmzrdXH+rJHViUSi/Zftys= MIME-Version: 1.0 Sender: alex.jurkiewicz@gmail.com Received: by 10.224.116.133 with SMTP id m5mr5229882qaq.214.1255394708172; Mon, 12 Oct 2009 17:45:08 -0700 (PDT) In-Reply-To: References: <98ac902a0910120214m29d299b5o6aa58fdba45c9f95@mail.gmail.com> Date: Tue, 13 Oct 2009 08:45:08 +0800 X-Google-Sender-Auth: b9e04bf43a0eab06 Message-ID: <98ac902a0910121745h204124ear51139091572676f3@mail.gmail.com> From: Alex Jurkiewicz To: Tim Judd , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: 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 00:45:09 -0000 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