Slashdot Mirror


Fedora Core Doesn't Like to Dual Boot?

schwatoo writes "It seems Fedora Core doesn't like to boot alongside Windows 2K or XP. According to a bug first reported in February on Fedora's bugzilla site it has a tendency to chew up partition maps making it impossible to dual boot into Windows. No one seems to know quite what is causing the problem and a lot of people are ending up with unbootable machines."

23 of 608 comments (clear)

  1. Not comparable by Anonymous Coward · · Score: 5, Interesting

    I am nearly 100% sure that the Redhat people are going to straighten this out, if it was a windows problem you know who'd straighten it out? The people on the GRUB or LILO team.

    1. Re:Not comparable by Luguber123 · · Score: 5, Funny

      In the Microsoft world this would be considered a feature.

  2. Re:Now by lazy_arabica · · Score: 5, Insightful
    if this was a Microsoft problem the amount of bitching and conspiracy theories would never end. Lets see how it plays out.
    Stop trolling, and let people speak. I am bored of Microsoft / Linux zealots bashing each other before they even post.

    By the way, there is a Microsoft problem, as the Windows installer destroys the MBR where lilo/grub is usually installed - at least, it was true in win2k and XP. And I didn't see any slashdot story about that.
  3. its a hardware problem by ozzy_cow · · Score: 5, Informative

    Copy and paste from here


    It turns out that the bug (#115980) is a result of a few subtle but key changes within the 2.6 kernel. A certain functionality with regards to hard disk geometry has been pulled out, as the kernel developers thought it would be better if userspace utilities took care of this instead. The Bugzilla bug is related to CHS geometry problems, which most likely stems from an error within the parted utility, addressing the BIOS incorrectly. It turns out that BIOS updates tend to fix problems for many users that have been bitten by this "bug". On newer machines, this is basically non-reproducible.

    1. Re:its a hardware problem by Epistax · · Score: 5, Funny

      Thanks a lot. We get an interesting topic and you had to go and look up the answer. I thought the whole point of slashdot was an understanding that none of us actually read the article, let alone find new material on the matter!

      I am so disillusioned right now.

    2. Re:its a hardware problem by hurtta · · Score: 5, Informative
      Actually if you check Mandrake's bugzilla, they have the same problem. You can check it out at here. Mandrake listed the bug as resolved/fixed although it doesn't look like it actually was fixed.
      On there is quite good description what is happening:
      Part of the reason I could not understand the bug, is that I could not
      believe windows XP was still using the error prone int13 function 2
      (CHS based) instead of the (available everywhere for some time) int13
      function 0x42. Under linux, grub and lilo only use function 2 when
      function 0x42 fails (they don't even ask the BIOS if it manages 0x42
      since some BIOS don't report correctly having this functionality, cf
      FORCE_LBA in grub)

      The other reason is that I thought BIOS faking heads number (the
      so-called LBA mode) was a choice independant of the content of the
      drive. This is wrong, the BIOS tries to adapt its mode based on the
      partition table [1]

      So here is what happened:
      - kernel 2.6 doesn't try to give the logical geometry, and gives the
      physical geometry instead [2]
      - diskdrake uses the physical geometry to generate the CHS information
      (which is a broken duplicate of the linear sector number)
      - the BIOS sees the partition table uses a different CHS geometry, and
      adapt to it
      - ... and Windows computes the CHS to read its stage1.5 based on the
      previous geometry that it keeps in its boot sector. Alas the CHS
      doesn't get the same sector and Windows's boot dies (with very bad
      error detection) [3]
      That is comment 21. That same comment indicates that problem is fixed:
      Code fix description: inspired by the way new fdisk and parted detects
      the logical geometry based on the partition table [4]. parted code
      is especially quite robust.
      The fix is now included in cooker (DrakX #1.912), so:

      I still would like to access the BIOS geometry, esp. for empty
      partition tables. But kernel 2.6 doesn't give us this
      (/sys/firmware/edd/int13_dev80/default_heads is plain wrong on a box
      here)

      Known workaround: forcing LBA mode in the BIOS
  4. Mandrake also by cyphr555 · · Score: 5, Informative

    Mandrake 10.0 Official also suffers from this problem. This is leading many to believe that it is an issue with the 2.6 kernel, rather than a specific distro.

    1. Re:Mandrake also by Pros_n_Cons · · Score: 5, Informative

      Finally half way down the thread someone admits It's not just a Fedora issue. SuSe 9.1 also has the problem
      Mandrake Bug
      SuSe Bug
      Read This Page If you want to find out whats responsible.

      --

      -- "of course thats just my opinion, I could be wrong." --Dennis Miller
  5. Way Too Buggy by Ed+Almos · · Score: 5, Interesting

    Fedora Core 2 doesn't like to boot at all, never mind just dual boot systems. So far I have tried installing FC2 on two systems (PII laptop and VIA C3 machine) and both of them fail. The laptop insists that there is not enough disk space and then borks out and the C3 machine just reboots in an endless cycle.

    For those who follow Bugzilla the numbers you need are 121819 if you have an ASUS motherboard and 120685 if you have a VIA C3 system. The second link for the C3 is much more involved and a number of the posters are deep into the kernel architecture at the moment.

    This is not good, I thought that the test releases were supposed to pick things like this up ?

    Ed Almos
    Budapest, Hungary

    --
    The more corrupt the state, the more numerous the laws. - Tacitus, 56-120 A.D.
  6. Re:Now by akeru · · Score: 5, Interesting

    If the poster had bothered to do his homework, he'd discover that it *is* a Microsoft problem; Windows XP refuses to boot with a valid partition table and the FC2 installer tries to fix the invalid, but usable, partition table written by XP. Bottom line is it's a Microsoft bug that installing FC2 triggers. Yes, it can be worked around in the installer, but that doesn't change where the actual bug lies. In all likelihood there will be an update to fix the problem, but faulting FC2 for breaking dual boot with XP is absurd considering that XP goes to a lot of effort already to make it difficult.

    --

    Let's hope that there's intelligent life somewhere out in space 'Cause there's bugger-all down here on Earth.

  7. Here's your trouble... by MsGeek · · Score: 5, Insightful
    This article has more info:
    http://mailman.linux-thinkpad.org/pipermail/linux- thinkpad/2004-May/017754.html

    Here's a quick executive summary for those who don't want to read the thread:
    Linux 2.6 kernels started to report bogus disk geometries thus some unadjusted partitioning tools create bad partition table resulting unbootable Windows.

    --
    Knowledge is power. Knowledge shared is power multiplied.
  8. Re:Now by Timesprout · · Score: 5, Informative

    well it was first reported in Feb so oviously they are in no great hurry to fix it.

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
  9. Use Separate Disks by Blarfy_Snarflepoop · · Score: 5, Interesting
    We have a policy within our Department of Computer Science that if you're going to have a dual-boot machine, you have to have separate disks. Considering how cheap hard drives are, no one puts up a fight - and I swear that it has saved us so much hassle - use Ghost for the windows disk, and kickstart for the Fedora disk. Countless hours (and headaches) have been spared with this method.

    We wondered if this bug would affect us - and went with rolling out FC1 instead - the kernel 2.6.x + Nvidia driver issue (which I gather will be fixed soon), as well as this seemed too scary.

    --
    No sig for you.
  10. Envy by WinterpegCanuck · · Score: 5, Funny

    You got to know someone at M$ is pissed they never thought of it before.

  11. Re:Now by DJStealth · · Score: 5, Informative

    The windows boot loader searches a file called boot.ini, inside it, it contains disk and partition numbers.

    Since you swapped your HD's around, the disk #'s are now different, therefore it won't boot.

  12. Re:Now by Senjutsu · · Score: 5, Funny

    Wow, can you believe it?? People have different standards of conduct for convicted monopolists than they have for honest companies. And they're willing to cut a company that hasn't pulled this kind of crap before more slack than a company that makes a habit of it.

    How crazy is that?</sarcasm>

  13. OK, just use the XP bootloader by Sleepy · · Score: 5, Informative

    I hate to rain on people's parades, but if you're making a system dual-boot with Windows, the conservative/safe thing to do is NOT install a bootloader.

    Just use the one that comes with NT/XP. Of course it is limited in features (esp. compared to GRUB) but it works.

    It's not a ton of work either:
    Write a LILO bootloader to a partition, use 'dd' to copy that to a file (floppy helps), copy the "file" to Windows, and edit boot.ini to point to it.

    Sure, it's not automated, but we're talking just a few steps, and then your're 100% confident that the next upgrade of Windows will not choke.

    It would be nice if the PC industry could get "all OS vendors" to agree to universal bootloader, and maybe even get it in the BIOS, but the situation is what it is. You've got to be very careful when dual booting, especially with BETA software.

    Sounds like the GRUB and kernel people need to work closer together. I don't know about GRUB, but the kernel has some pretty good testsuites so I am surprised this was not caught by the Linux Test Project (LTP). I'm hearing it's actually a 2.6 kernel problem, and since not a lot of people have upgraded to 2.6 we're hearing about it now.

  14. Re:Now by Graftweed · · Score: 5, Insightful

    Before installing Fedora everything's fine, after installing it people lose the ability to boot into windows. It's as simple as this really. How can you expect linux to take over the desktop with the kind of attitude you just displayed?

    Yes, MS is partly to blame, but joe user won't give a rat's ass about the finer points of booting operating systems, he'll just (quite rightly) blame fedora and be done with it.

    Furthermore this is a bug that's been around for a few months, even before the release of Core 2 so there's really no excuse for this sort of thing. If you're designing an OS to run alongside others it's your responsibility to make sure it doesn't break anything, even if the others are broken somehow.

    Please don't tell me 'Oh, but MS doesn't do this!', that's really no excuse is it?

  15. Re:Some hints for safe partitioning by UnderScan · · Score: 5, Informative

    It may not be necessary to completely format and wipe clean the HD if you lose the partition table. To repair/write a partition table to disk, normally you might use fdisk and have to hand enter the sectors/blocks boundaries of the partitions.There is a open source tool called gpart. gpart will guess the partitions on the HD and can also write a new partition table to HD. I have had an instance where electrical outages & fluctuations caused the HD to lose its partition table. The table was inacurately identified the HD as one FAT16 patition when there was really a linux partition and a swap partition. gpart was able to clear this up and I did not lose and data. Go to http://www.stud.uni-hannover.de/user/76201/gpart/ to get the source or a binary for linux and freebsd. I think gpart is available on knoppix and perhaps also Gentoo LiveCDs.

  16. Re:...Could it be this problem? by Sigma+7 · · Score: 5, Informative
    I have Linux on my hda, and WXP getting dustier and dustier on hdb. It would not start until I added the following lines in grub.conf:

    title=Windows Xp
    rootnoverify (hd1,0)
    map (hd1,0) (hd0,0)
    map (hd0,0) (hd1,0)

    If you have to do that, then that means you've either moved a hard drive around, or did not install Windows XP in the directory it currently runs on (with the path including Drive and partition numbers.)

    The solution is to modify Boot.ini in order to update the pointers to the Windows directory. You can either modify the raw references to the disk and partition number, or change it to a Dos-style path of "C:\WINDOWS". If you really wanted to, you can even run install multiple copies of Windows XP on the same partition (with features such as System Restore being considered unstable.)

    As you should know, Bootstrapping requires an absolute path pointing to an application, even on Linux. If the absolute path on the hard drive changes, the absolute path given in or to the Bootstrap must be changed as well.

    Maybe they assumed everybody would use this configuration.
    No, they assumed that everybody would not change partitions or hard drives around after the Windows XP installation. This is a fairly reasonable assumption, since modifing partition tables or hard drive configurations implies that you know how to restore operating systems to a workable state if something messes up.

    It's also why you see warnings with reparitioning software to backup your harddrive. If something breaks and you don't know how to fix it, then you have something to fall back to.
  17. Re:No Firewire Either by tuffy · · Score: 5, Informative
    There isn't firewire support compiled into the kernel. If you want to connect an iPod or use any other firewire devices you have to recompile the kernel. That is a really stupid omission especially when it was reported in bugzilla during test 2!

    From what I remember, not only was Firewire unstable in time for release, but was causing instability even for people without Firewire. I'd rather they held off on including it until it is stable rather than risk data loss by including it prematurely.

    --

    Ita erat quando hic adveni.

  18. Re:... doesn't like to boot alongside Windows by Waffle+Iron · · Score: 5, Funny
    I refuse to associate with zealots of any kind.

    Hmm... So you're one of those anti-zealot zealots.

    I'm trying to figure out what zealot-free system you'll be able to run...

    Linux? right out.
    Windows? Nope: OSS is "a cancer", DEVELOPERS! DEVELOPERS!
    Sun? No, they were head ABM cheerleaders until a couple of weeks ago.
    Apple? Obviously not.
    Amiga? Nope: the OS was perfect in every way, only a conspiracy kept it down.
    VMS? Ditto
    OS/2? Ditto
    BeOS? Ditto
    *BSD? Maybe, but then again there's more than a few anti-viral license zealots
    Netware? Possibly, but now they're in bed with SuSE.
    Tandy TRS-80: That's the ticket. Nobody will admit to having used it, much less spew zealotry about it. What's more, you can pick up spare machines on ebay for a couple of bucks.

  19. Ooops, there was supposed to be a hyperlink there by Nailer · · Score: 5, Informative

    The fix is here.