PDA

View Full Version : Mounting a problem HDD



mjdc76
12-22-2006, 02:24 PM
First off, apologies if this is the "wrong" forum--feel free to move me if I'm in the wrong place.

I'm trying to rescue a problem HDD using Knoppix. Specifically, Windows XP, NTFS formatted, off a laptop.

Currently, Windows won't boot off the laptop after it was inadvertantly dropped. However, the disk does appear to spin up, with none of the clicking noises of a horrible head-crash death. Also, Knoppix appears to be able to at least access the partition table for the drive, which I take as a positive sign. But I can't mount the drive. So wondering if any of you fine people can spot something I am doing wrong or can try. Or am I out of luck recovering this?

Knoppix does recognize the drive at startup, but when I try to navigate to it in konqueror, it tells me "no items - No files - No folders" at the bottom of the window.

Hopefully relevant data:

root@1[media]# fdisk -l

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4864 39070048+ 7 HPFS/NTFS

root@1[media]# mount /dev/hda1
The device /dev/hda1, is mounted.
Forced to continue.
Couldn't mount device '/dev/hda1' : Operation not supported
Windows did not shut down properly. Try to mount volume in windows, shut down and try again.
Mount failed.

root@1[media]# dmesg | grep hda1
hda: hda1
Buffer I/O error on device hda1, logical block 49235000
Buffer I/O error on device hda1, logical block 49235001
Buffer I/O error on device hda1, logical block 49235000
Buffer I/O error on device hda1, logical block 49235001
Buffer I/O error on device hda1, logical block 49235000
Buffer I/O error on device hda1, logical block 49235001
Buffer I/O error on device hda1, logical block 49235000
Buffer I/O error on device hda1, logical block 49235001
Buffer I/O error on device hda1, logical block 49235000
Buffer I/O error on device hda1, logical block 49235001
Buffer I/O error on device hda1, logical block 49235000
Buffer I/O error on device hda1, logical block 49235001
Buffer I/O error on device hda1, logical block 49235000
Buffer I/O error on device hda1, logical block 49235001


root@1[media]# lspci -v
0000:00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, fast devsel, latency 0
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [e4] #09 [f104]
Capabilities: [a0] AGP version 2.0

0000:00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: dff00000-f7ffffff
Prefetchable memory behind bridge: 34000000-340fffff

0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at efe0 [size=32]

0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at ef80 [size=32]

0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 18c0 [size=32]

0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at 34100000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [2080]

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=05, sec-latency=64
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: dfd00000-dfdfffff
Prefetchable memory behind bridge: 30000000-33ffffff

0000:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
Flags: bus master, medium devsel, latency 0

0000:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at bfa0 [size=16]
Memory at 34100400 (32-bit, non-prefetchable) [size=1K]

0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: medium devsel
I/O ports at d880 [size=32]

0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Subsystem: Toshiba America Info Systems: Unknown device 0201
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1000 [size=256]
I/O ports at 1880 [size=64]
Memory at 34100800 (32-bit, non-prefetchable) [size=512]
Memory at 34100a00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1400 [size=256]
I/O ports at 1800 [size=128]
Capabilities: [50] Power Management version 2

0000:01:00.0 VGA compatible controller: Trident Microsystems CyberBlade XP4m32 (rev 91) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, 66MHz, medium devsel, latency 8, IRQ 11
Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
Memory at efc00000 (32-bit, non-prefetchable) [size=4M]
Memory at e0000000 (32-bit, non-prefetchable) [size=128M]
Memory at dfff8000 (32-bit, non-prefetchable) [size=32K]
Expansion ROM at 34000000 [disabled] [size=256K]
Capabilities: [80] AGP version 2.0
Capabilities: [90] Power Management version 2

0000:02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at dfd06000 (32-bit, non-prefetchable) [size=2K]
Memory at dfd00000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2

0000:02:09.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (LOM) (rev 03)
Subsystem: Toshiba America Info Systems PRO/1000 MT Mobile Connection
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at dfde0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at cf40 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

0000:02:0a.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
Subsystem: Intel Corporation: Unknown device 2581
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at dfddf000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2

0000:02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, slow devsel, latency 168, IRQ 11
Memory at dfd04000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=04, sec-latency=0
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 36000000-37fff000
I/O window 0: 0000c000-0000c0ff
I/O window 1: 0000c400-0000c4ff
16-bit legacy interface ports at 0001

0000:02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, slow devsel, latency 168, IRQ 11
Memory at dfd05000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=05, subordinate=08, sec-latency=0
Memory window 0: 32000000-33fff000 (prefetchable)
Memory window 1: 38000000-39fff000
I/O window 0: 0000c800-0000c8ff
I/O window 1: 0000cc00-0000ccff
16-bit legacy interface ports at 0001

0000:02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: medium devsel, IRQ 255
Memory at dfd06800 (32-bit, non-prefetchable) [disabled] [size=512]
Capabilities: [80] Power Management version 2

root@1[media]#

mjdc76
12-22-2006, 03:40 PM
Self-followup--I realized that part of the issue is that Knoppix appears to like hard drives read-write by default, and NTFS write support is kind of limited (capture, as I understand it, uses the HDD to find the drivers).

I tried mounting read-only, which worked. However, I can't see any files. Less promising, but possibly recoverable with the right utility? Ideas welcome...

root@1[dev]# mount -r /dev/hda1
root@1[dev]# cd /media/hda1
root@1[hda1]# ls
ls: reading directory .: Input/output error
root@1[hda1]#