Re: [gentoo-user] Moving linux system to another partition

2007-06-11 Thread Mick
On Friday 08 June 2007 19:52, Hans-Werner Hilse wrote: Hi, On Sat, 09 Jun 2007 02:43:23 +1000 Tim Allingham [EMAIL PROTECTED] wrote: I generally prefer to do this with dd, from a remote environment dd if=/dev/source partition of=/dev/destination partition Remote Environment probably

Re: [gentoo-user] Moving linux system to another partition

2007-06-11 Thread Hans-Werner Hilse
Hi, On Mon, 11 Jun 2007 08:24:00 +0100 Mick [EMAIL PROTECTED] wrote: On Friday 08 June 2007 19:52, Hans-Werner Hilse wrote: Also, this method will also need a bigger or equally sized new partition. If it's bigger, one also needs to resize the filesystem afterwards. How do you resize

Re: [gentoo-user] Moving linux system to another partition

2007-06-11 Thread Randy Barlow
Hans-Werner Hilse wrote: Of course, there's no need to grow the filesystem, but you won't have more space than before because file systems don't usually adapt to partition size. I am confused as to what you mean here. It is my experience that resizing a file system that has been dd'ed to a

Re: [gentoo-user] Moving linux system to another partition

2007-06-11 Thread Alan McKinnon
On Monday 11 June 2007, Randy Barlow wrote: Hans-Werner Hilse wrote: Of course, there's no need to grow the filesystem, but you won't have more space than before because file systems don't usually adapt to partition size. I am confused as to what you mean here. It is my experience that

Re: [gentoo-user] Moving linux system to another partition

2007-06-11 Thread Hans-Werner Hilse
Hi, On Mon, 11 Jun 2007 10:18:27 -0500 Randy Barlow [EMAIL PROTECTED] wrote: Hans-Werner Hilse wrote: Of course, there's no need to grow the filesystem, but you won't have more space than before because file systems don't usually adapt to partition size. I am confused as to what you

Re: [gentoo-user] Moving linux system to another partition

2007-06-09 Thread Florian Philipp
Am Samstag 09 Juni 2007 02:25 schrieb Albert Hopkins: On Fri, 2007-06-08 at 19:01 -0500, [EMAIL PROTECTED] wrote: On Fri Jun 8 16:38 , Dale [EMAIL PROTECTED] sent: Yeah, that's me, I do exactly the same until you issue the cp command where I do: $cd /mnt/oldstuff tar cvjpf

Re: [gentoo-user] Moving linux system to another partition

2007-06-09 Thread Vladimir Rusinov
On 6/8/07, Aleksey Kunitskiy [EMAIL PROTECTED] wrote: Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in grub.conf/fstab on new system location ? cp -ax / /mnt/newroot cp -ax /dev/ /mnt/newroot Is always works for mine. Second line

Re: [gentoo-user] Moving linux system to another partition

2007-06-09 Thread Tim Allingham
On Fri, 2007-06-08 at 20:52 +0200, Hans-Werner Hilse wrote: Hi, On Sat, 09 Jun 2007 02:43:23 +1000 Tim Allingham [EMAIL PROTECTED] wrote: I generally prefer to do this with dd, from a remote environment dd if=/dev/source partition of=/dev/destination partition Remote Environment

[gentoo-user] Moving linux system to another partition

2007-06-08 Thread Aleksey Kunitskiy
Hi all, Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in grub.conf/fstab on new system location ? -- best regards, Aleksey V. Kunitskiy -- [EMAIL PROTECTED] mailing list

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Hemmann, Volker Armin
On Freitag, 8. Juni 2007, Aleksey Kunitskiy wrote: Hi all, Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in grub.conf/fstab on new system location ? nope. cp -a if you really want to use copy. But doesn't kill that the ctime/mtime

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Alan McKinnon
On Friday 08 June 2007, Hemmann, Volker Armin wrote: On Freitag, 8. Juni 2007, Aleksey Kunitskiy wrote: Hi all, Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in grub.conf/fstab on new system location ? nope. cp -a if you

RE: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread burlingk
-Original Message- From: Hemmann, Volker Armin [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 12:19 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Moving linux system to another partition On Freitag, 8. Juni 2007, Aleksey Kunitskiy wrote: Hi all

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Mauro Faccenda
On Friday 08 June 2007 12:39, Aleksey Kunitskiy wrote: When I moved around on harddisks some years ago, I followed some instructions found on the suse-hp. And they used tar. Any helpful suggestions(links?) ? if you are doing it between different filesystems, keep in mind that some doesn't

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Albert Hopkins
On Fri, 2007-06-08 at 17:48 +0200, Alan McKinnon wrote: What the OP *will* have a problem with a copying /proc, /dev, /sys and other virtual filesystems. When I do this trick, I usually dd or tar or cp -a entire filesystems and then copy / with this trick: mount -o bind / /some/tmp/dir

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Mauro Faccenda
On Friday 08 June 2007 12:54, Albert Hopkins wrote: On Fri, 2007-06-08 at 18:05 +0300, Aleksey Kunitskiy wrote: Hi all, Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in grub.conf/fstab on new system location ? 'cp -a' (or

RE: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread burlingk
-Original Message- From: Alan McKinnon [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 12:48 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Moving linux system to another partition On Friday 08 June 2007, Hemmann, Volker Armin wrote: On Freitag, 8

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Albert Hopkins
On Fri, 2007-06-08 at 18:05 +0300, Aleksey Kunitskiy wrote: Hi all, Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in grub.conf/fstab on new system location ? 'cp -a' (or better rsync -a) is probably better than 'cp -rp' for that

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Aleksey Kunitskiy
On Friday 08 June 2007 18:59, Albert Hopkins wrote: You could also pass, '-x' to cp and rsync or '--one-file-system' to tar. Thanks. I found good howto [1], chapter #7 describes this problem [1] http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/ -- best regards, Aleksey V. Kunitskiy -- [EMAIL

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Tim Allingham
On Fri, 2007-06-08 at 17:48 +0200, Alan McKinnon wrote: On Friday 08 June 2007, Hemmann, Volker Armin wrote: On Freitag, 8. Juni 2007, Aleksey Kunitskiy wrote: Hi all, Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Benno Schulenberg
Mauro Faccenda wrote: On Friday 08 June 2007 12:54, Albert Hopkins wrote: On Fri, 2007-06-08 at 18:05 +0300, Aleksey Kunitskiy wrote: Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part 'cp -a' (or better rsync -a) is probably better than 'cp -rp' for

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Hans-Werner Hilse
Hi, On Sat, 09 Jun 2007 02:43:23 +1000 Tim Allingham [EMAIL PROTECTED] wrote: I generally prefer to do this with dd, from a remote environment dd if=/dev/source partition of=/dev/destination partition Remote Environment probably means a) read-only mounted root FS or b) a boot into another

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Dale
Alan McKinnon wrote: On Friday 08 June 2007, Hemmann, Volker Armin wrote: On Freitag, 8. Juni 2007, Aleksey Kunitskiy wrote: Hi all, Is it safe to move my linux system by using: #cp -rp /mnt/old_part /mnt/new_part and approriate changes in grub.conf/fstab on new system location ?

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread [EMAIL PROTECTED]
On Fri Jun 8 16:38 , Dale [EMAIL PROTECTED] sent: This is something I have done several times. This is how I do it. Boot the Gentoo CD or some other live CD, Knoppix should work. After you get booted up, mount the partitions, old and new, then use this command: cp -av /path/to/old

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread [EMAIL PROTECTED]
On Fri Jun 8 12:09 , Benno Schulenberg [EMAIL PROTECTED] sent: The -p option only does something when extracting an archive, so that first -p is pointless. Cool. I thought you were mistaken however, upon consulting the man page, you are absolutely correct. Thanks for that. --James --

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread Albert Hopkins
On Fri, 2007-06-08 at 19:01 -0500, [EMAIL PROTECTED] wrote: On Fri Jun 8 16:38 , Dale [EMAIL PROTECTED] sent: Yeah, that's me, I do exactly the same until you issue the cp command where I do: $cd /mnt/oldstuff tar cvjpf /pathtosomewhere/mystuff.tbz ./ and then extract to the new

Re: [gentoo-user] Moving linux system to another partition

2007-06-08 Thread [EMAIL PROTECTED]
On Fri Jun 8 18:25 , Albert Hopkins [EMAIL PROTECTED] sent: On Fri, 2007-06-08 at 19:01 -0500, [EMAIL PROTECTED] wrote: On Fri Jun 8 16:38 , Dale [EMAIL PROTECTED] sent: Yeah, that's me, I do exactly the same until you issue the cp command where I do: $cd /mnt/oldstuff tar cvjpf