public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "W.Kenworthy" <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /usr and /home to another partition
Date: Fri, 07 Oct 2005 09:07:41 +0800	[thread overview]
Message-ID: <1128647261.13734.48.camel@bunyip> (raw)
In-Reply-To: <4345C603.2040804@gmx.at>

If you want to move directories, avoid wholesale symlinking like this as
it always ends in tears ...

Using a liveCD, create your partitions and directories, then copy
everything over (rsync or tar is best to make sure its accurate), change
your fstab then reboot.  When you are happy its working, you can recover
the old directories at leisure.

For the future: I found that since I stated using LVM, this sort of
exercise becomes a lot easier, safer and has less downtime.

BillK


On Fri, 2005-10-07 at 02:49 +0200, 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 ?
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2005-10-07  1:14 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
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 [this message]
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=1128647261.13734.48.camel@bunyip \
    --to=billk@iinet.net.au \
    --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