LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



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

Rep: Reputation: 0
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
 
Old 10-10-2007, 01:48 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

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


Reply


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 08:50 AM
Recovering data from damaged CD corn Linux - Hardware 4 09-23-2004 01:32 AM
Damaged ext3 partition drigz Linux - Hardware 1 07-03-2004 01:09 PM
Damaged partition after installation ratavaz Mandriva 1 03-22-2004 05:49 PM


All times are GMT -5. The time now is 08:17 PM.

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