Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: davis at frizzen.com (Davis Johnson)
Subject: Copy SCSI disk including, if any, the first cylinder
Date: Sat, 17 Dec 2005 15:37:54 -0500	[thread overview]
Message-ID: <43A47722.20902@frizzen.com> (raw)
In-Reply-To: <1134847491.19232.10.camel@ann.qtpi.local>

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.



  parent reply	other threads:[~2005-12-17 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-17 19:24 Copy SCSI disk including, if any, the first cylinder brtaylor
2005-12-17 19:35 ` gatgul
2005-12-17 20:37 ` davis [this message]
2005-12-17 23:07 ` michal
2005-12-18  1:28   ` davis
2005-12-19 15:00 ` terry.bowling
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox