{"id":20834643,"url":"https://github.com/cachyos/systemd-boot-manager","last_synced_at":"2025-12-26T02:38:20.631Z","repository":{"id":118618260,"uuid":"507383165","full_name":"CachyOS/systemd-boot-manager","owner":"CachyOS","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-25T18:12:01.000Z","size":38,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-29T14:22:29.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CachyOS.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}},"created_at":"2022-06-25T18:05:23.000Z","updated_at":"2024-07-02T07:38:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd0cdbe4-316f-48c4-9d0b-2e78b9a14de5","html_url":"https://github.com/CachyOS/systemd-boot-manager","commit_stats":{"total_commits":60,"total_committers":10,"mean_commits":6.0,"dds":0.65,"last_synced_commit":"bb4e4d31991d74a001bfab82d3cd294855219c66"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fsystemd-boot-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fsystemd-boot-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fsystemd-boot-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CachyOS%2Fsystemd-boot-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CachyOS","download_url":"https://codeload.github.com/CachyOS/systemd-boot-manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243188200,"owners_count":20250453,"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-11-18T00:20:00.653Z","updated_at":"2025-12-26T02:38:20.578Z","avatar_url":"https://github.com/CachyOS.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# systemd-boot Manager for CachyOS\n\nThis projects attempts to add automation for users of systemd-boot with CachyOS.  It has 3 components.\n\n##### 1. A shell script which provides the following functionality\n  * Installs and configures systemd-boot\n  * Generate entries based on installed kernels and a series of options described below\n  * Removes entries for kernels no longer installed\n  * Updates systemd-boot\n##### 2. A series of alpm hooks that are called to automate the process\n##### 3. A configuration file to support a variety of use cases described below\n\n### Usage\nWhile the script is primarily intended to automated via the provided hooks, it can also be invoked manually as follows:\n```\nUsage: sdboot-manage [action]\n\nActions:\n  gen     generates entries for systemd-boot based on installed kernels\n  remove  removes orphaned systemd-boot entries\n  setup   installs systemd-boot and generate initial entries\n  update  updates systemd-boot\n```\n\n### Filesystem Support\nThe script was tested for basic functionality in the following root filesystem configurations:\n* btrfs\n* ext4\n* f2fs\n* zfs\n* ext4 on luks\n* ext4 on lvm on luks\n* ext4 on luks on lvm\n\nI don't know of any reason it wouldn't support every filesystem that cachyos-cli-installer supports with the exception of ntfs.  Hopefully people are not using ntfs as their root fs.\n\n### Configuration\nThe configuration file is located at `/etc/sdboot-manage.conf`.  The displayed options are the defaults and it has the following structure.\n```\n# config file for sdboot-manage\n\n# kernel options to be appended to the \"options\" line\n#LINUX_OPTIONS=\"\"\n#LINUX_FALLBACK_OPTIONS=\"\"\n\n# the DEFAULT_ENTRY option determines if and how the default entry in loader.conf should be managed\n#   \"latest\"    The most recent CachyOS kernel will be used(the one with the highest version number)\n#   \"oldest\"    The oldest CachyOS kernel will be used(the one with the lowest version number)\n#   \"manual\"    Don't modify the default setting\n#DEFAULT_ENTRY=\"latest\"\n\n# ENTRY_ROOT is a template that describes the beginning of the name for system-boot entries\n# The ENTRY_ROOT will be followed by the kernel version number\n# For example, if ENTRY_ROOT=\"cachyos\" and you are using kernel 4.19 your entry will be named \"cachyos4.19.conf\"\n#ENTRY_ROOT=\"cachyoslinux\"\n\n# setting REMOVE_EXISTING to \"yes\" will remove all your existing systemd-boot entries before building new entries\n#REMOVE_EXISTING=\"yes\"\n\n# unless OVERWRITE_EXISTING is set to \"yes\" existing entries for currently installed kernels will not be touched\n# this setting has no meaning if REMOVE_EXISTING is set to \"yes\"\n#OVERWRITE_EXISTING=\"no\"\n\n# when REMOVE_OBSOLETE is set to \"yes\" entries for kernels no longer available on the system will be removed\n#REMOVE_OBSOLETE=\"yes\"\n\n# if PRESERVE_FOREIGN is set to \"yes\", do not delete entries starting with $ENTRY_ROOT\n#PRESERVE_FOREIGN=\"no\"\n\n# setting NO_AUTOUPDATE to \"yes\" will stop the updates to systemd-boot when systemd is updated - not recommended unless you are seperately updating systemd-boot\n#NO_AUTOUPDATE=\"no\"\n\n# setting NO_AUTOGEN to \"yes\" will stop the automatic creation of entries when kernels are installed or updated\n#NO_AUTOGEN=\"no\"\n```\n\nNotes:\n* Hibernation into a swapfile on BTRFS is not currently supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachyos%2Fsystemd-boot-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcachyos%2Fsystemd-boot-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachyos%2Fsystemd-boot-manager/lists"}