Author Topic: Booting eCS and MCP under UEFI  (Read 1989 times)

Rich Walsh

  • Sr. Member
  • ****
  • Posts: 319
  • Karma: +22/-0
  • ONU! (OS/2 is NOT Unix!)
    • View Profile
Booting eCS and MCP under UEFI
« on: November 04, 2023, 06:12:26 am »
Overview

If you installed ArcaOS 5.1 in UEFI mode on a machine that also supports CSM/BIOS, the instructions below will allow you to boot your existing eCS or MCP installations alongside your new 5.1 system - all while remaining in UEFI mode. This procedure requires no changes to your legacy installations, and only two small changes to AOS 5.1's 'config.sys'. The primary downsides here are that you will lose 5.1's DOS video enhancements, and the  AOS boot logo will no longer be displayed.

Note: this procedure can also be used to restore 16x9 resolutions on older machines that only offer 4x3 video when booted in UEFI mode.

Procedure

TTBOMK, the following instructions are complete and correct, and should be followed exactly as written.

1. Confirm the machine is in UEFI mode and that CSM is enabled.

2. Assign a drive letter to your EFI partition (e.g. 'U:') then open the folder 'U:\EFI\OS2'.
    Create a new file in this directory named 'OS2LDR.CFG' that contains this single line:

Code: [Select]
alt_video = 1

3. On your AOS 5.1 install, open 'config.sys' in an editor. Change these two entries as shown:

Before
Code: [Select]
DEVICE=C:\OS2\MDOS\VEFI.SYS
SET VIO_SVGA=DEVICE(BVHEFI)

After
Code: [Select]
rem DEVICE=C:\OS2\MDOS\VEFI.SYS
DEVICE=C:\OS2\MDOS\VSVGA.SYS

rem SET VIO_SVGA=DEVICE(BVHEFI)
SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)

4. In your boot manager's config file, add entries for your BIOS-based installs that are identical
    to the one you have for AOS 5.1, with the only difference being the drive letter to be booted.

    For example, if eCS 2.x is on your E: drive, its entry in 'launcher.cfg' would look like this:

Code: [Select]
eCS 2.x (E:) = \EFI\OS2\OS2LDR.EFI E:

    In 'refind.conf', it would look something like this:

Code: [Select]
menuentry "eCS 2.x (E:)" {
    loader \EFI\OS2\OS2LDR.EFI
    options "E:"
}

5. Reboot.

Notes
  • This is a machine-wide change that affects all AOS 5.1 UEFI installs. If you have more than one, update 'config.sys' for each.
  • Do not make any changes to your BIOS-based installs in connection with this - it should all "just work" with no user intervention.
  • This has only been tested with Panorama. Regardless, SNAP should work as well.