Disc to Disc copy

Asked by Greg Powell

My original disc that I setup on is too small!! How do I copy the entire disc to another (bigger one) including all the boot information?

I seem to remember that there is a simple command line instruction which allows this but I have forgotton in my dim and distant past!!

Many thanks
Greg

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for your question.

Maybe you find here http://www.thefreecountry.com/utilities/backupandimage.shtml some help how to achieve this. You must basically copy your partition from one disc to another and then resize it.

Another way would be to create a partition of the right size on the new drive and use a file copy method like rsync, however, you must make sure that you also copy all the symbolic links etc.

In any case you have to recreate the Master Boot Record via MBR (see https://help.ubuntu.com/community/GrubHowto)

Hope this helps.

Revision history for this message
Manoj (salianmanoj007) said :
#2

Try installing Brasero used for CD/DVD burning application for GNOME which has a features to disc copy 1:1
install it
using synaptic package manager

Revision history for this message
rnz0 (rsansil) said :
#3

You mean good old unix dd command:

dd if=/dev/sda of=/dev/sda

where sda and sda are source and target serial drives respectively.

Be careful though. Read the documentation. Partitions on the target drive must be larger or equal.

Revision history for this message
adendulk (adendulk) said :
#4

Can I use the unix dd command on an Ubuntu live CD to copy a HD in a PC to a USB HD?
I'm a novice to unix command lines (although I grew up with DOS 3.0)
best wishes

Arie den Dulk

Revision history for this message
A D Johnson (duwanjohnson) said :
#5

I've been looking for the same answer , here's what I found. Parted magic Grub 4 Dos3.0 -Live cd , The web site-----------------'http://www.justlinux.com/forum/showthread.php?threadid=149328' . This guy makes it easy. Just remember to watch how your drives are desinated , Such as dd if=/dev/hda of=/dev/sda bs=32256 The hda and the sda might be different on your system.My code had to be dd if=/dev/sda of=/dev/sdb bs=32256

Revision history for this message
A D Johnson (duwanjohnson) said :
#6

by the way, here's where I found the live cd http://partedmagic.com/wiki/PartedMagic.php?n=PartedMagic.Downloads ,good luck.

Revision history for this message
Andreas Troschka (signupbox) said :
#7

All that tools are nice and useful but take in mind that you then have to do two important things otherwise you will no more be able to boot.

1. You have to create the new MBR according to the new disk you are using
2. Grub or Lilo have to be consequently updated.

my 50¢

Can you help with this problem?

Provide an answer of your own, or ask Greg Powell for more information if necessary.

To post a message you must log in.