I had a power failure at my house which messed up my HDD. Everything was backed up and I did a fresh install on a new HDD. However, it seems many of my konact files are missing from the backup. I want to see if I can restore the corrupted HDD and retrieve them. I am not having much luck and I don’t understand the information the terminal is returning to me. Can someone walk me through this please.
Here is what I am doing. In a terminal as root:
fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0xd9aba86c
Device Boot Start End Blocks Id System
/dev/sda1 63 1953520064 976760001 83 Linux
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0x00062039
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 625141759 312569856 f W95 Ext’d (LBA)
/dev/sdb5 4096 321535 158720 83 Linux
/dev/sdb6 323584 4530175 2103296 82 Linux swap / Solaris
/dev/sdb7 4532224 88422399 41945088 83 Linux
/dev/sdb8 88424448 625121279 268348416 83 Linux
Disk /dev/sdc: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders, total 293046768 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: 0x00087d8a
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 293046271 146522112 f W95 Ext’d (LBA)
/dev/sdc5 4096 321535 158720 83 Linux
/dev/sdc6 323584 4530175 2103296 82 Linux swap / Solaris
/dev/sdc7 4532224 88422399 41945088 83 Linux
/dev/sdc8 88424448 293025791 102300672 83 Linux
It is /dev/sdb that I am trying to recover.
umount /dev/sdb
umount: /dev/sdb: not mounted
fsck /dev/sdb
fsck from util-linux 2.20.1
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext2: Device or resource busy while trying to open /dev/sdb
Filesystem mounted or opened exclusively by another program?
So what am I doing wrong and what do I need to do? Thanks.