public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /usr and /home to another partition
Date: Fri, 7 Oct 2005 04:05:02 +0200	[thread overview]
Message-ID: <200510070405.02664.volker.armin.hemmann@tu-clausthal.de> (raw)
In-Reply-To: <4345D4E3.5090108@gmx.at>

On Friday 07 October 2005 03:52, Matthias Langer wrote:
> Joe Menola wrote:
> >On Thursday October 6 2005 7:49 pm, Matthias Langer wrote:
> >>I want to move the /usr and /home directories to another partition,
> >>because I'm thinking of buying a new HD. It would be great if both
> >>directories were on the same partition, as splitting drives never seemed
> >>very appealing to me. As far as I know, one possibility would be to
> >>[with the boot-cd]
> >>
> >># mv /usr /mnt/newHD/
> >># mv /home /mnt/newHD/
> >># ln -s /mnt/newHD/usr usr
> >># ln -s /mnt/newHD/home home
> >>
> >>However, I'm not sure if this is the suggested method of doing so and to
> >>be honest, I'm not completley sure if this would even work.
> >>
> >>Any comments or suggestions ?
> >
> >In theory I suppose that would work. Myself, I would copy the contents
> >to /mnt/newHD/ then rename the original directories and create the links.
> > The renamed directories can be deleted after you've verified positive
> > results. And if it all craps out, the originals can simply be renamed
> > back to /usr and /home.
> >You should consider creating separate partitions for these though. At some
> >point you may wish to blow out the install but retain your /home. Separate
> >partitions makes this much easier. And also opens the possibility of
> > sharing your /home with multiple installs.
> >
> >HTH -jm
>
> Well, maybe you are right and creating a /usr and a /home partition is
> the better choice. As I want to buy a 250GB drive, I'm thinking of 20G
> for /usr and 230GB for home, while still 16GB remain for /opt, /root,
> /bin .... .
> Now another genooist pointed out that  it would be wiser to use rsync or
> tar instead of just
> # cp - r /usr /mnt/newHd_part_usr/
> So, should I enter
> # rsync -r /usr /mnt/newHd_part_usr/
> or are there some options I should activate to make sure I get what I want
> ?

if you want to use copy, I would prefer cp -a ;)

hm, go to the suse site - they have a step-by-step example to move whole 
directory-trees from one partition to another.. or had it some yoears ago.
They used tar, for some reasons they mentioned and I forgot ;)
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-10-07  2:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-07  0:49 [gentoo-user] /usr and /home to another partition Matthias Langer
2005-10-07  1:06 ` Joe Menola
2005-10-07  1:52   ` Matthias Langer
2005-10-07  2:05     ` Hemmann, Volker Armin [this message]
2005-10-07 12:03       ` Norberto Bensa
2005-10-07 12:19         ` Matthias Langer
2005-10-07  2:19     ` John Jolet
2005-10-07  5:16       ` Roy Wright
2005-10-07  1:07 ` W.Kenworthy
2005-10-07  7:34   ` Neil Bothwick
2005-10-07  9:40     ` capsel
2005-10-07 10:07       ` Neil Bothwick
2005-10-07 12:15     ` Matthias Langer
2005-10-07 13:11       ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510070405.02664.volker.armin.hemmann@tu-clausthal.de \
    --to=volker.armin.hemmann@tu-clausthal.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox