pgibler / cmdh

Create Linux commands from natural language, in the shell.
MIT License
83 stars 6 forks source link

Update prompt to support multi-step installations (i.e. installing grub) #10

Open pgibler opened 7 months ago

pgibler commented 7 months ago

Some commands require context and multiple steps. When you install grub, you need to know OS architecture, EFI partition location, etc:

grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB

As a second step after grub installation it should generate the main configuration file

grub-mkconfig -o /boot/grub/grub.cfg

GPT can help you with it if you provide all the information about the OS.

Reference: https://www.reddit.com/r/linux/comments/18pgwxz/comment/keo9lvq/?utm_source=reddit&utm_medium=web2x&context=3