Emergency! Accidental format of ext3
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Jan 25 15:23:32 UTC 2005
On Mon, Jan 24, 2005 at 05:25:57PM -0500, Madison Kelly wrote:
> Lennart Sorensen wrote:
> >You can also dd to a file to store on a larger drive somewhere just to
> >avoid messing with the original drive a much as possible.
> >
> >Lennart Sorensen
>
> Because I am in complete paranoia mode, can you (or someone) confirm for
> me that the command:
>
> # dd if=/dev/hda of=/path.to.file.img
>
> is proper? Once the dd image is write, what is the best way to mount the
> image as a loopback device?
That is a proper command yes.
mount -o loop /path.to.file.img /emptymountdir
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list