On Sat, 2005-02-05 at 15:01, Nick Rout wrote:
> On Sat, 2005-02-05 at 08:38 -0700, Kumar Golap wrote:
> > Hi All,
> > 
> > I am thinking of migrating my system disk (/usr   etc..) to a bigger one
> > 
> > Any ways of how to do that withuot doing a fresh install...
> > 
> > May be its similar to how people may want to clone a system
> > 
> > And more important is that my portage state needs to be remembered so
> > that i can update later without a hitch.
> > 
> > Thanks
> > 
> > Kumar
> > 
> 
> if you can fit the old disk and the new disk in the same machine its a
> doddle.
> 
> back up!
> 
> partition the new disk
> 
> make a file system on the new disk
> 
> mount the new disk as (say) /newusr
> 
> copy the contents of /usr to /newusr, makng sure to preserve ownership
> and permissions and symlinks
> 
> rename /usr to /oldusr
> 
> unmount /newusr and mount it as /usr
> 
> edit fstab to add the new mount for /usr
> 
> reboot to chack it all works as expected
> 
> once you are 100% happy, delete /oldusr to free up some space.

A couple of good tutors:
http://www.linuxdevcenter.com/pub/a/linux/lpt/18_15.html
http://www.linuxdevcenter.com/pub/a/linux/lpt/18_16.html
-- 
Phil
Our 2nd CD: http://www.cdbaby.com/naomisfancy
Naomi's Fancy performances: http://naomisfancy.virtualave.net/schedule.html


--
gentoo-user@gentoo.org mailing list

Reply via email to