Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Any way to permanently save an edited entry in a GRUB menu during GURB menu usage, not after the system have booted and i can do that by a myriad a ways.

I know about editing the config scripts in grub.d, but for quick changes while I'm fixing something, and that I will have to boot into some ten times and then never more, i'd love to be able to edit an entry on the spot and save.

The manual does not mention anything else besides what's already mentioned on the edit screen (i.e. ctrl-x boot, esc cancel edit), but then, I had to find most available commands from the emergency prompt outside of the manual.

share|improve this question
up vote 1 down vote accepted

GRUB has read-only filesystem drivers. It cannot write back updates to the configuration files on disk.

share|improve this answer
not even a debug mode where it mount as write mode, save the changes, and mount in RO again? – gcb Mar 19 '12 at 21:37

Run update-grub.

You can quickly edit the resulting grub.cfg file to make your changes.

share|improve this answer
i know, but when you are booting ten times per minute to debug something (that may not even give you a usable state, when you are debugging setmode or apci options to the kernel/video drivers) you usually forget or don't even have image on the screen to do anything – gcb Mar 19 '12 at 21:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .