RE: Backup From One Drive - Restore To Another
The easiest way is to do this:
1] Boot Knoppix.
2] Hook the second drive to another IDE channel.
3] Mount the drives.
4] cd /mnt/disk2; tar cf - /mnt/disk1 | tar xf -
5] May need to mv disk1/* . ; rmdir disk1
6] cd / ; chroot /mnt/disk2 /mnt/disk2/bin/bash
7] (if using grub, re-install grub).
8] Disconnect drives, etc, change channels.
9] Put replacement HDD to primary channel, boot knoppix, set paths
correctly, run (if using it) lilo (as /dev/hda) and then you can reboot
= fixed.
-----Original Message-----
From: Scarletdown [mailto:gsutton9503@wavecable.com]
Sent: Thursday, April 28, 2005 12:15 AM
To: debian-user
Subject: Backup From One Drive - Restore To Another
I'm in the process of building my first "greenbox" system (my name for
systems built from spare parts) with the intention of eventually
reselling it. However, the primary hard drive is starting to develop
errors (I'm doing an fsck on it at this time). After the fsck is
done, I plan on eventually swapping out that drive for a different
one. But, I really don't want to have to go through the Debian
install process again. That being the case, what I am hoping to do is
transfer the entire contents of the drive to an ISO image on another
system, burn that image to a bootable CD, and then restore from that
CD onto the new drive.
What would be the best and simplest way to go about this?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: