OS/2, eCS & ArcaOS - Technical > Setup & Installation
UEFI: Dual Boot - Windows 11 and ArcaOS 5.1
Pete:
Hi All
I have ArcaOS5.1.0 installed on an NVMe drive along with Windows11, both systems boot and run fine.
I also have an SSD with Windows11 (activated) on attached to SATA1 that I am thinking of putting back into the system box and sacking the NVMe Windows11 (not activated) installation.
How do I setup AN Launcher on the NVMe drive to boot the Windows11 install on SATA1?
Do I simply copy the SATA1 \EFI\Boot\bootx64.efi to NVMe \EFI\Boot\winx64.efi or id there some other tweak needed?
Regards
Pete
Rich Walsh:
--- Quote from: Pete on October 26, 2023, 03:35:43 am ---How do I setup AN Launcher on the NVMe drive to boot the Windows11 install on SATA1?
Do I simply copy the SATA1 \EFI\Boot\bootx64.efi to NVMe \EFI\Boot\winx64.efi or id there some other tweak needed?
--- End quote ---
My best _guess_ (since I haven't tested this) is don't do anything except attach the SATA drive. Most definitely, do not go moving .EFI files around.
Remember that you are not booting Windows per se, you are booting the Windows Boot Manager and _it_ is booting Win. Either it will discover the new copy on its own or you'll have to add it (however that's done). This is little different than booting one or more versions of Linux via 'grub'.
Pete:
Hi Rich
No definitely no moving .efi files around - copy is slightly different to move :-)
Attaching the SATA disk does not get an automatic entry in AN Launcher or either Windows Boot Managers.
The SATA installation of Windows can be booted from the BIOS.
I guess I need to ask AN how to get the SATA Windows installation to boot from AN Launcher if I decide to use the SATA disk. At the moment I am a little undecided as having the SATA disk attached roughly doubles the time it takes to boot ArcaOS - from around 15 secs to about 30 secs, no stopwatch available.
Regards
Pete
Rich Walsh:
--- Quote from: Pete on October 27, 2023, 05:20:08 pm ---Attaching the SATA disk does not get an automatic entry in AN Launcher or either Windows Boot Managers.
--- End quote ---
AN Launcher is very low-function - by design - so there was never the slightest possibility that it would add an entry on its own. I had hoped for more from Win's Boot Manager but no such luck - it's far worse. You''ll have to used 'bcdedit' when booted to a Windows command line to add an entry.
--- Quote ---I guess I need to ask AN how to get the SATA Windows installation to boot from AN Launcher if I decide to use the SATA disk.
--- End quote ---
Good luck on that... In my earlier posting I left out all the ugly details in an attempt to keep it simple. Since that didn't work out, here's an introduction to harsh reality:
AN Launcher is incapable of running an .EFI file located on another disk because it doesn't know how to parse a UEFI disk identifier. If you look at 'launcher.cfg', you'll see that all paths start at the root directory of the _current_ disk. For example:
Win11 = \EFI\Microsoft\Boot\bootmgfw.efi
If you wanted it to reference another disk, it would have to look something like this:
Win11 = HD(2,GPT,9f11367c-448a-4272-92b8-af7e9c01973c,800,82000)\EFI\Microsoft\Boot\bootmgfw.efi
Even if AN Launcher could parse this, you'd have a lot of fun trying to construct it.
In any case, industry-standard practice is to have only one EFI System Partition (ESP) and to rely on each bootloader to know how to navigate multiple disks on its own terms - and all of them do. As such, there's no reason to have multiple bootloaders for a single OS. (FYI: while OS/2's boot manager and osloader are separate binaries, grub and WinBM act as both boot manager and osloader.)
Compunding the problem further: UEFI has a builtin boot manager (that's what you're looking at when you go into the firmware). If you believe the specs, you should be able to add entries that point at any disk, and the firmware should boot them in the specified order (i.e. if the first entry fails to boot, it moves on to the next one). Sadly, that isn't the way many manufacturers have implemented it. If you're booting from Disk 1, Lenovo, Dell, and others will try all of the entries that reference Disk 1 before they ever try Disk 2. Consequently, putting an entry for Disk 2 at the top of the list has no effect because the firmware will (likely) find something bootable on Disk 1. This is the underlying reason for that "industry-standard practice" of having a single ESP which is always on the first disk: to workaround non-compliant firmware.
If you decide you still want to use the SATA drive, I'd suggest you use Bing to search for "add OS to Windows Boot Manager" for instructions on how to use 'bcdedit.exe' (there are also some 3rd-party BCD editors available to ease the pain).
Jochen Schäfer:
In my experience, rEFInd works really good with ArcaOS.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version