Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Moving linux system to another partition
Date: Mon, 11 Jun 2007 08:30:50
Message-Id: 200706110824.35214.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Moving linux system to another partition by Hans-Werner Hilse
1 On Friday 08 June 2007 19:52, Hans-Werner Hilse wrote:
2 > Hi,
3 >
4 > On Sat, 09 Jun 2007 02:43:23 +1000
5 >
6 > Tim Allingham <deserted@×××××××××××.au> wrote:
7 > > I generally prefer to do this with dd, from a remote environment
8 > >
9 > > dd if=/dev/<source partition> of=/dev/<destination partition>
10 >
11 > "Remote Environment" probably means a) read-only mounted root FS or b)
12 > a boot into another instance, e.g. a live-CD, right? If you're talking
13 > about just SSH'ing into the machine: That will probably cause the copy
14 > to be broken (if the machine has / still mounted r/w), at least an fsck
15 > would be needed.
16 >
17 > Also, this method will also need a bigger or equally sized new
18 > partition. If it's bigger, one also needs to resize the filesystem
19 > afterwards.
20
21 How do you resize the fs? I was never comfortable trying this at home... but I
22 have a feeling I might need to use it sooner or later.
23 --
24 Regards,
25 Mick

Replies

Subject Author
Re: [gentoo-user] Moving linux system to another partition Hans-Werner Hilse <hilse@×××.de>