From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FHjtb-0005gX-7Q for garchives@archives.gentoo.org; Fri, 10 Mar 2006 15:51:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2AFnRFW017257; Fri, 10 Mar 2006 15:49:27 GMT Received: from web25503.mail.ukl.yahoo.com (web25503.mail.ukl.yahoo.com [217.12.10.149]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2AFhZxn008070 for ; Fri, 10 Mar 2006 15:43:35 GMT Received: (qmail 1966 invoked by uid 60001); 10 Mar 2006 15:43:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=In7l9rc1UuWkf/gq79G2b/mbpKk4/7DVH2oOzgLGsnDS/xHV6gV79O0MN7shr9vLgPNTQk2alxC6ZpyqQsDBblNn+oQ8g4RiGhf2D3VDvkvLhEncV8WfoGp3kwodAB/T5l322d0XvAVFWJy/ZafngfhLiZbXfYfJw9aesbWPMO8= ; Message-ID: <20060310154329.1964.qmail@web25503.mail.ukl.yahoo.com> Received: from [80.84.96.151] by web25503.mail.ukl.yahoo.com via HTTP; Fri, 10 Mar 2006 16:43:29 CET Date: Fri, 10 Mar 2006 16:43:29 +0100 (CET) From: Sergio Polini Subject: Re: [gentoo-user] moving /usr To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Archives-Salt: 43dfa12e-4b40-4292-891b-8cd55aff8d4d X-Archives-Hash: 3d148747c596d236d00def6958a60729 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