Partition tables
My disk is a ~100Gb Corsair disk. Previously to the events, the parition table was :
Code: Select all
/dev/sda1 ext4 7.5Go /
/dev/sda2 extended
/dev/sda5 ext4 2Go /home
/dev/sda6 ext4 100Go /mnt/data
/dev/sda7 swap 2Go

After realizing there was no confirmation pop-up I close the installer to prevent further operation. However, I got a new partition's table :
Code: Select all
/dev/sda1 ext4 108Go /
/dev/sda2 extended
/dev/sda5 swap 4Go
I went to the Ubuntu Data Recovery page and tried to use gpart, which detect 4 partition but doesn't give much information :
Code: Select all
sudo gpart /dev/sda
Code: Select all
Begin scan...
End scan.
Checking partitions...
Ok.
Guessed primary partition table:
Primary partition(1)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Primary partition(2)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Code: Select all
sudo gpart -v /dev/sda
dev(/dev/sda) mss(512) chs(14593/255/63)(LBA) #s(234436545) size(114470mb)
* Warning: strange partition table magic 0x0000.
Primary partition(1)
type: 131(0x83)(Linux ext2 filesystem)
size: -1061158912mb #s(-2173253452288) s(972733539046918144-972731365793465855)
chs: (0/32/33)-(1023/254/63)d (60549862374535/212/14)-(60549727095765/17/60)r
hex: 00 20 21 00 83 FE FF FF 00 08 00 00 00 D8 7F 0D 00 FE FF FF 05 FE FF FF
Primary partition(2)
type: 002(0x02)(XENIX / filesystem)
size: 0mb #s(0) s(0-0)
chs: (269/231/63)-(256/96/57)d (0/0/0)-(0/0/0)r
hex: FE E7 7F 0D 02 60 79 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Primary partition(3)
type: 000(0x00)(unused)
size: 21mb #s(43605) s(0-43604)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(2/182/9)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA 00 00 00 00 00 00
Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
hex: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
When running testdisk Analyse tool here is what I got :
Code: Select all
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63
Current partition structure:
Partition Start End Size in sectors
1 P Linux 0 32 33 14097 252 43 226482176
2 E extended 14098 30 11 14593 66 1 7954434
No partition is bootable
5 L Linux Swap 14098 30 13 14593 66 1 7954432
Code: Select all
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63
Partition Start End Size in sectors
1 * Linux 0 32 33 14097 252 43 226482176
2 P Linux Swap 14098 30 13 14593 66 1 7954432
Running a deeper search doesn't seems to give more, here a screenshot during :

And at the end I got back to this, that look like initial Analyse screen :
Code: Select all
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63
Partition Start End Size in sectors
> Linux 0 32 33 14097 252 43 226482176
Linux 1215 203 13 14338 75 9 210812928
Linux Swap 14098 30 13 14593 66 1 7954432
I'm creating a disk image using dd as a friend suggest the disk could try to reorganize sector even if not currenlty used (something related to TRIM flag on the disk) :
Code: Select all
outf="/media/mint/51ee8de5-b1a9-4d57-9a94-24b9b1d0d10b/sdd-disk.img";
sudo dd if=/dev/sda of="$outf" & ddpid=$!
- At the bottom of the Analyse tool I got a A: add partition entry. Should I rebuild manually my partition table ?
- Does the fact that my disk is an SSD could explain why I got few information
- What can I try next ?