Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Oct 2005 12:49:30 -0700
From:      Joe S <js.lists@gmail.com>
To:        Joe S <js.lists@gmail.com>
Cc:        questions@freebsd.org, "Bill Schmitt \(SW\)" <software@schmittnet.com>
Subject:   Re: Restoring Data from a DD image
Message-ID:  <43457FCA.60603@gmail.com>
In-Reply-To: <43457F1D.8080807@gmail.com>
References:  <434568BB.9090904@schmittnet.com> <43457F1D.8080807@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43457FCA.60603>