Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Copy a drive with Kubuntu on it

  Date: Dec 12    Category: Unix / Linux / Ubuntu    Views: 459
  

My system's set up just the way I like it, with Kubuntu 8.10. The problem is
the drive's failing. After several hours of use the system quits recognizing
it. I have a similar sized drive to replace it with. What's a good utility to
use to copy everything over to a new drive? In the Windows world I'd use a
utility like Symantec's Ghost.

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Dec 12    

There is a Ghost for Linux. It is not the same, but it does the same thing.
http://sourceforge.net/projects/g4l
linux.softpedia.com/.../Ghost-for-Linux-053.shtml

There are several system rescue live CDs as well that will do what you want. For
example, SystemRescueCd
http://www.sysresccd.org/

Clonezilla gets high marks from people who have used it. I haven't tried it,
though.

 
Answer #2    Answered On: Dec 12    

I used G4U before to backup from one disk to another.
This is a very nice program, but it has some inconvenients.
The main problem I had was that it does not handle well
the disk geometry differences. To make it simple
if your disk has not the exact same number of cylinders,
the same block size and the same number of block by cylinders :
You may have problem. The backup is not lost,
but your disk will be badly formatted.
You will lose the extra space if you have more blocks by cylinders
on the new disk. My new disk was seen has having 40GB like
the old one... but it really had 120GB. So I ended up connecting the
old disk with a cable adapter that does USB to IDE .
Reformatting the new disk, booting with a live distro (knoppix)
and copying everything on the new drive.


Don't forguet that Ubuntu use the UUID of the disk. You have to
change that in /etc/fstab if you want your new partitions to be
seen. The command to list the UUID of a disk is "blkid".

If you have space on the new disk. I would reserve a "backup"
partition and from a live CD, cd to the root of each of your
partition and take a backup with tar.

The command to do it would look like :

"tar -cvvjpf /media/backup/disk_num.tar.bz2 . "

(the dot after bz2 is important,
and you need to be cd in the root of your disk).

If something is wrong, then you can alway boot with the live cd
and bring back your data with :

"tar -xjpf /media/backup/disk_num.tar.bz2 -C /media/yourdisk"

I have no experience with clonezilla.

I hope this info will help.

 
Didn't find what you were looking for? Find more on Copy a drive with Kubuntu on it Or get search suggestion and latest updates.




Tagged: