I have just lost my laptop (Thinkpad T61p - graphic card failure/no boot) and to add another blow I cannot read my main SSD drive now which means I’m losing about 4-5 month worth of my life’s data. I’m trying to recover that drive.
When the laptop died, I took out the SSD drive, put it in a USB sata encolsure, and connected it to another (olde) laptop running Ubuntu (10.04). It worked just fine and I could see my files. Later that evening I tried to use that drive to boot another similar T61p but the laptop wouldn’t boot, falling into Grub rescue mode saying there is no file system.
I immediately reconnected it to the USB enclosure and now instead of seeing my files I get nothing. I’m pretty sure the drive was ext4 (default file system for Ubuntu 12.04).
The usual investigation produces the following:
dmesg after connecting the drive:
[ 1218.296064] usb 2-2: new high-speed USB device number 2 using ehci_hcd
[ 1218.460823] Initializing USB Mass Storage driver...
[ 1218.461481] usbcore: registered new interface driver usb-storage
[ 1218.461483] USB Mass Storage support registered.
[ 1218.473020] scsi5 : usb-storage 2-2:1.0
[ 1218.473104] usbcore: registered new interface driver ums-cypress
[ 1219.472848] scsi 5:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0
[ 1219.473941] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 1219.475126] sd 5:0:0:0: [sdb] 195371566 512-byte logical blocks: (100 GB/93.1 GiB)
[ 1219.475561] sd 5:0:0:0: [sdb] Write Protect is off
[ 1219.475564] sd 5:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 1219.476149] sd 5:0:0:0: [sdb] No Caching mode page present
[ 1219.476152] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1219.477810] sd 5:0:0:0: [sdb] No Caching mode page present
[ 1219.477812] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1219.480332] sdb: sdb1 sdb2 < sdb5 >
[ 1219.483706] sd 5:0:0:0: [sdb] No Caching mode page present
[ 1219.483711] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1219.483716] sd 5:0:0:0: [sdb] Attached SCSI disk
[ 1237.936096] usb 2-2: reset high-speed USB device number 2 using ehci_hcd
Disk /dev/sdb: 100.0 GB, 100030241792 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371566 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c8f75
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 187117567 93557760 83 Linux
/dev/sdb2 187119614 195371007 4125697 5 Extended
/dev/sdb5 187119616 195371007 4125696 82 Linux swap / Solaris
sudo file -s /dev/sdb1
harel@yamagami:~$ sudo file -s /dev/sdb1
Trying to mount it:
dmesg the shows this as well:
harel@yamagami:~$ sudo mount -t ext4 /dev/sdb1 /mnt/damo
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[ 1417.597997] EXT3-fs (sdb1): error: can't find ext3 filesystem on dev sdb1.
[ 1417.611379] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
[ 1477.287884] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
How can I recover the drive? Should I use dd to mirror it on an image file locally and experiment with that? Is there a way to extract the data out of it? I have lost lot there since my last backup and it would mean a lot if I could get it back.