cloning my debian install onto my new hard disk?
I would like to copy my entire install onto my new larger hard disk, then set it up to boot there. I have the old disk as master and the new as slave, and I've mounted the slave and used cp -a on the top level directories. The cp -a of 'initrd' directory complained a bit though, and I'm not sure what steps are best to take to make the new drive the one that gets booted from/mounted as root. Does anyone have software to recommend other than cp? What should I do after cp to make initrd setup work right? A report of a recend (good) experience with this task would be greatly appreciated. Thanks, Britton Kerin __ GNU GPL: The Source will be with you... always. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cloning my debian install onto my new hard disk?
There are a few important steps. I did this on my little server and it worked just the way it should. Read http://www.storm.ca/~yan/Hard-Disk-Upgrade.html and follow the instructions there. It's very straight-forward and not too difficult. Takes some time, though. If you need more info, just ask. Hope this helps! /johan Britton wrote: I would like to copy my entire install onto my new larger hard disk, then set it up to boot there. I have the old disk as master and the new as slave, and I've mounted the slave and used cp -a on the top level directories. The cp -a of 'initrd' directory complained a bit though, and I'm not sure what steps are best to take to make the new drive the one that gets booted from/mounted as root. Does anyone have software to recommend other than cp? What should I do after cp to make initrd setup work right? A report of a recend (good) experience with this task would be greatly appreciated. Thanks, Britton Kerin __ GNU GPL: The Source will be with you... always. -- Johan Ehnberg [EMAIL PROTECTED] Windows? No... I don't think so. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cloning my debian install onto my new hard disk?
Johan Ehnberg [EMAIL PROTECTED] writes: There are a few important steps. I did this on my little server and it worked just the way it should. Read http://www.storm.ca/~yan/Hard-Disk-Upgrade.html and follow the instructions there. It's very straight-forward and not too difficult. Takes some time, though. I used to use the cp -ax method with great success, but more recently the -x option doesn't work. The following is copied from my bug report #168685: cp -ax target dest does not restrict the copy to one files system. If target is /, cp copies /home, even if it is on a separate file system, and tries to copy /proc. Copying /proc fails, and stops the copy. cp -a -x gives the same result as cp -ax. This problem is not new with the current version. I have experienced it frequently in the past, but have been too lazy to file a report. Because of this issue, I had to use find / -xdev | cpio -vdump /mnt for my last system copy. Regards, Bob -- _ |_) _ |_Robert D. Hilliard[EMAIL PROTECTED] |_) (_) |_) 1294 S.W. Seagull Way [EMAIL PROTECTED] Palm City, FL 34990 USA GPG Key ID: 390D6559 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cloning my debian install onto my new hard disk?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 12 Jan 2003 8:20 pm, Bob Hilliard wrote: Johan Ehnberg [EMAIL PROTECTED] writes: I used to use the cp -ax method with great success, but more recently the -x option doesn't work. The following is copied from my bug report #168685: cp -ax target dest does not restrict the copy to one files system. If target is /, cp copies /home, even if it is on a separate file system, and tries to copy /proc. Copying /proc fails, and stops the copy. cp -a -x gives the same result as cp -ax. This problem is not new with the current version. I have experienced it frequently in the past, but have been too lazy to file a report. Because of this issue, I had to use find / -xdev | cpio -vdump /mnt for my last system copy. rsync -aHx seems to work fine for me. - -- Alan Chandler [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+IdZzuFHxcV2FFoIRAgpBAJ9TJVo7x77/y5uIMmZCA0XFlCR+aACfWfAQ DstiCN6Oh2qyf8mNPDyeuXU= =yB3c -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]