Re: Cloning disks with dd and netcat

2004-07-29 Thread Lucas Albers
Giles Nunn said: > Hi all, > > I tried the dd route to do exactly the same thing. I wanted to recreate > a server or a variation of it quickly and easily. Eventually I gave up > and used systemimager instead. It is quick and simple. It is based on > rsync and it is in woody. I have it working usin

Re: Cloning disks with dd and netcat

2004-07-28 Thread Jan-Benedict Glaw
On Tue, 2004-07-27 18:42:09 +0200, Leonardo Boselli <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > Il 27 Jul 2004 alle 18:18 Jan-Benedict Glaw immise in rete > >> Try that with > >> a formerly booting NT system on a NTFS filesystem:) just copy the > >> "root"... by root i say /dev/hda

Re: Cloning disks with dd and netcat

2004-07-27 Thread Giles Nunn
Hi all, I tried the dd route to do exactly the same thing. I wanted to recreate a server or a variation of it quickly and easily. Eventually I gave up and used systemimager instead. It is quick and simple. It is based on rsync and it is in woody. I have it working using network boot and it takes ~

Re: Cloning disks with dd and netcat

2004-07-27 Thread Leonardo Boselli
Il 27 Jul 2004 alle 18:18 Jan-Benedict Glaw immise in rete >> Try that with >> a formerly booting NT system on a NTFS filesystem:) just copy the >> "root"... by root i say /dev/hda , the raw partition. I worked fine >> for me many times. > > Aren't MS-DOS' io.sys and msdos.sys expected to be in

Re: Cloning disks with dd and netcat

2004-07-27 Thread Jan-Benedict Glaw
On Tue, 2004-07-27 17:52:25 +0200, Leonardo Boselli <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > Il 27 Jul 2004 alle 17:42 Jan-Benedict Glaw immise in rete > > > I use knoppix to make a cpio image of the 'root filesystem' I'll be > > > imaging. (eg mounted / /usr /home and /var). The

Re: Cloning disks with dd and netcat

2004-07-27 Thread Leonardo Boselli
Il 27 Jul 2004 alle 17:42 Jan-Benedict Glaw immise in rete > > I use knoppix to make a cpio image of the 'root filesystem' I'll be > > imaging. (eg mounted / /usr /home and /var). Then with another > > script > Try that with a formerly booting NT system on a NTFS filesystem:) just copy the "root".

Re: Cloning disks with dd and netcat

2004-07-27 Thread Robert Waldner
On Tue, 27 Jul 2004 11:15:54 EDT, "George Georgalis" writes: >I don't think your system will work though. because you are writing the >mbr and the partition table with the fs image, you would have to have >the _exact_ same disk which is less common then you may expect. If the new disk is _larger

Re: Cloning disks with dd and netcat

2004-07-27 Thread Jan-Benedict Glaw
On Tue, 2004-07-27 11:15:54 -0400, George Georgalis <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > On Tue, Jul 27, 2004 at 04:09:04PM +0200, Volker Tanger wrote: > yes knoppix 2 will save time, you can "su -" from x as well. ...or just switch away from X11 down to one of the text cons

Re: Cloning disks with dd and netcat

2004-07-27 Thread George Georgalis
On Tue, Jul 27, 2004 at 04:09:04PM +0200, Volker Tanger wrote: >Boot in text mode ("knoppix 2") or Ctrl-Alt-1 from X11 into console. Try >again then. yes knoppix 2 will save time, you can "su -" from x as well. your problem though is with the fstab knoppix creates, wait you're not mounting the p

Re: Cloning disks with dd and netcat

2004-07-27 Thread Volker Tanger
Greetings! > > Do you have any kind of BIOS-configurable write/virus protection > > for that harddisc switched off? > > BIOS is ignored nicely once the kernel switched on VM and went into > protected more... Yes, I know - but I've encountered hardware where the "100% IDE" controller could be sw

Re: Cloning disks with dd and netcat

2004-07-27 Thread Jan-Benedict Glaw
On Tue, 2004-07-27 13:13:22 +0200, Volker Tanger <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > On Tue, 27 Jul 2004 12:12:33 +0200 "David Ross" <[EMAIL PROTECTED]> > wrote: > [...] > > Obviously the first thing I did was swap the > > harddrive just in case the one in the new pc is faul

RE: Cloning disks with dd and netcat

2004-07-27 Thread David Ross
ll let you guys know how it goes. Dave -Original Message- From: Robert Waldner [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 01:35 To: [EMAIL PROTECTED] Subject: Re: Cloning disks with dd and netcat On Tue, 27 Jul 2004 13:13:22 +0200, "Volker Tanger" writes: >What happen

Re: Cloning disks with dd and netcat

2004-07-27 Thread Robert Waldner
On Tue, 27 Jul 2004 14:05:14 +0200, "Volker Tanger" writes: >True - but DDing a 200GB system disc disc takes quite some time, while >manually handling partition+mkfs+lilo plus RSYNCing 1.2GB usually is >LOTS faster... > >Upgrading to servers with newer/bigger discs is also less painful than >with

Re: Cloning disks with dd and netcat

2004-07-27 Thread Volker Tanger
Greetings! > >Well, doing the partitioning manually, you could RSYNC > >the server instead of DD+NETCATing, which probably is faster and > >fails more gracefully. > > But would mean mucking around with the bootloader, which usually is > the point for doing _complete_ disc-images. True - but DDi

Re: Cloning disks with dd and netcat

2004-07-27 Thread Robert Waldner
On Tue, 27 Jul 2004 13:13:22 +0200, "Volker Tanger" writes: >What happens if you do the partitioning manually and image the >partitions (/dev/hda1, /dev/hda2, ...) one-by-one instead of the >complete disc? Well, doing the partitioning manually, you could RSYNC >the server instead of DD+NETCATing,

Re: Cloning disks with dd and netcat

2004-07-27 Thread Volker Tanger
Greetings! On Tue, 27 Jul 2004 12:12:33 +0200 "David Ross" <[EMAIL PROTECTED]> wrote: > tty1[/]# nc -v -w 60 XXX.XXX.XXX.XXX < /dev/null | gzip -dc | dd > of=/dev/hda bs=512 > imgserver.whatever.co.za [XXX.XXX.XXX.XXX] (?) open [...] > hda: read_intr: status=0x59 { DriveReady SeekCompl