-
Notifications
You must be signed in to change notification settings - Fork 0
grub
XADE edited this page Dec 10, 2023
·
1 revision
if multiple distros are installed, overwriting grub.cfg will destroy the ability to boot a different distro
So, update (append) entries with any of the following method
- to append the new entry at the end of grub menu
grub-mkconfig >> /fat/grub/grub.cfg
- to add the new entry on top of the grub menu
grub-mkconfig > grub_menu
cat /fat/grub/grub.cfg >> grub_menu
mv grub_menu /fat/grub/grub.cfg
unneeded entries can be carefully removed from /fat/grub/grub.cfg
- a grub entry
- begins with
### BEGIN
- in between :
menuentry "name_of_installation"
- ends with
### END
- begins with