Repository files navigation
Install MSYS2 .
Configure Bootable\install.sh to open with C:\msys64\ucrt64.exe.
Turn off Smart App Control (Windows 11)
Double-click Bootable\install.sh and wait for the installation to complete.
Double-click Bootable\install.sh again.
Double-click one of the following:
Bootable\MBR\run.sh
Bootable\UEFI\run.sh
Prepare an unused USB flash drive.
Install HxD .
Run HxD as an administrator.
Select Tools → Open disk from the menu bar.
Select Physical disks → Removable disk (your unused USB flash drive).
Uncheck Open as Readonly .
Click OK .
Click OK to accept the warning.
In the menu bar, change Bytes per row to 8 (the default is 16).
Open Bootable\MBR\out\MBR.img.
Select all bytes from offset 0 to the last byte.
Copy the selected bytes from MBR.img.
Switch to the removable disk tab.
Select the same offset and range.
Right-click and select Paste Write .
Save the disk.
Your USB flash drive is now ready to boot using BIOS.
Restoring the USB flash drive
Select all data in Sector 0 of the USB flash drive, from offset 0 to the line before offset 0x200.
Right-click and select Fill selection , then fill every byte with 00.
Save the disk.
Use Windows Explorer to format the USB flash drive.
Use Rufus .
Prepare an unused USB flash drive.
Use Windows Explorer to format the USB flash drive as FAT32 .
Copy efi\boot\bootx64.efi to the USB flash drive. Make sure bootx64.efi is located inside the efi\boot directory.
Your USB flash drive is now ready to boot using UEFI.
You can’t perform that action at this time.