public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergio Polini <sp_rm_it@yahoo.it>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] moving /usr
Date: Fri, 10 Mar 2006 16:43:29 +0100 (CET)	[thread overview]
Message-ID: <20060310154329.1964.qmail@web25503.mail.ukl.yahoo.com> (raw)

Mark Knecht:
> http://forums.gentoo.org/viewtopic.php?t=121164
> 
> I'll proceed in this manner unless I hear back that there is some
> problem with doing it this way.

There are several hints in that topic.
I did move my /usr to a new partition, so I'ld say:
1. create and format your new partition;
2. mount your new partition in /mnt/whatever;
3. copy the content of your /usr into this partition by:
cp -a /usr/* /mnt/whatever (the "-a" option is important; look at man
cp);
4. reboot frome a livecd;
5. mount your root filesystem and edit /etc/fstab:
/dev/hdXY /usr etc.
6. reboot from the hard disk to be sure that your new partition is well
mounted and works; run "mount" to check that /usr is on your new
partition; test this in other ways to be really sure ;-)
7. reboot again from a live cd;
8. mount your root filesystem in /mnt/something;
9. delete the old /usr directory to free the unused space:
cd /mnt/something/usr
rm -rf *
NB: do not delete /usr itself, just its contents, as /usr is the mount
point for the new partition;
10. cross your fingers and reboot from the hard disk ;-)

HTH
Sergio



	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it
-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2006-03-10 15:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-10 15:43 Sergio Polini [this message]
2006-03-10 17:43 ` [gentoo-user] moving /usr Mark Knecht
2006-03-10 17:56   ` Alexander Skwar
2006-03-10 18:05   ` Eric Bliss
2006-03-10 11:17     ` Josh Helmer
2006-03-10 18:39       ` Eric Bliss
2006-03-10 18:43         ` John Jolet
2006-03-10 18:49   ` Sergio Polini
2006-03-10 19:37     ` Mark Knecht
2006-03-11 18:36       ` Mark Knecht
  -- strict thread matches above, loose matches on Subject: below --
2006-03-10 14:53 Mark Knecht
2006-03-10 15:04 ` Ghaith Hachem
2006-03-10 16:16 ` Hemmann, Volker Armin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060310154329.1964.qmail@web25503.mail.ukl.yahoo.com \
    --to=sp_rm_it@yahoo.it \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox