[nmglug] HDD > SSD

ABQLUG community at abqlug.com
Wed Jun 5 12:12:21 PDT 2019


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 at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20190605/ce2a3778/attachment.html>


More information about the nmglug mailing list