Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub in bios mode to boot windows in efi mode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Sun Jan 01, 2017 11:22 am    Post subject: grub in bios mode to boot windows in efi mode Reply with quote

hi, this is my situation:

sda: windows 10 in efi mode
sdb: linux in bios mode (mbr, not gpt), with grub installed on it


I can boot both operating sytems if i press F8 at boot time and choose one of them.
I selected in my bios to boot the second disk so that I boot directly in grub and linux.

so far, all works :D

now i want to put a menuentry in grub to boot windows, but i'm not able to understand how to boot windows efi mode from a grub not in efi mode... is this possible or not?
not a so big problem, I use windows only for games and i can choose it pressing F8 at startup... but it would be nicer to put it in grub :-)
Back to top
View user's profile Send private message
C5ace
Guru
Guru


Joined: 23 Dec 2013
Posts: 472
Location: Brisbane, Australia

PostPosted: Sun Jan 01, 2017 1:47 pm    Post subject: Re: grub in bios mode to boot windows in efi mode Reply with quote

Krog wrote:
hi, this is my situation:

sda: windows 10 in efi mode
sdb: linux in bios mode (mbr, not gpt), with grub installed on it


I can boot both operating sytems if i press F8 at boot time and choose one of them.
I selected in my bios to boot the second disk so that I boot directly in grub and linux.

so far, all works :D

now i want to put a menuentry in grub to boot windows, but i'm not able to understand how to boot windows efi mode from a grub not in efi mode... is this possible or not?
not a so big problem, I use windows only for games and i can choose it pressing F8 at startup... but it would be nicer to put it in grub :-)


My grub-legacy /boot/grub/grub.conf on a Toshiba laptop with Gentoo and Windows:

default 0
timeout 10

title TOSHIBA Gentoo Linux 4.4.39-gentoo
root (hd0,2)
kernel /boot/kernel-genkernel-TOSH-64-x86_64-4.4.39-gentoo net.ifnames=0 root=/dev/ram0 real_root=LABEL=TG_ROOT
initrd /boot/initramfs-genkernel-TOSH-64-x86_64-4.4.39-gentoo

title=Windows 7
root (hd0,0)
makeactive
chainloader +1
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Mon Jan 02, 2017 2:13 pm    Post subject: Reply with quote

i have grub2, not grub legacy
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Mon Jan 02, 2017 3:43 pm    Post subject: Reply with quote

I don't think it's possible for Grub to re-enable EFI mode already disabled by UEFI/BIOS.

You can boot it bios style but not sure if Windows will be happy if expecting efi instead...

The bios boot menu (f8) seems like the best solution here, or switch grub/linux over to efi mode after all.
Back to top
View user's profile Send private message
Krog
Guru
Guru


Joined: 26 Jun 2007
Posts: 339
Location: Roma, Italy

PostPosted: Mon Jan 02, 2017 3:45 pm    Post subject: Reply with quote

ok, i will keep hitting F8 and booting windows via bios boot menu :-) thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum