hard disk not accessible (uevent timeout at boot)
Hello friendly guys,
I have managed to create a strange problem...
A hard disk (/dev/sdb) has lost all its partitions. When booting the procecssing uevents takes very long and when it's finished all the partitions on this disk are ignored because of a timeout.
while i am pretty comfortable around linux I have never dealt with harddisk recovery... I have no idea how to talk to that disk.
in /dev/ there is only sdb created, no partitions sdb[1-7]
and the only other command I know to obtain information about disks is hdparm:
$ ls /dev/sdb* -la
brw-rw---- 1 root disk 8, 16 Nov 27 00:20 /dev/sdb
It's a Western Digital Caviar Green 640GB drive.
$ hdparm /dev/sdb
HDIO_DRIVE_CMD(identify) failed: Input/output error
IO_support =1849782529 (???)
readonly = 0 (off)
readahead = 256 (on)
geometry = 0/255/63, sectors = 0, start = 0
testdisk, gparted, fdisk etc. don't recognize the device any more, here is an excerpt from /var/log/messages:
Now I probably should admit what I was trying to do...
Nov 26 23:30:43 sysresccd kernel: [ 150.232557] sd 1:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Nov 26 23:30:43 sysresccd kernel: [ 150.232563] sd 1:0:0:0: [sdb] Sense Key : Aborted Command [current] [descriptor]
Nov 26 23:30:43 sysresccd kernel: [ 150.232569] Descriptor sense data with sense descriptors (in hex):
Nov 26 23:30:43 sysresccd kernel: [ 150.232572] 72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
Nov 26 23:30:43 sysresccd kernel: [ 150.232584] 00 00 00 7f
Nov 26 23:30:43 sysresccd kernel: [ 150.232589] sd 1:0:0:0: [sdb] Add. Sense: No additional sense information
Nov 26 23:30:43 sysresccd kernel: [ 150.232594] sd 1:0:0:0: [sdb] CDB: Read(10): 28 00 2c 7d 96 f7 00 00 08 00
Nov 26 23:30:43 sysresccd kernel: [ 150.232605] end_request: I/O error, dev sdb, sector 746428151
Nov 26 23:30:43 sysresccd kernel: [ 150.232609] Buffer I/O error on device sdb4, logical block 28
Nov 26 23:30:43 sysresccd kernel: [ 150.232613] Buffer I/O error on device sdb4, logical block 29
I have a new SSD on which I wanted to install Windows7 (and probably Debian). First thing I did was setting the SATA-Mode to AHCI in BIOS, which left all my installed operating systems unable to boot, so I used a SystemRescueCD live cd (gentoo based).
I have got a Windows-image from DreamSpark (as a file, not as DVD). You can install Windows from a running Windows using the .wim files inside that image whith a program called 'imagex.exe' and my plan was to do this from a running linux as imagex runs under wine... :)
However the SystemRescueCD has no wine, so I tried using the wine already installed on sdb (the disk that's now gone...).
I mounted the image and the SSD-partition to the wine-dosdrives folder, chrooted into that linux's '/' and started 'wineconsole cmd'. Apart from some display errors imagex.exe was working flawless (I could watch the disk fill up).
That far it was really fun...
To make that Windows bootable, another program is necessary, called bsdboot... that one crashed and afterwards I could not access any partition of sdb any more.
Now please don't laugh!... or rather, laugh! but please don't yell ;)
While the data on that disk is not vital, it is also mostly not backed up. So if there is any way to recover some things, I'd appreciate that.
Thank you for any help, I will gladly provide more output from programs that could be helpfull.