Quantcast
Channel: How can I use DD to migrate data from an old drive to a new drive? - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 8 View Live

Answer by psusi for How can I use DD to migrate data from an old drive to a...

While you can use dd to copy a disk like that, doing so has a number of drawbacks: The destination must be exactly the same size or larger than the source After copying, you will need to resize the...

View Article



Answer by Jorge Nerín for How can I use DD to migrate data from an old drive...

Well, I have done migrations similar to this by booting with both disks attached and a Live cd. You recreate the partition info of the first disk in the second one, possibly making some partitions...

View Article

Answer by zvolkov for How can I use DD to migrate data from an old drive to a...

You asked how to do it with dd, but I had better success piping the output of dump into restore. Given the source ad1s1a and the target ad2s1a: $ mount /dev/ad2s1a /target $ cd /target $ dump -0Lauf -...

View Article

Answer by Stephen Jazdzewski for How can I use DD to migrate data from an old...

Your first task would be to connect both disks to an existing Linux system or connect the new disk to the original system. You must be very careful since it is very simple to copy the blank disk on top...

View Article

Answer by fwaechter for How can I use DD to migrate data from an old drive to...

One simple example is this: dd if=/dev/sda of=/dev/sdb But if you have some special needs, you really should read the manpage (man dd) or search on Google. Another idea could be the use of rsync (don't...

View Article


Answer by Matt Simmons for How can I use DD to migrate data from an old drive...

Normally I would suggest a solution such as "hook up the 2nd hard drive using an external enclosure, boot from a linux CD, then use a command such as dd if=/dev/sda of=/dev/sdb bs=1G, but since you...

View Article

Answer by Berne for How can I use DD to migrate data from an old drive to a...

To simply copy the partition, you can use dd if=/dev/srcDrive of=/dev/dstDrive or something like this. I would recomend you to read its man page. Sorry I can't give much more info, since I'm at work...

View Article

How can I use DD to migrate data from an old drive to a new drive?

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images