LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-26-2005, 10:33 AM   #1
winstone5000
LQ Newbie
 
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15

Rep: Reputation: 0
Unhappy i messed my partition up...trying to fix it


basically, i made the mistake, of using the windows partition manager when i was drunk, and accidentally quick formatted over my linux partition.

the 1gb partition that has grub and as far as i know, the basic linux kernel is fine and still working, but the partition that has all my suse, and desktop stuff on it, is quick formatted.

how can i repair this, i only deleted the file alocation table, so everything should be absolutely fine, please help me tho.

i'm absolutely desperate....

thank you for any help whatsoever in advance
 
Old 12-26-2005, 10:38 AM   #2
winstone5000
LQ Newbie
 
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
actually, coming to think of it, i didnt even format it, i just deleted the partition....which should hopefully make it a lot easier to fix
i just need to fix the file allocation table some how if that make's it easier to help me
lol...thank you
 
Old 12-26-2005, 10:45 AM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Just rebuild the partition table according to your original scheme.

Use cfdisk from a Live CD.

Just don't do any foramtting or change the partition sizes.

I have a couple of hard disks with 60 and 50 partitions trashed up about half a dozen times, about half of them from Partition Magic, and rebuilt them without any loss.

After rebuilding the partition table do a re-boot and all should be back to normal. If you can't remember your own partition table then may God has mercy on your disk.

Actually it isn't as bad as that. Go and download

WPARTNFIX or PR.EXE

These are free DOS-based programs that can rebuild your partition tables using the filing system indices. Success rate depends on how much is the damage on the disk.

Last edited by saikee; 12-26-2005 at 10:49 AM.
 
Old 12-26-2005, 10:48 AM   #4
winstone5000
LQ Newbie
 
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
t/y.....i'll give it a try now
 
Old 12-26-2005, 11:13 AM   #5
winstone5000
LQ Newbie
 
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
i've got knoppix 3.4 live, but it wont let me run cfdisk....it keeps telling me "FATAL ERROR - cannot open disk drive"
what's the problem????
i really need to get this back up and running as soon as.

thanks
 
Old 12-26-2005, 12:59 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Try using fdisk

You may have to delete all the partitions that are causing mischief before rebuiding the partition table.

It is common for a partitioning program to evade its responsibility when confronted with something that is illogical to it. Fdisk is the most robust tool I know but I tend to use cfdisk the moment the disk is cleared.
 
Old 12-26-2005, 05:56 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,504

Rep: Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079Reputation: 1079
If the partition had been merely deleted, you wouldn't have a problem. Testdisk is the best solution for things like that.
The message from cfdisk could be a problem. Last time I looked at the code, you get that because the sig bytes for the disk are gone.
If this is the case neither cfdisk nor fdisk will open it.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Messed up partition table. randrake Linux - General 3 12-15-2005 02:50 PM
Messed up xp via partition magic mrmandmman Linux - Newbie 20 07-16-2005 11:40 AM
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 10:02 AM
Really messed up my partition table scuzzman Linux - Hardware 7 02-04-2005 01:17 PM
Sound channels messed. How to fix? bruno buys Debian 0 10-26-2004 11:35 PM


All times are GMT -5. The time now is 09:36 AM.

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