Code: Select all
fsck /dev/sdb5
I attempted to follow some steps to recover data from the drive from my ubuntu HDD, but have hit a snag. It seems the file system on the drive is also gone. I followed the top answer from this post: https://askubuntu.com/questions/653408/ ... om-live-cd
Let me post some outputs.
From
Code: Select all
fdisk -l
Code: Select all
Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0d728cd1
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 499711 497664 243M 83 Linux
/dev/sdb2 501758 3907028991 3906527234 1.8T 5 Extended
/dev/sdb5 501760 3907028991 3906527232 1.8T 83 Linux
Partition 2 does not start on physical sector boundary.
Disk /dev/mapper/sdb5_crpyt: 1.8 TiB, 2000139845632 bytes, 3906523136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/xavi--vg-root: 28 GiB, 29997662208 bytes, 58589184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/xavi--vg-swap_1: 16 GiB, 17108566016 bytes, 33415168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/xavi--vg-home: 1.8 TiB, 1953031520256 bytes, 3814514688 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Code: Select all
mount /dev/xavi-vg/root /mnt/
Code: Select all
mount: wrong fs type, bad option, bad superblock on /dev/mapper/xavi--vg-root,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.