Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-09-2007, 08:09 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Help recovering damaged partition


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,

Old 10-10-2007, 12:48 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can try running testdisk to restore the old partition table.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering damaged flash drive Avatar33 Linux - Hardware 5 03-12-2005 07:50 AM
Recovering data from damaged CD corn Linux - Hardware 4 09-23-2004 12:32 AM
Damaged ext3 partition drigz Linux - Hardware 1 07-03-2004 12:09 PM
Damaged partition after installation ratavaz Mandriva 1 03-22-2004 04:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration