Solved: Can I use dd to copy a drive to a bigger drive?

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Solved: Can I use dd to copy a drive to a bigger drive?

Post by mister_v »

Hi,

Can I use dd,
to copy a drive to a bigger drive?
And most importantly will it still run?


Thanks
Last edited by mister_v on Mon May 21, 2012 3:10 pm, edited 1 time in total.
Chris
Site Admin
Posts: 129
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: Can I use dd to copy a drive to a bigger drive?

Post by Chris »

The short answer is: Yes.

But, the size of you partitions won't change.
You copy a everything from a 40GB drive to a 60GB drive.

There will be a partition of 40GB and 20GB of free unused space.

Code: Select all

sudo dd if=/dev/sdb of=/dev/sdc
You'll probably want to change the partition size with Parted Magic, or some other partition manager.

It might be easier to first create a new bigger partition and then copy everything.
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: Can I use dd to copy a drive to a bigger drive?

Post by mister_v »

Ok thanks.
Post Reply