From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 19:49:40 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E222216A41F for ; Thu, 6 Oct 2005 19:49:40 +0000 (GMT) (envelope-from js.lists@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3139C43D49 for ; Thu, 6 Oct 2005 19:49:40 +0000 (GMT) (envelope-from js.lists@gmail.com) Received: by xproxy.gmail.com with SMTP id t5so323321wxc for ; Thu, 06 Oct 2005 12:49:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=qkr2q/k+LHQuB0KHmUbF55uRfVkDG6/SWcNxFQNXn8MWpfI/jWQfeNSKNZamC3FghG0XP2TRbq9f+/zNfL00Ni8LfgdaJ9jnruDPYHxjpqRttH+DDSaOZTsn6IvUkQt/UcK6++z7+uTvd8YLCWdwVnUbfuMgE2HTafbe0fhPluM= Received: by 10.70.100.16 with SMTP id x16mr1601191wxb; Thu, 06 Oct 2005 12:49:39 -0700 (PDT) Received: from ?10.100.58.100? ( [204.176.49.25]) by mx.gmail.com with ESMTP id i33sm2683878wxd.2005.10.06.12.49.37; Thu, 06 Oct 2005 12:49:39 -0700 (PDT) Message-ID: <43457FCA.60603@gmail.com> Date: Thu, 06 Oct 2005 12:49:30 -0700 From: Joe S User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe S References: <434568BB.9090904@schmittnet.com> <43457F1D.8080807@gmail.com> In-Reply-To: <43457F1D.8080807@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, "Bill Schmitt \(SW\)" Subject: Re: Restoring Data from a DD image 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: Thu, 06 Oct 2005 19:49:41 -0000 Joe S wrote: > Bill Schmitt (SW) wrote: > >> I've just replaced a hard disk that was dying fast. I've done a full >> installation of 4.9 (later releases won't install, which I've >> submitted a problem report on already). The old disk is connected but >> not mounted. Searching around, I found some suggestions to try to read >> the old disk to restore what I can and I used dd to copy what could be >> found (dd -if=/dev/ad0s1e of=/usr/olddsk/oldimag.dmg >> conv=noerror,sync) and it seems to have copied the file. Now, I'm a >> little stuck. Can someone help me understand how do I mount that image >> somewhere to browse it and copy what I can from it? If I'm not going >> about this the right way, I'd appreciate other suggestions >> >> >> _______________________________________________ >> 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" >> > > man vnconfig > man mount > > This may work: > > # vnconfig /dev/vn0 /usr/olddsk/oldimag.dmg > # mount /dev/vn0 /some_mount_point_on_your_system > > You may need to use /dev/vn0c instead of /dev/vn0 in both commands. See the handbook for more info: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html Note: vnconfig is for 4.x, while mdconfig is for 5.x -joe