Re: x-fer /home to new drive?!
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 5 May 1998, Ian Keith Setford wrote:
> I have had my sytem running on a WD 2.1G for over a year but I just bought
> a Mylex SCSI card and a WD Enterprise drive. I have everything working
> fine but now I want to mount /home on its own partition on the new faster
> drive. What is the best way to accomplish this? Is it even advisable?
Sure, this is easy. Create the partition on the new drive where you want
/home to live and create the ext2 filesystem on that partition. Then
mount this partition on /mnt or something and copy you entire /home
directory to the new filesystem (cp -r /home/* /mnt). Then modify your
/etc/fstab to mount the new partition on /home (see the man pages for
fstab). That way, the new partition will always be mounted to /home at
boot time. You can mount it there right now without rebooting, simply by
umounting /mnt and remounting that partition with /home as the mount point
instead. If you run the mount command with no arguments, it will show you
a list of mounted partitions. If your new partition shows up in that
list, then you're all set. You can then delete you old /home directory
(umount the new disk from /home first!!!).
PGP public key available at
or by 'finger -l email@example.com'
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com