Bugzilla – Full Text Bug Listing |
Summary: | [y2-bootloader] Remember last choice in grub | ||
---|---|---|---|
Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Terry Cater <tjcater> |
Component: | YaST2 | Assignee: | YaST Team <yast-internal> |
Status: | CONFIRMED --- | QA Contact: | Jiri Srain <jsrain> |
Severity: | Enhancement | ||
Priority: | P5 - None | CC: | ancor, claudius.ellsel, jreidinger, mchang |
Version: | Current | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Other | ||
URL: | https://trello.com/c/izFMnlAd | ||
Whiteboard: | |||
Found By: | --- | Services Priority: | |
Business Priority: | Blocker: | --- | |
Marketing QA Status: | --- | IT Deployment: | --- |
Description
Terry Cater
2019-12-30 00:13:40 UTC
that make sense for me. Michael - just quick question, how to reset already set value that we set by "grub-set-default" to use really the last one? (In reply to Josef Reidinger from comment #1) > that make sense for me. > > Michael - just quick question, how to reset already set value that we set by > "grub-set-default" to use really the last one? I believed the simple configuration [1] GRUB_SAVEDEFAULT is what you are looking for. And if you read the manual thoroughly, you'll see the caveat in the end. "This option relies on the environment block, which may not be available in all situations" That is also saying we may have to detect either of the zfs, lvm and mdadm is in use by /boot and pop up warning whenever writable environment block not available. [1] https://www.gnu.org/software/grub/manual/grub/grub.html#Simple-configuration Thanks. (In reply to Michael Chang from comment #2) > (In reply to Josef Reidinger from comment #1) > > that make sense for me. > > > > Michael - just quick question, how to reset already set value that we set by > > "grub-set-default" to use really the last one? > > I believed the simple configuration [1] GRUB_SAVEDEFAULT is what you are > looking for. And if you read the manual thoroughly, you'll see the caveat in > the end. > > "This option relies on the environment block, which may not be available in > all situations" > > That is also saying we may have to detect either of the zfs, lvm and mdadm > is in use by /boot and pop up warning whenever writable environment block > not available. > > [1] > https://www.gnu.org/software/grub/manual/grub/grub.html#Simple-configuration > > Thanks. ah, fine so if we use GRUB_DEFAULT=saved and GRUB_SAVEDEFAULT='true' then "grub-set-default" value is ignored, right? And if that environment block is not available it will use that default instead? (In reply to Josef Reidinger from comment #3) > (In reply to Michael Chang from comment #2) > > (In reply to Josef Reidinger from comment #1) > > ah, fine so if we use GRUB_DEFAULT=saved and GRUB_SAVEDEFAULT='true' > then "grub-set-default" value is ignored, right? Strictly speaking grub-set-default is not ignored, it could still be used to set "last default" from linux, besides from grub. :) > And if that environment > block is not available it will use that default instead? Yes I think so. But grub will also spew ugly warnings (rather clueless like "sparse file not allowed") in this case. :( I'd like to see this behavior activated by default. Are there reasons against it? Some distributions like Ubuntu don't have it on, but I really enjoy this option on Manjaro for example where it is on by default. |