Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 10-07-2004, 06:29 AM   #1
Registered: Mar 2004
Distribution: Suse
Posts: 85

Rep: Reputation: 15
Help, partition disaster

Yesterday when I was setting up a my system new system I seemed to have a disaster. I used cfdisk from MEPIS to put one small parition at the beginning of my empty STA drive to put windows on.

That seemed fine but when I rebooted it was there but all of the partitions on my 160gbEIDI drive had been wiped out and replaced by one 137gb unreadable partition and nothing else.

Any thoughs on how it might be possible to undue the disaster? I could lose the first 20gigs or so of the drive becuase it was just windows. But the rest has a ton of irreplacable stuff and I'm kind of screwed.
Old 10-07-2004, 08:53 PM   #2
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
Do you have your old partition table entries saved somewhere? Maybe at least the start sectors and end sectors? If you do, just rewrite your partition table with the old values (I'm sure you can guess the types and other stuff) and if nothing's been overwritten yet you can probably still get in.

If not, then sorry, I've no idea (but that would be a good thing to backup---a hard copy---once you have a working system again).

If you remember approximately how you created the partitions in the first place (ie. did you tell fdisk start sectors and end sectors or would you have been more likely to say 20000M or 20480M? -- that sort of thing), then you could try guessing up a new table and giving it a shot. Rewriting a new partition table won't in itself hurt you any further; it's only if you format any of those partitions that you lose data (although that could be false with RAID or LVM, I don't know). In other words, one can generally trash one's partition table n times, rewrite the correct table, and the data will be untouched and perfectly readable. So if you have important stuff it might be worth playing around with the table.


Last edited by gypsy_rabbi; 10-07-2004 at 09:02 PM.


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
Disaster Recovery souperdad Linux - General 4 11-10-2004 03:11 PM
Installation disaster The MCP Mandriva 4 05-28-2004 11:12 PM
Linux Disaster - Partition Magic Error #1201 Kujila Linux - Software 7 02-04-2004 12:31 AM
suckit disaster disatech Linux - Security 14 01-30-2004 12:07 AM
kERNEL DISASTER nelsonnery Linux - Newbie 1 10-09-2003 05:46 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration