Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexdelorenzo/grub2systemd

💾 Convert grub.cfg to systemd-boot EFI loader entries
https://github.com/alexdelorenzo/grub2systemd

bootloader efi grub grub2 systemd uefi

Last synced: about 1 month ago
JSON representation

💾 Convert grub.cfg to systemd-boot EFI loader entries

Awesome Lists containing this project

README

        

# Convert your [GRUB2](https://www.gnu.org/software/grub/manual/grub/grub.html) config to [systemd-boot](https://wiki.archlinux.org/title/systemd-boot)
Convert your GRUB `grub.cfg` bootloader entries to `systemd-boot` loaders.

## Requirements
Requires `blkid` to be installed on the system.

## Installation
`pip3 install g2sd`

## Usage
`g2sd /boot/grub/grub.cfg /boot`

### Help
`GRUB_FILE` is usually located in `/boot/grub` and your `ESP_PATH` is usually `/boot` or `/boot/efi`.

```bash
Usage: g2sd [OPTIONS] GRUB_FILE ESP_PATH

Convert your grub.cfg bootloader entries into systemd-boot loaders.
GRUB_FILE is usually located in /boot/grub and your ESP_PATH is usually
/boot.

Options:
--help Show this message and exit.
```

## License
See `LICENSE`. Message me if you'd like to use this project with a different license.