6

How to make a partition active using GRUB?

view full story
linux-howto

http://forums.fedoraforum.org – Hi everyone! First of all, sorry for my English. I got this problem and I hope you can help me :) I've installed 4 OS on my laptop: Windows XP, Windows 7, Windows Server 2003 and Fedora 10. I've formatted the HDD so that it had 3 primary partitions and 2 logical partition. I installed each Windows OS on a primary partition, and Fedora on a logical partition, as you can see in this figure: (I did this due to security reason. For example: if viruses infect on the partition contain Windows XP, it cannot infect the two partitions contain Windows 7 and Windows Server. And with this method I can uninstall any Windows OS I want safely). I've also chosen to install GRUB on MBR. I've configured the file grub.conf so that it can display all these OS on the menu. If I want to boot a Windows OS, I must active the partition that contain that Windows OS, because all Windows OS are on primary partition, and of course the other primary partitions must be hidden. For example: at this time, the primary partition contains Windows 7 is active, all other primary partitions are hidden. And the menu is like this: Fedora 10 Windows XP Windows 7 Windows Server 2003 I can just select and boot to Fedora and Windows 7. If I choose Windows XP or Windows Server 2003, I'll get the BSOD (I think because the partitions contain them are hidden). If I want to boot Windows Server 2003, I must use a tool like Partition Magic (on the Hiren's Boot CD) to set active the partition contains Windows Server 2003 (all other primary partitions are automatically set to be hidden). Same for Windows XP. My question is: is there any way to active a primary partition using GRUB, so that I can boot any OS on that is on primary partition without using another tool? I'm new to Linux, please help me. Thanks very much ^^. (HowTos)