* [gentoo-amd64] Copying an entire installation
@ 2007-04-24 11:00 Peter Humphrey
2007-04-24 11:22 ` Neil Bothwick
2007-04-24 14:02 ` B. Nice
0 siblings, 2 replies; 4+ messages in thread
From: Peter Humphrey @ 2007-04-24 11:00 UTC (permalink / raw
To: gentoo-amd64
I'm considering experimenting with other file systems, JFS in particular. I
want to use a spare disk area and install an exact duplicate of my present
system, which lives in ext3.
The straightforward way seems to be to copy the world file from the current
system to the new one (after finishing a basic installation using the
standard methods) and running "emerge -uaDvN world". Is this likely to run
me into problems? Perhaps I should prefer "emerge -1 `cat old.world.file`?"
Another way would be just to tar up the old partition and untar it onto the
new one, but I think I'd feel happier installing into place. Seems cleaner,
somehow.
--
Rgds
Peter Humphrey
Linux Counter 5290, Aug 93
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] Copying an entire installation
2007-04-24 11:00 [gentoo-amd64] Copying an entire installation Peter Humphrey
@ 2007-04-24 11:22 ` Neil Bothwick
2007-04-24 14:02 ` B. Nice
1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2007-04-24 11:22 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 624 bytes --]
On Tue, 24 Apr 2007 12:00:28 +0100, Peter Humphrey wrote:
> The straightforward way seems to be to copy the world file from the
> current system to the new one (after finishing a basic installation
> using the standard methods) and running "emerge -uaDvN world". Is this
> likely to run me into problems? Perhaps I should prefer "emerge -1 `cat
> old.world.file`?"
The last time I tried copying world, portage complained. emerge -u $(cat
oldfile) worked, but you don't want -1 as you want the packages added to
your new world.
--
Neil Bothwick
Two is not equal to three, even for large values of two.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] Copying an entire installation
2007-04-24 11:00 [gentoo-amd64] Copying an entire installation Peter Humphrey
2007-04-24 11:22 ` Neil Bothwick
@ 2007-04-24 14:02 ` B. Nice
2007-04-24 15:47 ` Peter Humphrey
1 sibling, 1 reply; 4+ messages in thread
From: B. Nice @ 2007-04-24 14:02 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
A nice script to do that is mkstage4.sh. I've been using it to backup
my system for a while now, and it seems to work fine. <grin> Granted I
haven't borked things up badly enough to require a re-installation in a
while. I'll attach it here, so you can take a look and modify it for
your uses.
Hope it helps.
On Tue, 2007-04-24 at 12:00 +0100, Peter Humphrey wrote:
> I'm considering experimenting with other file systems, JFS in particular. I
> want to use a spare disk area and install an exact duplicate of my present
> system, which lives in ext3.
>
> The straightforward way seems to be to copy the world file from the current
> system to the new one (after finishing a basic installation using the
> standard methods) and running "emerge -uaDvN world". Is this likely to run
> me into problems? Perhaps I should prefer "emerge -1 `cat old.world.file`?"
>
> Another way would be just to tar up the old partition and untar it onto the
> new one, but I think I'd feel happier installing into place. Seems cleaner,
> somehow.
>
> --
> Rgds
> Peter Humphrey
> Linux Counter 5290, Aug 93
[-- Attachment #2: mkstage4.sh --]
[-- Type: application/x-shellscript, Size: 11216 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-amd64] Copying an entire installation
2007-04-24 14:02 ` B. Nice
@ 2007-04-24 15:47 ` Peter Humphrey
0 siblings, 0 replies; 4+ messages in thread
From: Peter Humphrey @ 2007-04-24 15:47 UTC (permalink / raw
To: gentoo-amd64
On Tuesday 24 April 2007 15:02:32 B. Nice wrote:
> A nice script to do that is mkstage4.sh ... I'll attach it here, so you
> can take a look and modify it for your uses.
That's helpful - thanks. Also to Neil for his comments.
--
Rgds
Peter Humphrey
Linux Counter 5290, Aug 93
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-24 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 11:00 [gentoo-amd64] Copying an entire installation Peter Humphrey
2007-04-24 11:22 ` Neil Bothwick
2007-04-24 14:02 ` B. Nice
2007-04-24 15:47 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox