summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0006_run_schedule.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-03-13 12:18:35 +0100
committerlupoDharkael <izhe@hotmail.es>2024-03-21 10:29:21 +0100
commit80125623027283c9a9d94a98bea442b1f0c11206 (patch)
treef07c2b76587bcd5cf30bb55ab6f5bdcefd5ddc23 /tests/units/test_0006_run_schedule.py
parentddf08779ae8db05a75d51e063f507d1c3bfa148e (diff)
utils: implement BIOS boot for windows
Create ogboot.me and ogboot.secondboot as empty files and ogboot.firstboot with the value "iniciado" in the root of the BIOS Windows system partition. The files must contain data for GRUB to be able to write content, therefore these are created containing 3072 null bytes. The Windows boot process is handled by the "pxe" profile. There the files ogboot.me, ogboot.firstboot and ogboot.secondboot are used as a state machine to chose between booting Windows and ogLive. The first Windows boot happens if ogboot.me and ogboot.firstboot are identical, then "iniciado" is written in ogboot.firstboot. We skip this stage as we create ogboot.firstboot with 'iniciado'. The second Windows boot occurs if ogboot.me and ogboot.secondboot are boot identical, then "iniciado" is written in ogboot.secondboot. After the Windows boot ogLive is booted.
Diffstat (limited to 'tests/units/test_0006_run_schedule.py')
0 files changed, 0 insertions, 0 deletions