hey assistent how to update the grub file that when I press ctrl + e during boot? I'va…
- User
hey assistent how to update the grub file that when I press ctrl + e during boot? I'va changed it already during boot but the changes do not persist after rebooting
- Assistant
If you need to make persistent changes to the GRUB configuration, you'll need to edit the GRUB configuration files directly and update GRUB accordingly. Here's a step-by-step guide on how you can do this:
Editing GRUB Configuration Files
-
Backup the Current Configuration
- Before making any changes, it's a good idea to back up your current GRUB configuration.
sudo cp /etc/default/grub /etc/default/grub.bak
-
- User
i am on opensuse is there an update-grub here?
- Assistant
On openSUSE, the command
update-grubis not typically used. Instead, you need to use thegrub2-mkconfigcommand to update the GRUB configuration. Here's how you can do it:Updating GRUB on openSUSE
-
Edit the GRUB Configuration File
Similar to other Linux distributions, you need to edit the GRUB configuration file at
/etc/default/grub.sudo nano /etc/default/grubMake any necessary changes to the parameters here. For example, updating to add kernel parameters or changing to select a different default boot entry.
-