URL:
  <http://savannah.gnu.org/bugs/?45609>

                 Summary: grub-reboot should warn when device with bootdir
does not support the environment block
                 Project: GNU GRUB
            Submitted by: lukas_vacek
            Submitted on: Thu 23 Jul 2015 04:08:59 PM GMT
                Category: User Interface
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Hi!

There is a rather annoying usability problem with grub-reboot. When the
bootdir is on a device with disabled environment block writes
(https://www.gnu.org/software/grub/manual/html_node/Environment-block.html -
lvm, raid, zfs ...), next_entry is never cleared.

This means that the boot option set with grub-reboot is not used only once but
*always* - even after running update-grub the boot option selected to boot
once is still used by grub(!) - the user must debug the problem all the way
down and, for example, delete /boot/grub/grubenv.

Patch attached prevents grub-reboot working on a device with lvm or raid or
zfs or btrfs.

Thanks!
Lucas



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 23 Jul 2015 04:08:59 PM GMT  Name:
0001-grub-reboot-don-t-set-next_entry-in-certain-cases.patch  Size: 2kB   By:
lukas_vacek

<http://savannah.gnu.org/bugs/download.php?file_id=34493>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45609>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to