Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-04-2005, 11:52 AM   #1
LQ Newbie
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
Unhappy Broken partitions


Hope someone here can help me...
I have a dual-boot system (Win XP and Fedora Core 2).
This is how my drive was partitioned (from memory ):

hda1 - Primary, Bootable, Active - NTFS
hda5 - FAT32
hda6 - NTFS - Windoze XP installed here (yup, not on the primary partition)
hda7 - ext3 - Linux boot
hda8 - ext3 - Fedora Core2 installed here
hda9 - linux swap

For some (unfortunate) reasons I did the following things to my /dev/hda:

1. Resize down the hda5 partition with parted by placing the End to something like 60 000. -- I wanted more space for the hda6 partition but I changed my mind when it came to changing the Start of hda6 - it would have screwed with my XP boot sequence, right?

2. Tried to fix the Fedora Core 2 bug - the one which prevents XP from booting by specifying a bad disk geometry ( - although my sistem booted XP just fine.
I issued:
# sfdisk -d /dev/hda > part.txt 
# cat part.txt > sfdisk --no-reread -H255 /dev/hda
Due to warnings that the hda5 partition does not end on a cylinder boundary I tried to...

3. Resize up the hda5 partition the maximum extent possible. I entered in parted as the End address for hda5 the Start address for hda6.

After this step mounting either hda5 or hda6 would result in a

wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems

and XP failing to boot with a file not found or corrupted error about a hal.dll if i'm not mistaking.

5. As these partitions contain important data I tried to fix what I've done. I tried to resize back hda5, but I couldn't do anyting to the hda5 or hda6 partitions with neither fdisk, sfdisk or parted as they would issue some errors as "bad partition, you have done somthing to it you bad boy!".

4. Growing desperate I tried fixboot and fixmbr from the XP install CD. These command totally screwed-up my partition table so every linux/windoze partitioning tool now sees only one large partition on the drive.

So... what to do... Help! Please bear in mind that i'm a linux rookie. The most important data is on the hda6 XP partition (My Documents and .mbx files -- my emails).

Thank you in advance.

Cristi D.
Old 06-04-2005, 02:06 PM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
try some partiton recovery tool
i know one of

Acronis Partittion recovery

Old 06-09-2005, 01:57 PM   #3
LQ Newbie
Registered: Jun 2005
Posts: 2

Original Poster
Rep: Reputation: 0

Actually i used a system rescue linux live cd which had a program called Gpart which guesses how your partitions were, prior to the destruction and rewrites the partition table based on these guesses. So I managed to boot XP and save my hda6. Afterwards i could have used some data recovery software (something like getdataback) on my hda5 but XP had chkdsk-it at start-up and made a mess full of .chk files on it so I let it go...

Hope this helpes someone...

Cristi D.


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
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
su is broken Smokey Slackware 1 01-29-2005 02:31 PM
lilo - partitions broken ebil Linux - Software 3 11-02-2004 09:04 PM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM
X is broken jclark00001 Linux - Software 6 04-27-2003 07:56 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:48 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