View previous topic :: View next topic |
Author |
Message |
charles17 Advocate

Joined: 02 Mar 2008 Posts: 3596
|
Posted: Sat Jun 13, 2020 5:35 pm Post subject: |
|
|
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 |
|
 |
paulj Guru


Joined: 30 Sep 2004 Posts: 449 Location: Wales, UK
|
Posted: Sun Jun 14, 2020 7:41 pm Post subject: |
|
|
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 |
|
 |
dcrook Tux's lil' helper

Joined: 22 Jul 2004 Posts: 79
|
Posted: Sun Jun 14, 2020 11:46 pm Post subject: |
|
|
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 |
|
 |
Cuong Nguyen Tux's lil' helper

Joined: 18 Jan 2018 Posts: 148
|
Posted: Mon Jun 15, 2020 2:18 pm Post subject: |
|
|
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 |
|
 |
|