Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Boot recommendations - Windows 10 and Gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3422

PostPosted: Sat Jun 13, 2020 5:35 pm    Post subject: Reply with quote

paulj wrote:
Regarding dual booting, I understand I could have also put the gentoo EFI stuff on the same ESP as windows, ...

As is shown here: https://wiki.gentoo.org/wiki/EFI_System_Partition#Standard_layout


paulj wrote:
... and then would have the option to boot off either (I assume the BIOS puts up a menu?)

Some computers ( DELL at least ) even have an option in their BIOS for creating the boot items: Add Boot Option
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 447
Location: Wales, UK

PostPosted: Sun Jun 14, 2020 7:41 pm    Post subject: Reply with quote

charles17 wrote:
paulj wrote:
Regarding dual booting, I understand I could have also put the gentoo EFI stuff on the same ESP as windows, ...

As is shown here: https://wiki.gentoo.org/wiki/EFI_System_Partition#Standard_layout


paulj wrote:
... and then would have the option to boot off either (I assume the BIOS puts up a menu?)

Some computers ( DELL at least ) even have an option in their BIOS for creating the boot items: Add Boot Option


There is a option in the BIOS on my motherboard to set priority, but not to create boot items. On older motherboards the option to set the boot sequence was always present, and listed all the drives connected. So you could for example set the CD-ROM drive as the 1st option but it would only be used when there is a suitable CD loaded. With the new motherboard (and also on the Udoo Bolt I set up recently), the only options listed for priority are those boot options which have been identified as bootable as the BIOS loaded. This gave me an interesting issue when trying to boot the installation CD - I had to go into the BIOS, then select the CD from an over-ride list to boot.

If you put two operating systems on the same EFI as shown in the standard, I don't know if you get a menu on startup to choose which one to boot. If you don't get a menu, then I assume you have to go into the BIOS and change the boot priority. Knowing I could have both options in one menu on grub led me to pursue this route rather than play around further with the different EFI configuration possibilities.

PS: @charles17 - I am sure you know all this already! :)
Back to top
View user's profile Send private message
dcrook
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 78

PostPosted: Sun Jun 14, 2020 11:46 pm    Post subject: Reply with quote

If you want to do EFI based booting then you should look at rEFInd. It automatically find and boot windows partitions and Linux kernels with EFI stub enabled. When I boot up I have the option to boot into Windows 10 or the latest Linux kernel that I installed in /boot. In case there is an issue with the latest kernel you can boot to an older kernel.
Back to top
View user's profile Send private message
Cuong Nguyen
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2018
Posts: 146

PostPosted: Mon Jun 15, 2020 2:18 pm    Post subject: Reply with quote

dcrook wrote:
If you want to do EFI based booting then you should look at rEFInd. It automatically find and boot windows partitions and Linux kernels with EFI stub enabled. When I boot up I have the option to boot into Windows 10 or the latest Linux kernel that I installed in /boot. In case there is an issue with the latest kernel you can boot to an older kernel.


You can actually use only EFI as Boot Manager without any automatic probing for OS loading. You can always use efibootmgr to edit EFI Boot Entries. Just remember for once Windows Boot Manager is fixed in ESP (FAT32) partition at \EFI\Microsoft\Boot\bootmgfw.efi:
Code:

efibootmgr -c -L "Windows Boot Manager" -l \\EFI\\Microsoft\\Boot\\bootmgfw.efi -d /dev/sda -p <partition number of ESP>
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
Goto page Previous  1, 2
Page 2 of 2

 
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