moving home to it's own partition

Magnus Therning magnus at therning.org
Tue Aug 23 07:02:07 UTC 2005


On Tue, Aug 23, 2005 at 12:45:38AM +0200, Martin Ericsson wrote:
>
>Hi!
>So far I have had my home folder on the root partition, but now I have
>created a new ext3 onto which I wish to move the home folder.
>
>I tried to simply copy the files from my old home folder to the new
>folder with nautilus but I got an error message for some mozilla-file.
>Is there a some better way to do it?

The Debian Reference has a list of different ways of copying whole
directories[1]. Personally I always use the following:

 $ find . -depth -print0 | cpio --null --sparse -pvd <new-dir>

>And would the following line be OK in fstab once I have copied the files?
>/dev/hdb7       /home       ext3    defaults        0       1

I created a separate partition for /home at install time and it looks
like this:

 /dev/hda6       /home           ext3    nodev,nosuid    0       2

/M

1.  http://www.us.debian.org/doc/manuals/reference/ch-tips.en.html#s-archiving

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Mathematics is the queen of sciences, and the theory of numbers is the
queen of mathematics.
     -- Karl Friedrich Gauss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050823/ca7a2ff6/attachment.sig>


More information about the ubuntu-users mailing list