David,<br>Is there a way to use that dd command to image the drive directly to another drive? I have another hard drive that is the exact same make/model/size as the one I'm having issues with. If I could just directly image the drive to another physical one that might be a quick solution for duplicating the drive to "work with".
<br><br>Thanks!<br><br><div><span class="gmail_quote">On 1/8/07, <b class="gmail_sendername">David L. Willson</b> <<a href="mailto:DLWillson@thegeek.nu">DLWillson@thegeek.nu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do NOT write anything to the drive until you have created a diagnostic<br>backup of the the whole disc, so that you can get back to where you are<br>now, if you goof something up. That's especially important if you have
<br>no other backup.<br><br>One way to do get a diagnostic copy is this:<br><br>dd if=/dev/hdf of=some-file-somewhere.image<br><br>If you have media problems, that might not succeed, and you'll need to<br>use the options that force dd to continue in spite of errors, but
<br>usually the backup is useless when you have media errors. Also, the<br>image file must be on a filesystem that supports large files.<br><br>Do you get anything from the drive while in Windows? Windows XP is<br>actually quite good at recovering corruptions in FAT and NTFS. I would
<br>try CHKDSK F: /R /F, where F is the actual drive-letter.<br><br>I'd also want to see what Computer Management/Disk... has to say about<br>it.<br><br>parted is great at guessing in destroyed partitions.<br><br>On Sat, 2007-01-06 at 20:49 -0600, Richard Knechtel wrote:
<br>> I finished installing CentOS 4.4 and suddenly I can't get to my<br>> primary windows data drive, neither in Linux nor in windows.<br>><br>> The drive is a 40 gig quantum fireball - it is/was formatter with
<br>> FAT32 as one partition.<br>><br>> Anyone, anyone have an idea how to recover this????? PLEASE!<br>><br>> Here is the specifics of what I was able to find so far - any other<br>> suggestions are welcome.
<br>><br>> mount -t vfat /dev/hdf1 /windows/E<br>> mount: wrong fs type, bad option, bad superblock on /dev/hdf1,<br>> or too many mounted file systems<br>><br>> from dmesg:<br>> hdf: QUANTUM FIREBALLP
AS40.0, ATA DISK drive<br>> .........<br>> hdf: max request size: 128KiB<br>> hdf: 78177792 sectors (40027 MB) w/1902KiB Cache, CHS=65535/16/63,<br>> UDMA(66)<br>> hdf: cache flushes not supported<br>> hdf: hdf1
<br>> .....<br>> FAT: bogus number of reserved sectors<br>> VFS: Can't find a valid FAT filesystem on dev hdf1.<br>> .....<br>> FAT: bogus number of reserved sectors<br>> VFS: Can't find a valid FAT filesystem on dev hdf1.
<br>> FAT: invalid media value (0x01)<br>> VFS: Can't find a valid FAT filesystem on dev hdf.<br>> FAT: bogus number of reserved sectors<br>> VFS: Can't find a valid FAT filesystem on dev hdf1.<br>> FAT: bogus number of reserved sectors
<br>> VFS: Can't find a valid FAT filesystem on dev hdf1.<br>><br>> >From fdisk:<br>> fdisk -l /dev/hdf<br>><br>> Disk /dev/hdf: 40.0 GB, 40027029504 bytes<br>> 255 heads, 63 sectors/track, 4866 cylinders
<br>> Units = cylinders of 16065 * 512 = 8225280 bytes<br>><br>> Device Boot Start End Blocks Id System<br>> /dev/hdf1 * 1 4866 39086113+ c W95 FAT32 (LBA)<br>><br>> >From fsck:<br>> fsck.vfat /dev/hdf
<br>> dosfsck 2.8, 28 Feb 2001, FAT32, LFN<br>> Currently, only 2 FATs are supported, not 191.<br>><br>> fsck /dev/hdf1<br>> OR<br>> fsck.vfat -r /dev/hdf1<br>> fsck 1.35 (28-Feb-2004)<br>> dosfsck
2.8, 28 Feb 2001, FAT32, LFN<br>> Cluster size is zero.<br>><br>> fsck.vfat -r -t /dev/hdf1<br>> dosfsck 2.8, 28 Feb 2001, FAT32, LFN<br>> Cluster size is zero.<br>><br>> Please help!<br>> Thanks<br>
> _______________________________________________<br>> clue-tech mailing list<br>> <a href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br>> <a href="http://www.cluedenver.org/mailman/listinfo/clue-tech">
http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br><br>_______________________________________________<br>clue-tech mailing list<br><a href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br><a href="http://www.cluedenver.org/mailman/listinfo/clue-tech">
http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br></blockquote></div><br>