Thank you Jared for distilling my novel don to this simple answer. And yes a, super careful is the watch phrase!

On 6/5/19 1:12 PM, ABQLUG wrote:
Hi a,

/dev/sdX is more or less the whole drive, including all partitions. /dev/sdX# is the individual partition to that drive.

To see the list of all drives and partitions, you can run this command:
lsblk
Typically you will want to dd the whole drive, so your if= should probably be /dev/sda and the of= should probably also be /dev/sdb. Though this doesn't apply to *all* circumstances, but I believe would make the most sense for what you're trying to do.

Though you will want to be super careful with what the dd command. If you move around sata cables, the /dev/xxx can change. I always check lsblk to make sure I have the right drives *BEFORE* I run the dd command.

Regards,

Jared


On 6/5/19 10:54 AM, a wrote:

Brian

Am ready to run the program. Question gparted choice  /dev/sda or /dev/sdd (right top menu)

When I open /dev/sda it indicates /dev/sda1 which of these do I use in te dd command?

Thanks a

On 6/4/19 7:30 PM, a wrote:
dd if=/dev/sda of=/dev/sdb bs=1M conv=notrunc,noerror

_______________________________________________
nmglug mailing list
nmglug@lists.nmglug.org
http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org


_______________________________________________
nmglug mailing list
nmglug@lists.nmglug.org
http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
--