Restoring Data from a DD image

Joe S js.lists at gmail.com
Thu Oct 6 12:46:47 PDT 2005


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at 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



More information about the freebsd-questions mailing list