Fedora Core Doesn't Like to Dual Boot? 608
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."
Now (Score:4, Insightful)
Not comparable (Score:5, Interesting)
Re:Not comparable (Score:3, Insightful)
This is a REAL problem, and many people are going to end up losing a lot of data because they won't know how to fix their MBR's or their partition tables or whatever it takes. There's more info in the bugzilla report, but it only affects drives larger than ~120GB (or so) and SOMETIMES can be f
Re:Not comparable (Score:3, Insightful)
Re:Not comparable (Score:5, Informative)
Actually it affected me with my 30GB drive as well. Fixmbr didn't seem to work, but recreating the partition table using sfdisk did seem to work:
sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
Re:Not comparable (Score:5, Interesting)
I've tried every release of fedora just to see how it would work (betas, etc included), it is always a buggy piece of crap. I'll NEVER try fedora again.
Re:Not comparable (Score:3, Insightful)
Also, my partition table isn't f00bar'd.
Re:Not comparable (Score:4, Interesting)
One distro I am keeping a very close eye on is SUSE. Since novell bought suse and ximian it has a lot of potential; especially in the workplace. SUSE _could_ be the distro that breaks into large offices everywhere (they all have in one or another..).
Not Fedora. (Score:5, Informative)
Switching to Debian won't help if you want Linux kernel 2.6. Your paritition table will be fubared.
Furthermore, people do know what's causing the problem. The Linux kernel now doesn't show the same disk geometry as the BIOS does. The fix is to use sfdisk to recreate the partition table.
Ooops, there was supposed to be a hyperlink there (Score:5, Informative)
Re:Not comparable (Score:4, Interesting)
Re:Not comparable (Score:5, Funny)
Re:Now (Score:5, Insightful)
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.
Not a problem (Score:2, Insightful)
Re:Not a problem (Score:4, Funny)
I think a headline on the biggest news channel on the internet should serve as a good enough warning
Re:Now (Score:3)
Re:Now (Score:4, Insightful)
I think we should wait to see how long until this bug is fixed before we accuse redhat of doing this on purpose.
Re:Now (Score:5, Informative)
Re:Now (Score:3, Insightful)
At least with Fedora, it's an accident. It's hard to tell why this happened. It's very unlikely that it was intentional, and there is little reaon to make comparisons to typical MS behavior.
Re:Now (Score:5, Insightful)
Still, this is a very serious problem.
From what I've heard it seems to be a problem mainly with dual boot where you have each OS on a separate drive, rather than both on the same partitioned drive.
I finally got mine working by reversing the drives that grub thought everything was on. Windows was on primary master, and I installed Fedora on primary slave. Rebooted and it was dead. It turned out that setting grub to point at hd1 for Windows and hd0 for Fedora got things working. I have no idea why.
Windows still doesn't work, I think the Wndows bootloader that grub forwards on to has been corrupted, but I haven't looked into this in detail yet, I was lucky that most of my data storage is on my house server.
Re:Now (Score:5, Informative)
Since you swapped your HD's around, the disk #'s are now different, therefore it won't boot.
Re:Now (Score:3, Interesting)
Before installing, I updated my BIOS and AGP firmware. Since I couldnt reboot and still be downloading the torrents, I just rebooted after I finished burning. Well the install went smooth, and booted to FC2. I updated/installed what I needed and went to go finish fiddling with XP. Grub hung. After trashing my boot sector with the recovery CD (for XP), I realized that my BIOS was seeing my XP drive as CHS instead of LB
Re:Now (Score:5, Interesting)
Re:Now (Score:2)
Re:Now (Score:5, Informative)
Re:Now (Score:4, Insightful)
Do you have a reference which describes what a technically valid partition table is, how the XP partition table is somehow "technally invalid", or anything else to support your assertions?
Re:Previous Linux partition tables invalid? (Score:4, Informative)
Re:Previous Linux partition tables invalid? (Score:5, Informative)
The sfdisk solution on Fedora's bugzilla fails when sfdisk figures a partition does not start at the right cylinder boundary. Apparently, one can try to change the head count only for the windows boot partition, with the hope that it fixes the boot-through-grub problem (I am yet to try this). I guess the biggest problem is for people who don't have an LBA option in BIOS.
As a proof that it's not Fedora-related, I have the same problem with mdk10.
Finally, there seems to be no problem if one sets up the installer's kernel to use LBA access for the hd (no switching to CHS occurs).
Re:Now (Score:5, Insightful)
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?
Re:Now (Score:5, Insightful)
Re:Now (Score:3)
What about it?
"A consistant reply of "These aren't the window managers you're looking for," hardly seems to fit the bill."
A consistant reply of "This isn't the (insert name of some Windows software here) you're looking for" hardly seems to fit the bill.
Yeah big deal, some software is better than other software in certain circumstances. That's life, get over it. And some digital cameras are better than others in specific ways.
"t's okay if it munges data and
Re:Now (Score:5, Informative)
sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
(I may have needed a --force in there as well). After that, I was able to set the mode back to "Auto" and both Windows XP and FC2 would boot. Note that all I did though, was basically just recreate my partition table by dumping the info provided by sfdisk and piping it back in sfdisk.
One explanation I read is that the Anaconda screws up the CHS values in the partition table. Windows uses both CHS and LBA, and so when it reads the CHS values it cannot boot. However setting the mode to LBA manually in the BIOS forces Windows to read the LBA values. Linux only uses LBA, so it doesn't matter what mode your hd is set to in the BIOS.
Of course, I don't really know what I'm talking about, but if someone could provide a better explanation...
Re:Now (Score:5, Funny)
How crazy is that?</sarcasm>
... doesn't like to boot alongside Windows (Score:4, Funny)
Re:... doesn't like to boot alongside Windows (Score:3, Funny)
Fedora, I salute you.
Re:... doesn't like to boot alongside Windows (Score:5, Funny)
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.
W2K3? (Score:4, Informative)
IF it boots at all! (Score:3, Interesting)
There are known incompatibilities with some ASUS boards but it seems there are more boards affected. I am really disappointed since I wanted to review Core2 for a german Linux magazine and I am in trouble now. It looks like I will have to test it on another box but I will also have to tell my audience about the installation trouble.
Very sad since Core1 looked pretty promising and I had high hopes for Core2.
Re:IF it boots at all! (Score:2, Informative)
Re:IF it boots at all! (Score:2)
Re:IF it boots at all! (Score:2)
Saved me the headache at least.
Caused by extra kernel patches? (Score:2, Interesting)
Re:Caused by extra kernel patches? (Score:2)
How about we get a fscking clue before posting? (Score:3, Informative)
Some hints for safe partitioning (Score:4, Informative)
2. Install grub in an older, safe system. You should have grub installed already, if you have been using Linux on the machine previously. I never install bootloader anymore, I've been using the same one forever. Just edit the grub config to point to new kernel & root system.
3. Grub should be on the beginning of small boot partition. Never on MBR, if you can avoid it. Always create a 80MB or so partition on the start of every disk, even if you don't plan on using it (yet). This also applies to secondary disks. Kernels should always go to these partitions.
Re:Some hints for safe partitioning (Score:3, Informative)
Re:Some hints for safe partitioning (Score:2)
1- boot from CD by holding down the C key
2- launch disk utility, enter partition sizes and reboot
3- there is no step 3 !
Re:Some hints for safe partitioning (Score:5, Informative)
Re:Some hints for safe partitioning (Score:3, Informative)
Dunno about that, but it is definitly available on SystemRescueCd [systemrescuecd.org]
its a hardware problem (Score:5, Informative)
It turns out that the bug (#115980) [redhat.com] 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.
Re:its a hardware problem (Score:5, Funny)
I am so disillusioned right now.
Drive geometry fixed if for me (Score:3, Informative)
Re:Drive geometry fixed if for me (Score:3, Informative)
Lba will allow the chs of the drive be translated to another value in the bios giving it the ability to adress larger drives. one thing that is strange about lba is that it is stored in the boot sector of the partition and is dynamicaly created by the
Re:Drive geometry fixed if for me (Score:3, Informative)
Re:its a hardware problem (Score:5, Interesting)
Actually if you check Mandrake's bugzilla, they have the same problem. You can check it out at here [mandrakesoft.com]. Mandrake listed the bug as resolved/fixed although it doesn't look like it actually was fixed.
Re:its a hardware problem (Score:5, Informative)
FC2 + WinXP run fine here (Score:2)
Cheers.
The Fedora says: (Score:3, Funny)
3rd party bootloader? (Score:2)
Since Feburary?! (Score:2, Insightful)
Mandrake also (Score:5, Informative)
Re:Mandrake also (Score:5, Informative)
Mandrake Bug [mandrakesoft.com]
SuSe Bug [eweek.com]
Read This Page [rulez.org] If you want to find out whats responsible.
Mandrake 10 Official still has this (Score:3, Informative)
Way Too Buggy (Score:5, Interesting)
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
VIA C3 Problem (Score:5, Informative)
Ingo and others are currently working through this one to try and find the cause. At the moment nobody is sure if it is a Linux bug or a CPU errata being tripped.
Totally irresponsible (Score:2, Insightful)
Re:Totally irresponsible (Score:3, Informative)
Nobody bothered to test parted with the 2.6 kernel AND on various BIOS and HD geometries to see if it worked right. Which is not too surprising considering how much testing that would have entailed on Red Hat's part. The parted people, however, should have done it. Apparently they didn't.
Given that parted has screwed up before, this is not surprising.
Lessons learned: don't use parted for partitioning.
Here's your trouble... (Score:5, Insightful)
http://mailman.linux-thinkpad.org/pipermail/linux
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.
Use Separate Disks (Score:5, Interesting)
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.
Re:Use Separate Disks (Score:5, Informative)
Related issue (Score:3, Informative)
Envy (Score:5, Funny)
Works great for me (Score:2)
The only problem I had has been mentioned before, and that is with the X drivers for the Radeon 9600SE
Its really just a simple matter of physics... (Score:2)
While MS has set out to intentionally make using competitors software difficult to install and use along side windows, if not in digital reality then certainly in mental reality....
live by the s-word/code....and die by it....
...Could it be this problem? (Score:4, Informative)
I had a similar booting problem when installing Gentoo. As Gentoo is very hands-on, and has quite a community, it was easy to find the fix.
First, the fault is Microsoft's. (Seriously, did you expect anything else?). The point is that Windows XP is a hog which believes that it is the one and only system on the computer. Therefore, if it is not on hda, it will put its hands on its ears and start singing aloud "La-la-la-la I can't hear you!". 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)
chainloader (hd1,0)+1
I'm not aware of how much Fedora lets the user write their grub.conf, but if they have a GUI tool, it might just not be programmed for this. After all, on my office machine, where Windows has been left on hda1, things works well out-of-the-box. Maybe they assumed everybody would use this configuration.
MOD PARENT UP! (Score:3, Interesting)
Re:...Could it be this problem? (Score:5, Informative)
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.
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.
Ahh... (Score:2)
Windows 2000/XP Doesn't Like to Dual Boot? (Score:2)
Or is this some sort of Windows "special feature?"
Runs fine on T40, but hosed "hidden" partition (Score:4, Interesting)
OK, just use the XP bootloader (Score:5, Informative)
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.
Not true (Score:4, Informative)
Evil Bug. Simple Fix (Score:5, Informative)
To fix it:
-If you don't already have it, get and install sfdisk (there are RPMs out there, no deps)
Run (presuming your hdd is hda) as root "sfdisk -d
You may have to cd to sbin and replace sfdisk with
That command ran, and then i could run WinXP from Grub just fine
However, FC2 has many other major bugs that I and others have found:
- Nvidia drivers don't work (i know it's nvidia's fault, but it's a stumbling block)
- As Xorg is in use, ATI drivers are a bitch to install (although if you use google there is a very good howto out there).
- The kludge i had to use to get software mixing working (dmix under alsa) was inexcusable. With alsa in 2.6, you'd think by default you'd have software mixing. An OS where I can't listen to XMMS and hear GAIM alerts at the same time is just ludicrous. Even sillier is the fact that GAIM alerts are queued, so when i close XMMS i get a minute solid of notification noises playing. Simultaneous sounds SHOULD work out of the box. Esound and arts are not in the equation any more, as alsa mixing is a much better solution - so why isn't it implemented?
- Totem just won't work. G-Streamer broke totally shortly afterwards.
- There's no easy way to edit your applications menu, without either SUing, or logging in as root. This seems daft for a multiuser OS like linux.
I know these bugs aren't Fedora only, but they need addressing if Fedora wants to remain OS of choice for many.
No Firewire Either (Score:3, Insightful)
Re:No Firewire Either (Score:5, Informative)
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.
Worked for me (Score:3, Informative)
In my case, no problem. I repartitioned according to the existing scheme and did a clean install of FC2, which worked fine, and had no problems booting WinXP.
Dynamic Disks (Score:5, Informative)
Anyway, as a wild-assed guess I'd check that out. Perhaps lilo/grub doesn't play well with dynamic disks.
I have an idea... (Score:3, Funny)
Oh yeah, and when we get our asses dragged into court, let's tell them that if we allow Windows to boot by itself, without typing the machine code, that would cause the computer to run more slowly, just as removing Internet Explorer would do for Windows 98.
Now This Bugs Me! (Score:4, Informative)
Red Hat 7.0, however, would blow on the system with absolutely no problem or complaint whatsoever.
After doing some partition work on my latest system with parted, Partition Magic 5 and Partition Magic 8 cannot in any way read my partition table. Windows (98 first, now 2000 and XP) loads fine, Linux (RH 7.3, Knoppix, other Live CD distros) loads fine, all other partition managers (BootItNG, Ranish) see and handle the partition table. ONLY Partition Magic cannot do anything with the partition table - and it is supposed to be the "premier" partition table manager on the market!
So now we have THIS crap with Fedora Core 2!
Guys, the partition table is NOT rocket science. It's a few bytes on a disk with a few variations in what each byte means. It's been around for decades.
So why in hell can't people who write this stuff GET IT RIGHT? What is the goddamn problem with you programmers?
I realize that hard disk manufacturers are constantly screwing around with their geometry reporting to the BIOS, and of course not writing any Linux drivers, but still a bug of this sort should not exist in any modern OS.
Get it together.
Re:It doesn't mess things up for everyone (Score:2)
I've had problems on one computer, and no problems on another.
On this box here where I just stuffed FC2 into existing partitions (yay for LVM!), I've had no difficulties at all. I dual boot this system to Win2K on rare occasions, to play a game I can't play in Linux. I just purchased Far Cry, and it isn't well supported in WineX yet, so I dual booted yesterday, and it worked fine.
The other installation was for a friend, and I had weird BIOS deciding the drive was LBA/not LBA problems when I installed.
Re:It doesn't mess things up for everyone (Score:2)
Re:It doesn't mess things up for everyone (Score:2)
Re:Want a community driven distro? (Score:2, Funny)
Give it up man. *many* distros have got "bootloaders" down pat. This is just a bug, one I'm sure they're fix.
Besides Gentoo is *so* much better than Debian....
Re:So THATS why windows partition is borked =\ (Score:2)
Actually if you don't have any real reasons to use Slack current you can just use a stock Slack9.1 installation but I highly encourage you to try Dropline Gnome since it's really fun and the best
Re:So THATS why windows partition is borked =\ (Score:3, Informative)
Fedora, not GRUB. (Score:2)
Re:jesus... (Score:5, Informative)
Re:WIN XP and Fedora Worked for me as well.... (Score:3, Informative)
My understanding is the issues lie when the partition table is edited. Upgrading generally doesn't modify the partition table.
There are also reports of people who don't have problems - it depends in the end on the BIOS. Some say using LBA on your drives solves the problem as well vs. the default Auto (CHS).
Re:It seems to me (Score:4, Informative)
It has worked fine for me in every Redhat since 6.0 and every Mandrake since 7.
PartitionMagic has also worked, although there were some issues with PM 7 that repartitioning with DiskDrake solved.
Re:No Kidding! (Score:3, Informative)
Do not use parted or Partition Magic - parted is not reliable and Partition Magic can't handle partition tables after parted has screwed them up.
Also, apparently, make sure your BIOS is set to LBA mode, not Auto or CHS.