D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] moving /home

 

Paul Sutton wrote:

> What I need to do, is to format the debian partition as its bigger, and 
> make this /home and move the stuff over, so ubuntu uses the bigger drive 
> for /home user accounts etc.
> 
> I am not sure how to do this

This is a classic.

# cd /<source directory>

# tar -cf - * | (cd /<target directory>; tar -xf -) 

All you have to do after that is jiggle the mounts.

Steve

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html