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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-26-2005, 10:33 AM
|
#1
|
LQ Newbie
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15
Rep:
|
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
|
|
|
12-26-2005, 10:38 AM
|
#2
|
LQ Newbie
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15
Original Poster
Rep:
|
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
|
|
|
12-26-2005, 10:45 AM
|
#3
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
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.
|
|
|
12-26-2005, 10:48 AM
|
#4
|
LQ Newbie
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15
Original Poster
Rep:
|
t/y.....i'll give it a try now
|
|
|
12-26-2005, 11:13 AM
|
#5
|
LQ Newbie
Registered: Nov 2005
Location: Wales, United Kingdom
Distribution: Suse 10.0
Posts: 15
Original Poster
Rep:
|
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
|
|
|
12-26-2005, 12:59 PM
|
#6
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
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.
|
|
|
12-26-2005, 05:56 PM
|
#7
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,315
|
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.
|
|
|
All times are GMT -5. The time now is 11:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|