Mike Cramer on Mon, 17 Dec 2001 14:00:29 -0500 |
William Shank wrote: assuming you have the new drive installed, you'll need to partion it as desired, adn format the new partions (ie: ext2, ext3, reiserFS, etc.). After you have the new partitions formatted, you can mount them temporarily, under say /mnt/tmp (ie: mount -t ext2 /dev/hde2 /mnt/tmp - i think this is the right syntax - if not exactly, then very close). from there you can manually copy the data - but ik don't know what this will do to symbolic links. (as root) # cd /usr # tar cpf - . | ( cd /mnt/tmp; tar xpf - ) Should do the copy just fine, including symlinks. Then you should edit /etc/fstab so the filesystem you copied everything onto mounts at /usr on reboot. Then, make sure you rename your old /usr to something else (like /usr-old) *BEFORE* you do the reboot so you can actually get to it once the new filesystem is mounted. Having a good boot floppy would be a very smart idea before you attempt this. -- Mike Cramer http://www.webkist.com/
|
|