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!!!).
Noah
PGP public key available at
http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
or by 'finger -l frodo@ccs.neu.edu'
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNU8hwIdCcpBjGWoFAQHyewP+J5idxnHKPZUb75TaofVs3eadc78vE9zH
3+B+mTgFHSO0pOi542jM9WvmchzeQAzRxjkz/clutFNa3WlEM51pStF5kqvnIv+g
R6AF4ye+ilk0t7X9nUrABLHo8AwjPAXGobtv6zWfG1L5LOBzNBhH/8o2+fgwYkjZ
5uJO2pTHt4s=
=Our9
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: