Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-18 Thread Frank Steinmetzger
Am Sonntag, 17. Januar 2010 schrieb Neil Bothwick: On Sat, 16 Jan 2010 23:40:44 +0100, YoYo siska wrote: . If you are doing it this way (on a running system with mounted dev/proc/sys...), you can just bind-mount your current / to another directory. That copy will not contain any sub-mounts

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-17 Thread Neil Bothwick
On Sat, 16 Jan 2010 23:40:44 +0100, YoYo siska wrote: . If you are doing it this way (on a running system with mounted dev/proc/sys...), you can just bind-mount your current / to another directory. That copy will not contain any sub-mounts (as if you accessed it from a livecd), Or you could

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-17 Thread YoYo siska
On Sun, Jan 17, 2010 at 08:48:21AM +0200, Nikos Chantziaras wrote: On 01/17/2010 12:40 AM, YoYo siska wrote: On Sat, Jan 16, 2010 at 03:21:32PM +0200, Nikos Chantziaras wrote: On 01/15/2010 07:33 PM, Jarry wrote: [...] I'll just copy the instructions I have someone else here: You can clone

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-17 Thread Keith Dart
=== On Sun, 01/17, Neil Bothwick wrote: === Or you could simply use the -x option with rsync. But copying an in use filesystem is a bad idea, better to boot from a live CD and do the job there. If you want to minimise downtime, === I recently did something like this. I did use the 10th

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-16 Thread Szénási István
It should be mentioned that if you use this method then, after running parted to resize the partition(s), you will also need to resize the filesystem(s) on the partition(s). If I remember correctly, you're right and the resize of he filesystem required. Of course if you shrink the partition,

[gentoo-user] Re: How can I move system to new disk?

2010-01-16 Thread Nikos Chantziaras
On 01/15/2010 07:33 PM, Jarry wrote: Hi, I'm facing this problem: I want to exchange hard-drive in my computer for other, bigger one. I do not want to add new hard-drive somewhere on mount-point permanently, I just want to copy everything from the old drive to the new one and then get rid of

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-16 Thread ubiquitous1980
Szénási István wrote: It should be mentioned that if you use this method then, after running parted to resize the partition(s), you will also need to resize the filesystem(s) on the partition(s). If I remember correctly, you're right and the resize of he filesystem required. Of

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-16 Thread YoYo siska
On Sat, Jan 16, 2010 at 03:21:32PM +0200, Nikos Chantziaras wrote: On 01/15/2010 07:33 PM, Jarry wrote: Hi, I'm facing this problem: I want to exchange hard-drive in my computer for other, bigger one. I do not want to add new hard-drive somewhere on mount-point permanently, I just want to

[gentoo-user] Re: How can I move system to new disk?

2010-01-16 Thread Nikos Chantziaras
On 01/17/2010 12:40 AM, YoYo siska wrote: On Sat, Jan 16, 2010 at 03:21:32PM +0200, Nikos Chantziaras wrote: On 01/15/2010 07:33 PM, Jarry wrote: [...] I'll just copy the instructions I have someone else here: You can clone the existing Gentoo installation into the new partition and boot from

[gentoo-user] Re: How can I move system to new disk?

2010-01-15 Thread Remy Blank
Jarry wrote: Maybe dump/restore is better solution? Or something else? Boot a live CD, mount a source partition to /mnt/src, a destination partition to /mnt/dst (with the right options, e.g. acl and user_xattr if you use them), then: rsync -avHAX /mnt/src/ /mnt/dst (The slash after src is

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-15 Thread Szénási István
And what about dd? Not the fastest solution, but it is copy the mbr, the boot loader, the partition table and all partitions. After it you should use the parted or the gparted to move/resize the necesarry partitions. -- Szénási István

Re: [gentoo-user] Re: How can I move system to new disk?

2010-01-15 Thread Stroller
On 15 Jan 2010, at 20:12, Szénási István wrote: And what about dd? Not the fastest solution, but it is copy the mbr, the boot loader, the partition table and all partitions. After it you should use the parted or the gparted to move/resize the necesarry partitions. It should be mentioned that