[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading Hard Drives



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin McCormick wrote:
> 	I've got a working Debian system that I am about to
> break. I am replacing the master drive with a new one that is 32
> times the size of the old one and want to transfer the system
> intact from the old one to the new one so dd is not an option
> but I want to be sure to preserve all the special files and the
> boot sector for the new disk.

It may be overkill, but you could look at the partimage package. Not
only can it copy a filesystem, but it can expand it too. You could also
use dd and copy each partition separately instead of the entire drive.
The tricky part would be the boot sector, but that can be easily rebuilt
by booting off a rescue cd, chrooting to the now-moved system and
re-running grub-install. Make sure you mount all of the filesystems like
/boot, /proc, etc.

Regards,
Tod Detre

- --
Pantek, Inc. - http://www.pantek.com/ - info@pantek.com
+1-877-LINUX-FIX - Expert Open Source Technical Support
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkil0QQACgkQBp/fZcDt4JvK4ACgulr0ZCPwQQnVi+jwxKxVVPVM
vxQAoJLqKGpGaRb1F7a70jmFkNMPKOrE
=QkGb
-----END PGP SIGNATURE-----


Reply to: