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 1FHlja-00028p-Bh for garchives@archives.gentoo.org; Fri, 10 Mar 2006 17:49:02 +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 k2AHltnw019793; Fri, 10 Mar 2006 17:47:55 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2AHhpX1007223 for ; Fri, 10 Mar 2006 17:43:52 GMT Received: by wproxy.gmail.com with SMTP id i20so771340wra for ; Fri, 10 Mar 2006 09:43:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d7bmFw3tbiAKK+SW8sWQJBp8jc/GmSAPCCIFhl3r700DplPJQ2Oild4rRvD5oNOswr/DU5m4Nz4sgIG6+iS/7KPhNPLKNzEMi/q0mi6AeSCKzzWWjUdmkX/oHQmqpAIGhZMJVkgvSZgEwjOpqU9MGVkymTgo0NWqr4qQyWsoR9I= Received: by 10.35.78.13 with SMTP id f13mr469278pyl; Fri, 10 Mar 2006 09:43:51 -0800 (PST) Received: by 10.35.31.3 with HTTP; Fri, 10 Mar 2006 09:43:50 -0800 (PST) Message-ID: <5bdc1c8b0603100943r6639e727nbf68b0e1760bc140@mail.gmail.com> Date: Fri, 10 Mar 2006 09:43:51 -0800 From: "Mark Knecht" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] moving /usr In-Reply-To: <20060310154329.1964.qmail@web25503.mail.ukl.yahoo.com> 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 Content-Disposition: inline References: <20060310154329.1964.qmail@web25503.mail.ukl.yahoo.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2AHhpX1007223 X-Archives-Salt: 55ed125c-94ab-448c-b7c4-0df893fd4d08 X-Archives-Hash: 1d566ec9d82d6d684e37bd8486cfb0ab On 3/10/06, Sergio Polini wrote: > 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 Well...I did my best, but it wasn't good enough. The machine no longer boots to any level that a user could use. I'm told there are lots of messages on the screen about being unable to find files. (/usr/bin, /usr/sbin sort of things...) To bad for me...I guess I know what I'll be doing this weekend. I'm hoping they can find their Gentoo install disk, boot the machine and get it on the network with sshd running. That will give me a fighting chance of getting the darn thing fixed. Thanks to all for the help. I'm sure it was something stupid on my part and not anyone's instructions. Cheers, Mark -- gentoo-user@gentoo.org mailing list