LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-12-2005, 05:50 PM   #1
frankinmerth
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Rep: Reputation: 0
Fedora 3/winXP corrupted partition tables


Soo.. I decided to install Fedora the other night and OOooooh mumma am I having fun. Dual boot with Winxp, same drive, XP uses 2 partitions (one boot, one OS).

The first attempt went reasonably well up to the part where DD wouldn't let me create a swap, I had run out of primary partions and there was no extended partition to create a logical drive in (if DD even allows that??) so I got the thing going with no swap, and it was horribly slow. I figured it was the swap blunder, and started over. (In fact it was not the swap blunder, but some network issues I am pursuing elsewhere that may or may not include issues with IPV6 and tcp windows scaling etc).

The second attempt I got into XP and pulled out partition magic 8. I had an unused 50MB /boot for linux, a C: boot for windows (100MB), a 500MB unused SWAP for linux, an 8gig or so / for linux, and a 40gig or so windows OS partition. All was well, I blew away the partitions I did create with linux, did some resizing and came up with:

C: windows boot, big logical with a D: windows OS and room for a linux swap and /).

Back into linux.. created the 2 linux partitions, installed grub on the / partition, copied my linux.img over to windows and set up boot.ini for the bootloader (as per instructions on several pages), booted up linux and shazam.. no problemo. Things still dog slow (see earlier mention of unrelated network problems). Ok.. so far so good, but due to the wierdness I have to boot into windows to surf around looking for fixes.

Decided to run partition magic to see my handiwork and it said it was invalid HOLY MOLY here's what it showed in windows disk management:

http://members.shaw.ca/mr.murphy/PM8first1.jpg

Code:
===========================================================================================================
Partition Information for Disk 1:    58,643.5 Megabytes
Volume         PartType    Status    Size MB    PartSect  #   StartSect  TotalSects
===========================================================================================================
C:             NTFS        Pri,Boot    329.4           0  0          63     674,667
               ExtendedX   Pri      58,314.1           0  1     674,730 119,427,210
               EPBR        Log           0.0        None --     674,730          63
               EPBR        Log       9,154.2     674,730  0     674,731  18,747,854 
Warning #113: EPBR partition starting at 674731 overlaps previous EPBR partition.					
               Linux Ext3  Log       9,154.2     674,731  0     674,856  18,747,729
Info: Logical starting at 674856 is not one head away from EPBR.
               EPBR        Log         509.9     674,731  1  19,422,585   1,044,225
*:SWAPSPACE2   Linux Swap  Log         509.8  19,422,585  0  19,422,648   1,044,162
               Unallocated Log           7.8        None --  20,466,810      16,065
Error #113: Primary partition starting at 20482938 overlaps previous partition.
D:             NTFS        Pri      48,642.1           0  2  20,482,938  99,619,002
Yikes.. it offered to resize automaticall and I decided to let it try, it now came up as INVALID. But disk management now showed:

http://members.shaw.ca/mr.murphy/PM8first2.jpg

Code:
===========================================================================================================
Partition Information for Disk 1:    58,643.5 Megabytes
Volume         PartType    Status    Size MB    PartSect  #   StartSect  TotalSects
===========================================================================================================
C:             NTFS        Pri,Boot    329.4           0  0          63     674,667
               ExtendedX   Pri       9,672.0           0  1     674,730  19,808,208
               EPBR        Log           0.0        None --     674,730          63
Warning #113: EPBR partition starting at 674731 overlaps previous EPBR partition.
               EPBR        Log       9,154.2     674,730  1     674,731  18,747,854 
Info: Logical starting at 674856 is not one head away from EPBR.
               Linux Ext3  Log       9,154.2     674,731  0     674,856  18,747,729 
               EPBR        Log         509.9     674,731  1  19,422,585   1,044,225
*:SWAPSPACE2   Linux Swap  Log         509.8  19,422,585  0  19,422,648   1,044,162
               Unallocated Log           7.8        None --  20,466,810      16,065
D:             NTFS        Pri      48,642.1           0  2  20,482,938  99,619,002
Hey not shabby, much closer to what I thought should be there. I ran partition magic with an 'ignore partition errors' flag /IPE and it currently shows (although it considers this invalid):

http://members.shaw.ca/mr.murphy/PM8second.jpg

Despite all this manipulation it still boots both OS's fine from the windows bootloader. I am at a loss as to how to get rid of some of the wierdness with the EBPR entries that is obviously confusing things!

Any tips would be great!

Last edited by frankinmerth; 04-13-2005 at 05:08 PM.
 
Old 04-12-2005, 06:58 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Partition Magic isn't all that good with REAL Linux partitions, so if it works leave it and never use PM again with Linux installed on the drive.

It destroyed a Linux install some years back when I was in the process of switching. The filesystem got screwed by PM, when in fact nothing was wrong. Apparantly the people at Powerquest still don't know about this buggy behaviour.
 
Old 04-12-2005, 10:56 PM   #3
frankinmerth
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for the heads up, yeah its wierd.. they both boot, and each seems happy as an OS. My big worry was that there were still some wierd overlaps going on and one OS would wind up corrupting the other by writing over its data happily or something. EEK
 
Old 04-13-2005, 05:49 AM   #4
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
It's unikely that there is something wrong with the partition tables. Linux would be the first to complain if you mess up the tables. Something that happened to me while trying to run "dd" with two different hard disks and booting the copy.

You could take a look at the tables from Linux to see if that calms you Run "cfdisk /dev/hda" and use "Print > Tables" to look at the partitions in detail. Do be carefull not to apply any changes with cfdisk, simply quit the program after you printed the table.
 
Old 04-13-2005, 05:06 PM   #5
frankinmerth
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Will do, for now since I have enough posts I'll relink in the rest of the info above
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystems and Partition Tables blkmage Linux - Hardware 0 09-10-2004 05:15 PM
How do I recover old partition tables in linux? PsychoFarmer Linux - Software 5 01-04-2004 06:14 PM
Corrupted MySQL Tables cli_man Linux - Software 4 10-22-2003 07:49 AM
RedHat 9 Install Somehow Corrupted WinXP Boot jpence Linux - Software 7 09-03-2003 09:38 PM
MBR corrupted when dual booting WINXP and RH 7.3 cliveleung Linux - Hardware 3 06-19-2003 05:05 PM


All times are GMT -5. The time now is 06:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration