Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

syntax for Linux entry in grub.conf

Asmirnov-OracleApr 16 2013 — edited Apr 18 2013
Hi,
I have Windows 7 and OL 6.4 on a Lenovo laptop with UEFI firmware and I have a problem booting Windows from the default GRUB installation.
Would be great if someone who could make work dual boot on a UEFI machine could share a GRUB entry for the windows portion.
The default entry which is generated looks like

title Windows
rootnoverify (hd0,2)
chainloader +1

In my case if I select this option during boot I am getting Invalid EFI filepath message, Linux boot works fine.
Now someone from ubuntu forum pointed out this

menuentry "Windows 7 UEFI" {
search file no-floppy --set=root /efi/Microsoft/Boot/bootmgfw.efi
chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}

here
http://ubuntuforums.org/showthread.php?t=2135762&p=12604528#post12604528

I can not comment on the above, certainly it may be Ubuntu specific, but if someone can the WORKING grub entry for windows7 or windows (I have Windows 7) would be really great!

Thank you

P.S. one more - what is the correct GRUB syntax to propagate the changes done to the grub.conf file?
This post has been answered by Dude! on Apr 17 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2013
Added on Apr 16 2013
11 comments
1,830 views