I need to copy a SATA partition to external usb partition , both partitions are same in size but total disk size are different , i want to copy only the data and not concerned about boot sector and so don't want copy the SATA partition info in to USB disk. So in dd command , is skipping 1 block ( skip=1) is enough?. Thanks
|
feedback
|
|
the mbr is the first 512 bytes of the device. checking 'man dd' you will find, that you can use 'skip=BLOCKS' to skip some bytes at the beginning of the input:
but in general i dont think thats a good idea, if you 'just want the data' ... because you copy only part of the filesystem etc. why dont you copy the data from filesystem to filesystem? | |||||||||
feedback
|
|
Yes. If you haven't played around with it, the default is 1 block (512 bytes). | |||
|
feedback
|
|
I may be being an idiot here, but can't one just use dd on the partition rather than the disk, so use And is it necessary to use | |||||||||
feedback
|