This discussion is archived
1 Reply Latest reply: Jun 7, 2013 6:27 AM by Dude! RSS

Redhat 6.4 - grub.conf entry to boot Windows?

599860 Newbie
Currently Being Moderated
Dear Experts,



I have a server and three hard disks.



One disk has Redhat 5.5 on it.

One disk has Windows 7.

The third has Redhat 6.4.





I've been trying to configure grub to boot any one of the three I choose.



To begin with, all disks work perfectly fine stand alone.



If you disconnect all cables except for the one disk, that one disk will boot perfectly fine.





---



Redhat 5.5 grub.conf:



default=0

timeout=9

splashimage=(hd0,0)/grub/splash.xpm.gz

hiddenmenu

title Redhat 5.5 Enterprise Linux-base (2.6.18-194.el5)

root (hd0,0)

kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet

initrd /initrd-2.6.18-194.el5.img

title Windows 7

rootnoverify (hd1,0)

makeactive

chainloader +1

boot



---



Redhat 5.5 boots Windows 7 perfectly fine.



What was really nice about this method, is that I no longer have to modify the Windows MBR, and the two disks are no longer married to each other.





-------------



Then I installed Redhat 6.4. But it's been a struggle since then.



---



Redhat 6.4 grub.conf:





default=0

timeout=5

splashimage=(hd0,1)/grub/splash.xpm.gz

hiddenmenu

title Redhat 6.4 Kernel (2.6.32-358.el6.x86_64)

     root (hd0,1)

     kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=UUID=d624839b-32e7-4e8a-8454-5a837cecd947 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

     initrd /initramfs-2.6.32-358.el6.x86_64.img

title Redhat 5.5 Enterprise Linux-base (2.6.18-194.el5)

     root (hd1,0)

     kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet

     initrd /initrd-2.6.18-194.el5.img

title Windows 7

     rootnoverify (hd2,0)

     makeactive

     chainloader +1

     boot



----



hd* is changed to reflect the new boot order in the BIOS.



---



Using this grub.conf on Redhat 6.4,

Redhat 6.4 and Redhat 5.5 will boot perfectly fine.





However, when attempting to boot Windows 7,

the process begins to start windows.



However, this error then occurs:



File:      \boot\bcd

Status:      0x0000001

Info:          An error occurred while attempting to read the boot configuration data.





There is also a message about using a boot repair disk.

However, this is a bogus message.

If I disconnect all other drives, Windows still boots perfectly fine.



----



More info:



rpm -qa | grep -i "grub"





Redhat 5.5:

grub-0.97-13.5





Redhat 6.4:

grub-0.97-81.0.1.el6.x86_64





---



For most of last night and today,

I've been googling, and trying grub shell commands.

To no avail.



Any ideas on how I can get Redhat 6.4 to boot Windows?





Thanks a lot!
  • 1. Re: Redhat 6.4 - grub.conf entry to boot Windows?
    Dude! Guru
    Currently Being Moderated
    Based on my experience which this topic, issues are often due to mixing GPT and MBR partitioned disks and boot loaders, which are incompatible technologies. Your computer might be able to choose BIOS or uEFI for booting, but it to my knowledge no system can dynamically choose between them unless you install a very special bootloader.

    I think dual boot is obsolete and generally provides no advantage over virtualization, such as Oracle VM VirtualBox. Most modern systems support type 2 hardware virtualization and are adequately equipped. Perhaps that is something to consider, which can add value to your computing experience.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points