C586E653-7991-4947-AC24-75F8CFF9945C- VolgaBL second stage bootloader (SSL)876D0DC7-CF66-4C63-BCEE-BD79EE10F593- VolgaBL third stage bootloader (TSL)78A9E598-3638-4D67-B2EB-0123D0AFBDBD- VolgaOS kernel
- CMake 3.20+
- GCC
- NASM
- Doxygen (optional)
-DOUTPUT=<directory>path to the directory where bootloader images will be placed. Default:${CMAKE_BINARY_DIR}/out-DBUILD_DOCS=<boolean>build docs. Requires Doxygen. Default:OFF-DOUTPUT_DOCS=<directory>path to the directory where docs will be placed. Default:${OUTPUT}/docs
- Create build directory
mkdir build
- Configure CMake
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DOUTPUT=../out
- Run make to build everything
cd build
make
You can also build only bootloader, without docs
cd build
make bootloader
- Map your drive using GPT (e.g. using
fdisk) - Create 2 partitions for SSL and TSL loaders, each 64KB
- Assign GPT partition types for each partition
- Write
bootloader_mbrto the first sector of your bootdrive (WARNING: this will erase your current MBR and other OS's won't boot!) - Write
bootloader_sslto SSL partition - Write
bootloader_tslto TSL partition