View previous topic :: View next topic |
Author |
Message |
Krog Guru
Joined: 26 Jun 2007 Posts: 339 Location: Roma, Italy
|
Posted: Sun Jan 01, 2017 11:22 am Post subject: grub in bios mode to boot windows in efi mode |
|
|
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
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 |
|
|
C5ace Guru
Joined: 23 Dec 2013 Posts: 472 Location: Brisbane, Australia
|
Posted: Sun Jan 01, 2017 1:47 pm Post subject: Re: grub in bios mode to boot windows in efi mode |
|
|
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
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 |
|
|
Krog Guru
Joined: 26 Jun 2007 Posts: 339 Location: Roma, Italy
|
Posted: Mon Jan 02, 2017 2:13 pm Post subject: |
|
|
i have grub2, not grub legacy |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Mon Jan 02, 2017 3:43 pm Post subject: |
|
|
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 (f seems like the best solution here, or switch grub/linux over to efi mode after all. |
|
Back to top |
|
|
Krog Guru
Joined: 26 Jun 2007 Posts: 339 Location: Roma, Italy
|
Posted: Mon Jan 02, 2017 3:45 pm Post subject: |
|
|
ok, i will keep hitting F8 and booting windows via bios boot menu thanks! |
|
Back to top |
|
|
|