Author Topic: Gparted report unllocated partition (SOLVED)  (Read 651 times)

Offline lobster

  • Full Member
  • ***
  • Posts: 53
Gparted report unllocated partition (SOLVED)
« on: September 06, 2012, 10:56:36 AM »
Hi

This is a dual boot system with WinXP and KDE.
Now it's the second time that i get a report from Gparted and from KDE Partition Manager that there is no partitions at all in the 80 GB disk which is the main installed Root and Home & XP.
Looking in the Control Center,Manage disk,shows all the partitions.
The problem came as i startet Windows from Grub and the boot was unsuccessful, so i wanted to rewrite the image using UBCD4 (inside is Macrium Reflect) and was impossible to start the CD, never had this before, so i went to KDE and reformat the Partition of XP and tried again, without result.
Looking into Gparted came very strange to see what i already explained and was for me clear why Windows could not be installed, there is no Partition Table, but in KDE it's still there.
How can i resolve this? any ideas, without destroying all data?



This would be the result of :   fdisk -l

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: 0x00041135

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63   625137344   312568641   83  Linux

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 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: 0x1df8c2f8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           0           0           0    0  Empty
/dev/sda2        40964096    65542143    12289024   83  Linux
/dev/sda3        65542144    72097791     3277824   82  Linux swap / Solaris
/dev/sda4              63   156301311    78150624+   5  Extended
/dev/sda5             126    40949684    20474779+  83  Linux
/dev/sda6        72099840    96677887    12289024   83  Linux
/dev/sda7        96679936   156301311    29810688    7  HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/sdc: 8034 MB, 8034189312 bytes
196 heads, 51 sectors/track, 1569 cylinders, total 15691776 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: 0x00073c89

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048    15691775     7844864    b  W95 FAT32



thank you very much in advance
« Last Edit: September 09, 2012, 06:54:48 AM by lobster »

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Gparted report unllocated partition
« Reply #1 on: September 06, 2012, 11:49:36 AM »
There is a software called Testdisk. It is used to deal with recovering lost partitions etc. I do not have much experience with it. Worth a try pending other suggestions. (Please wait some more time before going ahead)

NOTE : You could put your commandline output inside CODE /CODE tags.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10646
  • MLUs Forever!
Re: Gparted report unllocated partition
« Reply #2 on: September 06, 2012, 03:25:50 PM »
You can use fdisk to rearrange the partitions numbers .......  and have the opportunity to check that all will be OK BEFORE you write the changes.

Your partitions are surely messed up though .....  you appear to have Primary partitions within the space covered by the Extended partition.

sda4 is the Extended Partition and sda2 & sda3 apparently primary .....  but they would appear to be in this order

Code: [Select]
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           0           0           0    0  Empty
/dev/sda4              63   156301311    78150624+   5  Extended
/dev/sda5             126    40949684    20474779+  83  Linux
/dev/sda2        40964096    65542143    12289024   83  Linux
/dev/sda3        65542144    72097791     3277824   82  Linux swap / Solaris
/dev/sda6        72099840    96677887    12289024   83  Linux
/dev/sda7        96679936   156301311    29810688    7  HPFS/NTFS


I would proceed with caution ....... first thing might be to make a copy of the MBR/partition table in case you need to put it back to present status.

Then do a re-order of the partitions with fdisk WITHOUT writing to the MBR and study the results.

I would hold on for a while to get other opinions before committing to any action.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: Gparted report unllocated partition
« Reply #3 on: September 06, 2012, 07:12:37 PM »
From what I understand, the latest version of Gparted could be able to rectify certain issues, which was not possible with older versions
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline lobster

  • Full Member
  • ***
  • Posts: 53
Re: Gparted report unllocated partition
« Reply #4 on: September 06, 2012, 11:14:03 PM »
From what I understand, the latest version of Gparted could be able to rectify certain issues, which was not possible with older versions

Hi, right now i downloaded from Synaptic , Gpart which is what Gparted needs as you said to recover Partitions.
I will try that way, without compromising other, actually a have also a recent (3 days old) image of the system partition and home, and also from the Xp , if this turns to complicated to manage i will erase the disk and reconstruct it. I have only a question, in the second disk , which is a 320 GB encrypted, if i clean the partitions on the system disk, would i be able to open that encrypted Data disk ?, i do have the password, but this information is writing on system Partition.

Offline lobster

  • Full Member
  • ***
  • Posts: 53
Re: Gparted report unllocated partition
« Reply #5 on: September 09, 2012, 01:27:43 AM »
From what I understand, the latest version of Gparted could be able to rectify certain issues, which was not possible with older versions

Hi, right now i downloaded from Synaptic , Gpart which is what Gparted needs as you said to recover Partitions.
I will try that way, without compromising other, actually a have also a recent (3 days old) image of the system partition and home, and also from the Xp , if this turns to complicated to manage i will erase the disk and reconstruct it. I have only a question, in the second disk , which is a 320 GB encrypted, if i clean the partitions on the system disk, would i be able to open that encrypted Data disk ?, i do have the password, but this information is writing on system Partition.


i have to report back, that i resolve my problem reinstalling the whole with mylivecd, so is everything OK ;D

thank you for your help

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Gparted report unllocated partition
« Reply #6 on: September 09, 2012, 04:15:26 AM »
Congratulations :)

Now, please edit your original post and add [SOLVED] to the beginning of 'Subject'.
-SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline lobster

  • Full Member
  • ***
  • Posts: 53
Re: Gparted report unllocated partition
« Reply #7 on: September 09, 2012, 06:55:26 AM »
Congratulations :)

Now, please edit your original post and add [SOLVED] to the beginning of 'Subject'.
-SS.

ok !!