Hi I am installing a new hard disk and want to copy my SuSE linux partitions over to the new bigger hard disk. I am after the best way to do this, I think I should be doing the following: cp -a /home /mnt/home on all directories except /proc and /dev, for /dev I should be running the makedev script. Then using a rescue disk to set lilo up on the mbr. Does this seem okay, have I missed something out? Also, I do not know how to create the partitions on the new disk for a resier filesystem. Please can someone let me know the best way to do this, and how to create resier partitions by hand and anything else I need to know on this. Thanks Rich
* Richard Booth [Mon, 1 Oct 2001 09:15:21 +0100 ]:
up on the mbr. Does this seem okay, have I missed something out? Also, I do not know how to create the partitions on the new disk for a resier filesystem.
The necessary steps are: - Create partitions as needed on the new disk (don't forget the swap partition) using the tool of your choice (fdisk, cfdisk, sfdisk). - For normal reiser partitions, simply run 'mkreiserfs /your/partition. - Mount the new partitions. - Copy the old contents to the new partitions (cp -a). - Modify /etc/fstab to reflect the new configuration. - unmount the new partitions -reboot. All these steps should be done in single user mode (i.e. runlevel 1 or S). -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390
participants (2)
-
philippt@t-online.de
-
Richard Booth