Join us

Writing an OS in Go: The Bootloader

Writing an OS in Go: The Bootloader

The author of this blog post announces their intention to write an OS in Go and discusses their choice of bootloader and the difficulties encountered with building a bootloader that can run on both BIOS and UEFI.

The author mentions that UEFI is the way to go if they want their OS to work on newer hardware, but they don't want to neglect older hardware. They discuss their preference for using an already-written bootloader and ultimately choose between BOOTBOOT and Limine. They discuss the issues they encounter with writing Go code and linking their code with the external linker.

  • The Go linker does not support linker scripts.
  • BOOTBOOT and Limine are two bootloaders that support 64-bit higher-half kernels and ELF binaries.
  • The external linker can be used with Go by setting appropriate flags to the Go linker.


Only registered users can post comments. Please, login or signup.

Start blogging about your favorite technologies, reach more readers and earn rewards!

Join other developers and claim your FAUN account now!

Avatar

The FAUN

@faun
A worldwide community of developers and DevOps enthusiasts!
User Popularity
3k

Influence

262k

Total Hits

1

Posts