Quote:
Originally Posted by michaelk
Try this first, make sure that /dev/sda7 is unmounted then create an uncompressed image with dd. You can mount the image file just like a real partition to see if it was created successfully.
Unmount the image file then dd it back to /dev/sda7.
|
I have a question about this. In an earlier reply Computersavvy states that "Lastly, you should NEVER use dd to copy from an active (mounted) partition, and
NEVER use dd to write to an active (mounted) partition. Doing so is certain to cause file system corruption either in the image or in the destination or both."
I understand unmounting the source, in this case /dev/sda7. But how do I create an image file on a target drive that is not mounted? You say:
Using the following command I create an uncompressed image:
dd if=/dev/sda7 of=sda7.img
I'm assuming that you execute this command from /home/userid, which has to be mounted.
I feel like this is a stupid question. Sorry if it is.