---
title: "Discussion on \"Writing an OS in Go: The Bootloader\" | Hashnode"
description: "Discussion on \"Writing an OS in Go: The Bootloader\". BEWARE: Low-level gophers playing"
url: "https://hashnode.com/posts/writing-an-os-in-go-the-bootloader/644d30f564414fbaa7fc7801"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Writing an OS in Go: The Bootloader](https://totallygamerjet.hashnode.dev/writing-an-os-in-go-the-bootloader?utm_source=hashnode&utm_medium=feed)

BEWARE: Low-level gophers playing

Apr 29, 2023 · 15 min read · totallygamerjet.hashnode.dev  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#operating-system](https://hashnode.com/tag/operating-system)
-   [#bootloader](https://hashnode.com/tag/bootloader)
-   [#linker](https://hashnode.com/tag/linker)

## Written by

[TotallyGamerJet](https://hashnode.com/@TotallyGamerJet)

@TotallyGamerJet

  
[View profile](https://hashnode.com/@TotallyGamerJet)

I like programming in Go and doing things with it I probably shouldn't.

## Responses 2

Markdown supported · ⌘↵ to post

[محمّد](https://hashnode.com/@mrg0lden)

[Jun 30, 2023](https://hashnode.com/posts/writing-an-os-in-go-the-bootloader/644d30f564414fbaa7fc7801/comment/649f3ee5b5c0d4bb1095643b)

Great write up! But, why was BOOTBOOT `gitlab.com/bztsrc/bootboot` passed to go build as -std when it's not a Go module?

[TotallyGamerJet](https://hashnode.com/@TotallyGamerJet)

[Jun 30, 2023](https://hashnode.com/posts/writing-an-os-in-go-the-bootloader/644d30f564414fbaa7fc7801/comment/649f3ee5b5c0d4bb1095643b#reply-649f5767b5c0d4bb109565b9)

That’s what the module name is in go.mod located at [gitlab.com/bztsrc/bootboot/-/tree/master/mykernel…](https://gitlab.com/bztsrc/bootboot/-/tree/master/mykernel/go)

[David Hooker](https://hashnode.com/@dudehook)

[May 2, 2023](https://hashnode.com/posts/writing-an-os-in-go-the-bootloader/644d30f564414fbaa7fc7801/comment/645151c97a00e1d8014fd942)

Looking forward to this series!
