PDA

View Full Version : [ubuntu] Grub2 and Windows partitions



geohei
May 7th, 2010, 08:01 PM
Hi.

I upgraded from 9.10 to 10.04 (no fresh install, an upgrade). During the upgrade, the installer asked me for the harddisks and partitions to include. I gave him the following ones:

harddisk 1
1. Windows XP
2. Windows 2000

harddisk 2
3. Ubuntu 10.04

After the installation was complete, I could only start Ubuntu. Both Windows versions just showed a flashing cursor at the left upper top screen. No HDD activity!

What went wrong?
How can I get WinXP and Win2000 selectable within grub2?

BTW, neither Google, nor help.ubuntu.com could help so far.

Thanks,

oldfred
May 7th, 2010, 09:46 PM
Fix for most, a few have other issues:
http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Boot_Sector

This is what the instructions say (bold by me):
If you're unsure which drive is designated as boot drive by your BIOS, it is often a good idea to install GRUB to all of them.

It also says:
Note: It is possible to install GRUB to partition boot records as well. However, this forces GRUB to use the blocklist mechanism, which makes it less reliable, and therefore is not recommended.

It then presents a check box with all drives and partitions. So everyone (And I think it its everyone) checks all the boxes. Only drives sda, sdb, etc should be checked. Not partitions sda1, sda2, sdb1, etc.

Windows keeps essential boot data in its PBR partition boot record or boot sector. So you overwrote part of windows boot.

geohei
May 8th, 2010, 08:11 PM
This worked! Great!
Thanks a lot !!! :))

Bye,