How to back up a / partition with DD?
Hey folks: looks like I got to reinstall linux, so I thought I'd take the time to work out how to back it up.
My system specs are:
Drive #1 80g Windows XP
Drive #2 200g HD
Partition #1 Grub, ubuntu 9.10 my / in ResiserFS
Partition #2 /Home ReiserFS
Partition #3 /Storage ResiderFS
Drive #3: 320g harddrive
1 partition, /Archive ResiderFS
What I'd want to do, is
a) image the / partition to any other partition for safe keeping,
b) boot with SystemresscueCD
c) Us a command to restore the image to / partition, make it bootable, then also restore grub.
Does DD do this? If so what is the command(s) to back and restore so I could do this exact thing I outlined above? the other partitions arn't a problem, since I back them up to an external HD.
My system specs are:
Drive #1 80g Windows XP
Drive #2 200g HD
Partition #1 Grub, ubuntu 9.10 my / in ResiserFS
Partition #2 /Home ReiserFS
Partition #3 /Storage ResiderFS
Drive #3: 320g harddrive
1 partition, /Archive ResiderFS
What I'd want to do, is
a) image the / partition to any other partition for safe keeping,
b) boot with SystemresscueCD
c) Us a command to restore the image to / partition, make it bootable, then also restore grub.
Does DD do this? If so what is the command(s) to back and restore so I could do this exact thing I outlined above? the other partitions arn't a problem, since I back them up to an external HD.
