LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help recovering damaged partition (http://www.linuxquestions.org/questions/linux-newbie-8/help-recovering-damaged-partition-590671/)

matheusleite 10-09-2007 08:09 PM

Help recovering damaged partition
 
Hello,

In my disk I had an extended partition and a logical partition within it, more or less like this:

Device Start End Id System
-------------------------------------------------------------------------------------------
/dev/sda1 2000 35003 85 Linux extended
/dev/sda5 5224 35003 83 Linux

Note that the sda1 partition was empty from cylinders 2000 to 5223. Then, I decided to remove the empty space by shrinking sda1, using Yast's partitioning tool to edit its start cylinder:

Device Start End Id System
-------------------------------------------------------------------------------------------
/dev/sda1 5224 35003 85 Linux extended
/dev/sda5 5224 35003 83 Linux

After I did this, sda5 became unusable. When I try to mount sda5, the partitioning tool now says "it is not allowed to assign a mount point to a device with nonexistent or unknown filesystem".

Please, can someone try to explain what happened? What directions should I take to repair the partition?

Thanks in advance,

Matheus

pljvaldez 10-10-2007 12:48 PM

You can try running testdisk to restore the old partition table.


All times are GMT -5. The time now is 04:38 AM.