Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
/ hello-world-boot Public archive

Basic OS-bootloader for OVMF UEFI

Notifications You must be signed in to change notification settings

allenvox/hello-world-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World bootloader for Qemu with OVMF / POSIX UEFI

Dependencies

  1. mtools
  2. mkgpt
  3. qemu

Use

Make bash scripts executable: chmod +x build.sh hdcreate.sh
Build UEFI Hello World program: ./build.sh
Create bootable hd for qemu: ./hdcreate.sh
Run example: qemu-system-x86_64 -L ./ -pflash ovmf/OVMF.fd -hda build/hdimage.bin -net none -nographic