pgibler / cmdh

Create Linux commands from natural language, in the shell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

pgibler opened this issue · comments

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