Correct me if I'm wrong, according to [this
documentation](https://www.gnu.org/software/grub/manual/grub/html_node/Environment-
block.html), on LVM or RAID disk the `/boot/grub/grubenv` file cannot be
modified by GRUB, in that case, by the `save_env` routine. Only the OS
via `grub-reboot`, `grub-editenv` or `grub-set-default` can modify the
`/boot/grub/grubenv` file.

Therefore, the `save_env prev_saved_entry` won't work here (on LVM or
RAID disk), and the system will not be able to boot on the previously
saved entry.

Is that correct ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to