LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-26-2006, 07:31 PM   #1
locrian
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Rep: Reputation: 0
Partition table toast


While installing MEPIS6 I made a terrible error - I sought help from the microsoft windows xp disk. Now my harddrive is toast.

Linux is on hda, while windows was on a FAT32 hdb. To make a long and silly story short, I tried to use windows to get hdb to boot striaght to windows, while having Grub on hda. Fixmbr killed hdb.

I think its just the partition table thats toast. Here's fdisk:

Disk /dev/hdb: 30.7 GB, 30735581184 bytes
255 heads, 63 sectors/track, 3736 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 3735 30001356 c W95 FAT32 (LBA)

In the past there was one primary partition on hdb, and a tiny hidden one on hdb I don't know much about.

Is there a way I can fix this without losing all that data?

Thanks in advance for your help. I'd like to tell the world I didn't kill my files installing linux. It's an ego thing! Doing so without spending $70 on partition magic would be mighty nice.

Kyle
 
Old 06-27-2006, 02:35 AM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
I am confused - you say FIXMBR messed up hdb, but the partition output from fdisk looks fine. What are the actual symptoms? If XP doesn't boot, did you try the FIXBOOT command?
 
Old 06-27-2006, 03:10 AM   #3
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
I'm also confused, what exactly happens when you boot your system? Do you get the Grub/Lilo bootloaders or the Windows XP bootloader?

Have you tried booting from a LiveCD to see if you can access your partitions?

P.S.
If you're after a cheap/free alternative to Partition Magic then try qtparted on Knoppix (I think it's actually on SimplyMEPIS too).
 
Old 06-27-2006, 07:57 AM   #4
locrian
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Well, while fdisk tells me the drive is good, chkdsk (from windows disk) tells me it has one or more unrepairable errors. Booting from the windows disk shows no files on the drive, and lists the wrong size for the drive. From linux the drive looks okay from fdisk, but "ls" shows nothing, and viewing through konqueror shows lots of junk files.

I have done fixboot and fixmbr, and I believe, after reading online, that I've done them correctly. However, I'm also certain fixmbr messed up the partition table.

I'm familiar with qtparted, but unfamiliar with how to use it to repair the partition table. Should I just repartition the drive?

Thank you both for your responses. I really appreciate any help I can get here!
 
Old 06-27-2006, 02:52 PM   #5
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
That does sound hosed... I doubt FIXMBR is the culprit though, as it doesn't even touch the partition table (it writes known bytes to the start of the MBR, leaving the partition table as-is). Has anything else changed on the system recently? Is it possible the BIOS access method for the drive wasn't LBA previously? Are there any errors relating to hdb or the IDE controller in your Linux system logs?
 
Old 06-27-2006, 07:09 PM   #6
locrian
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I don't know how to look and see if there are errors for the drive with linux. However, this happened with my only having logged onto linux maybe twice, which is one a different hd, and I never mounted the one that's corrupted. So i doubt there's much in the way of logs.

The ONLY thing that happened to that drive between when it worked and when it didn't:

1) I accidently installed GRUB on it
2) I tried to use the windows disk to undo that through the use of fixmbr

Now its fuggered.

Am I really out of luck? This seems so much like something that should be fixable.
 
  


Reply

Tags
corrupted, partition, table



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
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 11:04 AM
Messed up partition table and Windows' partition boot sector pyromithrandir Linux - General 32 04-08-2006 12:26 PM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM
Booting from an extended partition - need a partition table editor Ouch_Taser Linux - General 2 02-10-2004 06:22 PM
strange partition table - boot partition empty etanter Linux - General 0 12-23-2003 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:58 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
Open Source Consulting | Domain Registration