{"id":13509542,"url":"https://github.com/system-transparency/stboot","last_synced_at":"2025-03-30T13:32:27.363Z","repository":{"id":37083678,"uuid":"359886255","full_name":"system-transparency/stboot","owner":"system-transparency","description":"Mirror only. Official repository at https://git.glasklar.is/system-transparency/core/stboot","archived":false,"fork":false,"pushed_at":"2023-11-29T08:48:22.000Z","size":10795,"stargazers_count":112,"open_issues_count":0,"forks_count":11,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-08-02T02:14:06.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.system-transparency.org/","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/system-transparency.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-20T16:42:41.000Z","updated_at":"2024-07-12T02:43:51.000Z","dependencies_parsed_at":"2023-01-20T19:17:09.967Z","dependency_job_id":"c4566321-d45b-4eeb-803a-b079edaacd14","html_url":"https://github.com/system-transparency/stboot","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/system-transparency%2Fstboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/system-transparency%2Fstboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/system-transparency%2Fstboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/system-transparency%2Fstboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/system-transparency","download_url":"https://codeload.github.com/system-transparency/stboot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222552904,"owners_count":17002160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T02:01:09.274Z","updated_at":"2024-11-01T09:31:38.397Z","avatar_url":"https://github.com/system-transparency.png","language":"Go","readme":"# stboot\n\nThe reference bootloader implementation for System Transparency.\n\n# Description\nThe stboot bootloader can be used as an init program inside an initramfs and is designed to be combined with a Linux kernel to form a [LinuxBoot](https://www.linuxboot.org/) distribution. It is closely related to the [u-root project](https://github.com/u-root/u-root#u-root). On the one hand, stboot depends on some standard Linux tools packages provided by u-root, on the other hand, u-root is used to create an initramfs including stboot.\n\n# Usage\nMake sure your Go version is \u003e=1.13 \u0026\u0026 \u003c1.16. Make sure your GOPATH is set up correctly. Although using modules, stboot still vendors dependencies to work smoothly with u-root. So if you are usually working with go modules enabled do the following in your working directory:\n\n```\nmkdir go\nexport GO111MODULE=off\nexport GOPATH=${PWD}/go\n```\n\nDownload and install u-root and stboot:\n```\ngo get github.com/u-root/u-root\ngo get system-transparency.org/stboot\n```\n\nBuild an initramfs:\n```\n./go/bin/u-root -o initramfs.cpio -uinitcmd stboot github.com/u-root/u-root/cmds/core/{init,elvish,ls} system-transparency.org/stboot\n```\nThere should be your brand new `initramfs.cpio` in you working directory.\n\nTest your initramfs (assuming your OS kernel at `/boot/vmlinuz`):\n```\nqemu-system-x86_64 -kernel /boot/vmlinuz -nographic -append \"console=ttyS0,115200 uroot.uinitargs='-debug'\" -initrd initramfs.cpio -m 2048 --enable-kvm\n```\n\nYou should see something like this:\n```\n[...]\n[    0.689686] Run /init as init process\n2021/05/03 12:01:15 Welcome to u-root!\n                              _\n   _   _      _ __ ___   ___ | |_\n  | | | |____| '__/ _ \\ / _ \\| __|\n  | |_| |____| | | (_) | (_) | |_\n   \\__,_|    |_|  \\___/ \\___/ \\__|\n\ninit: 2021/05/03 12:01:15 no modules found matching '/lib/modules/*.ko'\nstboot: \n  _____ _______   _____   ____   ____________\n / ____|__   __|  |  _ \\ / __ \\ / __ \\__   __|\n| (___    | |     | |_) | |  | | |  | | | |   \n \\___ \\   | |     |  _ \u003c| |  | | |  | | | |   \n ____) |  | |     | |_) | |__| | |__| | | |   \n|_____/   |_|     |____/ \\____/ \\____/  |_|   \n\n```\nAs long as you can see the stboot banner, everything is fine. The program will exit with an error because of missing configuration data.\nSee https://git.glasklar.is/system-transparency/core/system-transparency for details on how to set up System Transparency.\n","funding_links":[],"categories":["Go","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystem-transparency%2Fstboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystem-transparency%2Fstboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystem-transparency%2Fstboot/lists"}