[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sheflug] Re: Partitioning
>===== Original Message From "Sheflug" <sheflug [at] vuw.ac.nz> =====
>Thanks all,
>
>I'm beginning to get a much clearer picture now. Just one more question - if
>you add another drive and want to move ,say the /usr/local onto the new
>drive, how do you persuade linux not to continue looking for it on the
>original drive? Is it sufficient to simply copy any contents across to the
>new drive and delete the old /usr/local in some way - would you use
>something like disk druid for that?
Basic plan:
Connect up new drive, power up.
Partition + format the new drive (fdisk, mk2fs)
mount the new drive on /mnt/temp (for example), copy /usr/local to /mnt/temp
(check man cp - use the options to keep permissions+access times, and copy
recursively (-r)).
Check that the copy is OK, then delete everything below /usr/local, but keep
the /usr/local directory (as a mount point, just as you have /mnt/cdrom).
Umount /mnt/temp, and remount it on /usr/local.
Viola!
Baz.
----
Barrie J. Bremner
Email: TheEnglishman [at] ecosse.net
(PGP key available at my website)
URL: http://www.geocities.com/thefatenglishman
Telephone: UK 01672 811246
Mobile: UK 07968 792975
The answer to your question is....Welcome to Tomorrow!
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.