On Fri, 26 Feb 2010 17:00:22 +0100, Alex Schuster wrote:
> If $old_dir is the root partition, I would bin-mount it first to
> somewhere else, so other directories mounted to it
> (especially/dev, /proc and /sys) are not copied:
> mount -o bind / /mnt
> old_dir=/mnt
Or use the --one-file-system op
>> tar cf - $old_dir | ( cd $new_dir: tar xf - )
>> tar cf - $old_dir | ssh $other_host "( cd $new_dir: tar xf - )"
> ^
> The ':' separating commands should be a ';'. Using the -C option would be
> a little easier, but your method also would work f
Kyle Bader writes:
> > I opted to reinstall from source that machine, which wasn't exactly a
> > bad choice anyway. But as always, rtfm is good advice! Thanks (not
> > sarcastic, except to mock myself).
>
> Another option other than rsync or dd is to use tar:
Yeah, that's what I usually do.n T
> I opted to reinstall from source that machine, which wasn't exactly a
> bad choice anyway. But as always, rtfm is good advice! Thanks (not
> sarcastic, except to mock myself).
Another option other than rsync or dd is to use tar:
tar cf - $old_dir | ( cd $new_dir: tar xf - )
tar cf - $old_dir
On 26 February 2010 10:06, Stroller wrote:
>
> On 25 Feb 2010, at 17:59, daid kahl wrote:
>>
>> ...
>> As a side note, I tried dd piped through ssh and my router (with
>> firewall) was resetting the connection after around 4GB, and I don't
>> know of anyway to resume a dd.
>
> NAME
> dd - co
On 25 Feb 2010, at 17:59, daid kahl wrote:
...
As a side note, I tried dd piped through ssh and my router (with
firewall) was resetting the connection after around 4GB, and I don't
know of anyway to resume a dd.
NAME
dd - convert and copy a file
SYNOPSIS
dd [OPERAND]...
d
On 22 February 2010 16:49, daid kahl wrote:
> On 20 February 2010 05:34, Harry Putnam wrote:
>> I'm currently rsyncing an OS (new gentoo install) from one vmware disk
>> to a newly created one.
>
> you could dd it too, and then mount the new system and remove stuff in
> /proc and /dev you don't w
On 20 February 2010 05:34, Harry Putnam wrote:
> I'm currently rsyncing an OS (new gentoo install) from one vmware disk
> to a newly created one.
you could dd it too, and then mount the new system and remove stuff in
/proc and /dev you don't want.
This could avoid any problems of your rsync opti
On Sat, Feb 20, 2010 at 5:25 AM, Volker Armin Hemmann
wrote:
> On Freitag 19 Februar 2010, Harry Putnam wrote:
>> I'm currently rsyncing an OS (new gentoo install) from one vmware disk
>> to a newly created one.
>>
>> I know not to copy /proc but not sure about /dev. Looking at an
>> unbooted OS
On Freitag 19 Februar 2010, Harry Putnam wrote:
> I'm currently rsyncing an OS (new gentoo install) from one vmware disk
> to a newly created one.
>
> I know not to copy /proc but not sure about /dev. Looking at an
> unbooted OS disk with an install on it... I see /dev/ is populated
> (with no bo
On 02/19/2010 09:34 PM, Harry Putnam wrote:
> I'm currently rsyncing an OS (new gentoo install) from one vmware disk
> to a newly created one.
>
> I know not to copy /proc but not sure about /dev. Looking at an
> unbooted OS disk with an install on it... I see /dev/ is populated
> (with no boot u
11 matches
Mail list logo