{"id":21133990,"url":"https://github.com/mozgiii/fakegrub","last_synced_at":"2025-03-14T12:41:07.276Z","repository":{"id":142067305,"uuid":"195443738","full_name":"MOZGIII/fakegrub","owner":"MOZGIII","description":"Generate a fake grub.cfg with minimal content to be picked up by a real GRUB's osprober. Useful for passing kernel arguments to the OS in a multiboot environment when the real system GRUB is managed by other OS, and installing GRUB just to manage the configs is undesirable.","archived":false,"fork":false,"pushed_at":"2019-07-05T17:17:57.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T06:28:50.376Z","etag":null,"topics":["grub","multiboot"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MOZGIII.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-05T17:07:57.000Z","updated_at":"2019-10-24T15:50:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"f80d0cf4-09d1-4682-a979-ca4b1699d06a","html_url":"https://github.com/MOZGIII/fakegrub","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MOZGIII%2Ffakegrub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MOZGIII%2Ffakegrub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MOZGIII%2Ffakegrub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MOZGIII%2Ffakegrub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MOZGIII","download_url":"https://codeload.github.com/MOZGIII/fakegrub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581060,"owners_count":20314162,"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":["grub","multiboot"],"created_at":"2024-11-20T06:22:07.086Z","updated_at":"2025-03-14T12:41:07.251Z","avatar_url":"https://github.com/MOZGIII.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fakegrub\n\nGenerate a fake `grub.cfg` with minimal content to be picked up by a real GRUB's\n`osprober`. Useful for passing kernel arguments to the OS in a multiboot\nenvironment when the real system GRUB is managed by other OS, and installing\nGRUB just to manage the configs is undesirable.\n\n## Requirements\n\n- bash\n- cat\n- xargs\n- perl\n\n## Installation\n\nCurrently only source installation method is available.\n\nMore install options are planned in the future.\n\n### From source\n\n1. Clone the repo.\n\n2. Set system-wide fakegrub settings.\n\n   ```shell\n   $ bin/fakegrub-default-settings | sudo tee /etc/fakegrub\n   $ sudo edit /etc/fakegrub\n   ```\n\n## Usage\n\nTo update `grub.cfg` using the system-wide fakegrub settings, use this:\n\n\u003e Warning: this command will try to write to `/boot/grub/grub.cfg` by default.\n\u003e Although it has a built-in safety-check to prevent overwriting the\n\u003e configuration when it's not generated by fakegrub, be careful when using it\n\u003e on a live system. It's a good idea to backup `/boot/grub/grub.cfg` before\n\u003e running the command below if you're not yet comfortable with fakegrub.\n\n```shell\n$ sudo bin/update-fakegrub\n```\n\nTo just print the GRUB config generated with system fakegrub settings use\n`fakegrub-mkconfig` (similar to `grub-mkconfig`, but doesn't require root):\n\n```shell\n$ bin/fakegrub-mkconfig\n```\n\nYou can also invoke config generator directly passing custom settings:\n\n```shell\n$ bin/fakegrub-generate \"My menuentry\" \"root=/dev/vg/lvroot\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozgiii%2Ffakegrub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmozgiii%2Ffakegrub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozgiii%2Ffakegrub/lists"}