I need to recover partitions sd5 and sda6
What looks bad is that gparted see those partitions as clean with no data.
I recovered system with clonezilla and now systemcan't see those two partitions
sda5 is /home
sda6 important data
sdb is disk I use to write from
in gparted gparted to:
/dev/sda5 23244802 52543489 29298688 14G 83 Linux
/dev/sda6 52543491 117026817 64483327 30,8G 83 Linux
This happend after I used in Clonezilla advance option "Reinstall grub on target harddisk boot sector".
I don't know what PARTUUID is and how to use it. In fastab I used UUID's.
I read this article
http://askubuntu.com/questions/84501...untu-boot-from
I don't remember if I used GPT or MBR before. It is SSD disk.
I may loose system but I want to recover those two partitions. I don't know how to use testdisk properly. I don't want to make things worse.
Edit:
I step on last partition and press enter
When I am here and there is menu
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
ext4 blocksize=4096 Large file Sparse superblock, 11 GB / 11 GiB
and I chose positions 29298688 and 64483328 and press P it shows me files and folders on this partition so they are not lost but I don't know how to recover this partition.
Will pressing A recover this partition and write it to MBR?
Edit,
I pressed Enter and there are options for saving partitions.
What looks bad is that gparted see those partitions as clean with no data.
I recovered system with clonezilla and now systemcan't see those two partitions
sda5 is /home
sda6 important data
sdb is disk I use to write from
in gparted gparted to:
/dev/sda5 23244802 52543489 29298688 14G 83 Linux
/dev/sda6 52543491 117026817 64483327 30,8G 83 Linux
Code:
sudo fdisk -l Disk /dev/sda: 55,9 GiB, 60021399040 bytes, 117229295 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 Disklabel type: dos Disk identifier: 0x0001b6eb Device Boot Start End Sectors Size Id Type /dev/sda1 2048 23244799 23242752 11,1G 83 Linux /dev/sda2 23244800 117225473 93980674 44,8G 5 Extended /dev/sda5 23244802 52543489 29298688 14G 83 Linux /dev/sda6 52543491 117026817 64483327 30,8G 83 Linux /dev/sda7 * 117030912 117225471 194560 95M 83 Linux testdisk shows Disk /dev/sda - 60 GB / 55 GiB - CHS 7297 255 63 Current partition structure: Partition Start End Size in sectors 1 P Linux 0 32 33 1446 235 5 23242752 2 E extended 1446 235 6 7296 241 51 93980674 No partition is bootable No ext2, JFS, Reiser, cramfs or XFS marker 5 L Linux 1446 235 8 3270 173 41 29298688 5 L Linux 1446 235 8 3270 173 41 29298688 X extended 3270 173 42 7284 148 34 64483328 No ext2, JFS, Reiser, cramfs or XFS marker 6 L Linux 3270 173 43 7284 148 34 64483327 6 L Linux 3270 173 43 7284 148 34 64483327 X extended 7284 148 35 7296 241 49 198654 Logical partition must not be bootable 7 L Linux 7284 213 34 7296 241 49 194560 ~$ sudo blkid /dev/sda1: UUID="2b383205-d6e5-4711-adc8-83d841b090c7" TYPE="ext4" PARTUUID="0001b6eb-01" /dev/sda7: UUID="e094f1eb-0ecb-49b3-bafc-de55104b285f" TYPE="ext4" PARTUUID="0001b6eb-07" /dev/sdb1: UUID="548d0a90-a349-46b4-8edb-67219ab9bfe4" TYPE="ext4" PARTUUID="cc11712c-01" /dev/sdb5: UUID="91f0c40c-e683-48d0-a970-0a9dbf4ecbed" TYPE="ext4" PARTUUID="cc11712c-05" /dev/sdb6: UUID="7ef2a3e3-73a3-4086-bca5-971115220db0" TYPE="ext4" PARTUUID="cc11712c-06" /dev/sda5: PARTUUID="0001b6eb-05" /dev/sda6: PARTUUID="0001b6eb-06"
I don't know what PARTUUID is and how to use it. In fastab I used UUID's.
I read this article
http://askubuntu.com/questions/84501...untu-boot-from
Code:
sudo gdisk /dev/sda GPT fdisk (gdisk) version 0.8.8 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present *************************************************************** Found invalid GPT and valid MBR; converting MBR to GPT format in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if you don't want to convert your MBR partitions to GPT format! *************************************************************** Command (? for help):
I may loose system but I want to recover those two partitions. I don't know how to use testdisk properly. I don't want to make things worse.
Edit:
Code:
Disk /dev/sda - 60 GB / 55 GiB - GOODRAM C50 Hidden sectors are present. size 117229295 sectors user_max 117229295 sectors native_max 117231408 sectors dco 117231408 sectors Host Protected Area (HPA) present. analyse Disk /dev/sda - 60 GB / 55 GiB - CHS 7297 255 63 Partition Start End Size in sectors * Linux 0 32 33 1446 235 5 23242752 P Linux 1447 12 38 1459 40 53 194560 >P Linux 1459 73 23 3283 11 56 29298688 L Linux 3283 44 26 7297 19 18 64483328
Code:
Disk /dev/sda - 60 GB / 55 GiB - CHS 7297 255 63 Disk /dev/sda - 60 GB / 55 GiB - CHS 7297 255 63 Partition Start End Size in sectors >* Linux 0 32 33 1446 235 5 23242752 P Linux 1447 12 38 1459 40 53 194560 P Linux 1459 73 23 3283 11 56 29298688 L Linux 3283 44 26 7297 19 18 64483328
When I am here and there is menu
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
ext4 blocksize=4096 Large file Sparse superblock, 11 GB / 11 GiB
and I chose positions 29298688 and 64483328 and press P it shows me files and folders on this partition so they are not lost but I don't know how to recover this partition.
Will pressing A recover this partition and write it to MBR?
Edit,
I pressed Enter and there are options for saving partitions.
Comment