SLUG Mailing List Archives
Re: [SLUG] Mepis - The good, The Bad and the...
- To: <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] Mepis - The good, The Bad and the...
- From: "Christopher Booth" <christopherbooth@xxxxxxxxxx>
- Date: Sat, 6 Nov 2004 23:25:38 +1100
I have a 10 gig Mandrake partition, used perhaps 4 gig of it.
I wanted to create a directory on it and call it say "mepis-usr"
then make it the /usr directory, or make a subdirectory call "usr" to be
/usr when I boot up Mepis.
Mandrake won't bother with it.
I don't want to create another partition really, or is this the only way to
do it ?
----- Original Message -----
Sent: Saturday, November 06, 2004 1:28 AM
Subject: Re: [SLUG] Mepis - The good, The Bad and the...
$quoted_author = "amos@xxxxxxxxxxxxxxxxxx" ;
mkfs the new partition
mount the new partition
take system down to single-user mode
"cp -a /usr /new/usr/partition"
umount the new filesystem
"mv /usr /oldusr"
mount new filesystem under /usr
take system back to multi-user mode
make sure everything is ok
(possibly - backup /oldusr)
rm -rf /oldusr to free this disk space
doing it that way can be painful if you need something in /usr/lib or
/usr/local/lib after you try to move /usr out of the way to create the
What would you possibly need from there while in single-user mode?
There are about 2-3 commands which are done without /usr here, and
/bin is supposed to provide everything you'll need before mounting /usr.
i'd be inclined to boot from a live cd (knoppix, ubuntu etc.etc.) and
operate on the disk using the tools you have on the cd.
That's a possibility too, but sounds like a hassle if you don't have
such a cd handy, and the way I offered is the the way such procedures
where done for eons before the live-cd era.
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 1/11/2004