From mboxrd@z Thu Jan 1 00:00:00 1970 From: davis at frizzen.com (Davis Johnson) Date: Sat, 17 Dec 2005 15:37:54 -0500 Subject: Copy SCSI disk including, if any, the first cylinder In-Reply-To: <1134847491.19232.10.camel@ann.qtpi.local> References: <1134847491.19232.10.camel@ann.qtpi.local> Message-ID: <43A47722.20902@frizzen.com> Bob Taylor wrote: >I have a failing SCSI disk in my LX164. I need to copy it *totally* onto >a SCSI disk of the same size. I know how to copy all the files but I >don't know if there is any boot stuff located on the first cylinder >other than the BSD label and if so, how do I copy it. Will someone help >please? Thanks! > >Bob > > Suppose the old disk is /dev/sda and the new disk is /dev/sdb, dd if=/dev/sda of=/dev/sdb bs=512 This would copy an NT disk, a Solaris disk, a some-os-I've-never-heard-of-disk. You get the idea. If you don't immediatly have a disk of the same size to copy to you can specify of= a file on a filesystem that has enough space to hold the entire disk image.