Gentoo Archives: gentoo-alt

From: Galaxy <galaxy001@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [Prefix Support]How to move a prefix to other path ?
Date: Sat, 27 Dec 2008 01:16:18
Message-Id: 20081227091829.517dcb96@gmail.com
In Reply to: Re: [gentoo-alt] [Prefix Support]How to move a prefix to other path ? by Fabian Groffen
1 I was wondering whether it can be done with little modification in
2 'etc/' and an 'emerge -e', since not, I'll choose rebootstrap.
3 Thanks.
4
5 > On 26-12-2008 21:22:02 +0800, Galaxy wrote:
6 > > I have a Gentoo Prefix at '/shared/raid8/galaxy/gentoo' , I want to
7 > > move it to '/shared/raid12/galaxy/gentoo' . Which files should be
8 > > edited ?
9 > >
10 > > And, an 'emerge -e system' should be done since something like perl
11 > > must be reconfigured, right ?
12 >
13 > The best way to do it in this case, is just to rebootstrap.
14 >
15 > You basically need to reemerge *every* package. If you don't like
16 > rebootstrapping, you can try to set EPREFIX to the new location, and
17 > run `emerge -1e @system @world`. I'm not sure if that works
18 > correctly, but should effectively "clone" your Prefix to your new
19 > location. I've never done this, so it might not work correctly.
20 >
21 > Frankly, rebootstrapping is the easiest and least error-prone solution
22 > in this case.
23 >
24 >

Replies

Subject Author
Re: [gentoo-alt] [Prefix Support]How to move a prefix to other path ? Fabian Groffen <grobian@g.o>