Accidentally pushed auto during Ubuntu install

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
lan1967
Posts: 2
Joined: 21 Oct 2013, 12:46

Accidentally pushed auto during Ubuntu install

#1 Post by lan1967 »

Hello, everyone!
Sorry for disturbance.
My task was to reinstall ruined Ubuntu using LiveCD.
I used auto partition option with completely erase of data and reinstalling Ubuntu as a logical volume (they promised easier resize).
Hopefully I stopped the tea-party in two-three-four seconds and found all partitions are messed.
Seemingly data were not touched almost but how to use them without partition table.
There were two-three (GPT) partitions for swap, EFI partition, two NTFS partitions with Windows 7, one EXT4 partitions for home of ubuntu, another ETX4 for system of ubuntu. Probably EFI partition is intact as I can choose to boot both Windows 7 although after that it asks for a recover disk.
Hard drive capacity about 500 Gb.
I tried testdisk with deep search to recover lost partitions but it happens non easy to understand.
I wonder if I am still able to recover my work from this mess.
I attach the log of the deep search of test disk, hope this one helps.
Thank you for your attention.
Attachments
testdisk.txt.zip
(31.63 KiB) Downloaded 348 times

lan1967
Posts: 2
Joined: 21 Oct 2013, 12:46

Re: Accidentally pushed auto during Ubuntu install

#2 Post by lan1967 »

I used deeper search for Intel partition option.
Originally it was EFI GPT partition.
* FAT32 0 32 33 12 223 19 204800 [NO NAME]
Linux 24 88 63 55 115 58 499712
Linux 24 89 2 55 115 60 499712
HPFS - NTFS 29 49 21 12748 86 10 204333056
Linux LVM 93 80 52 60801 47 46 975271936
HPFS - NTFS 12748 86 11 25496 139 51 204800000
Linux Swap 25496 139 52 25982 227 37 7813120
Linux 25982 227 38 32669 148 55 107421696
Linux 29136 73 58 35822 250 12 107421696
Linux 29137 241 33 35824 162 50 107421696
Linux 29145 86 62 35832 8 16 107421696
Linux 29147 162 8 35834 83 25 107421696
> Linux 32669 148 56 60801 47 46 451934208

In log it says:

recover_EXT2: "e2fsck -b 7962624 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=243/1723, s_mnt_count=0/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 56491776
recover_EXT2: part_size 451934208
Linux 32669 148 56 60801 47 46 451934208
ext4 blocksize=4096 Large file Sparse superblock Backup superblock, 231 GB / 215 GiB


block_group_nr 343
recover_EXT2: "e2fsck -b 11239424 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=343/1723, s_mnt_count=0/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 5

and so on. Should I use e2fsck or not?
Thank you for your attention.
Attachments
testdisk.log.zip
(2.4 KiB) Downloaded 268 times

hamidjaj
Posts: 1
Joined: 16 Jan 2014, 00:39
Contact:

Re: Accidentally pushed auto during Ubuntu install

#3 Post by hamidjaj »

samething here.

Locked