Re: F30 Self-Contained Change proposal: Improved GRUB menu

2019-02-05 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 05, 2019 at 11:13:06AM +0100, Javier Martinez Canillas wrote:
> Hello Zbyszek,
> 
> Thanks a lot for your feedback.
> 
> On Tue, Feb 5, 2019 at 10:33 AM Zbigniew Jędrzejewski-Szmek
>  wrote:
> >
> > On Tue, Jan 29, 2019 at 05:40:30AM -0500, Matthew Miller wrote:
> > > On Tue, Jan 29, 2019 at 05:29:51AM -0500, Ben Cotton wrote:
> > > > Improve the GRUB menu by only having the default boot option for each
> > > > installed operating system in the main menu, and the other options
> > > > into a sub-menu. This would better organize the boot options and lead
> > > > to an easier and seamless boot experience.
> > >
> > > +1. I often see new users asking "why are there multiple Fedora 
> > > choices?", or
> > > "which kernel should I use?"
> >
> > The Change page does not make it clear: is it possible to opt out of the
> > change, i.e. keep the current menu structure after grub2-mkconfig has run?
> >
> 
> Yes, the Change page isn't clear. What I was thinking was to have a
> GRUB_ENABLE_SIMPLE_MENU option in /etc/default/grub that would control
> how the /etc/grub.d/* snippets would generate the grub menu. So users
> can opt-in by setting it to true and re-running grub2-mkconfig again.
> Conversely, users may opt-out by removing GRUB_ENABLE_SIMPLE_MENU from
> /etc/default/grub (or not setting it to true) and running
> grub2-mkconfig again. It's not possible to opt-out after
> grub2-mkconfig as run since that it's what generates the grub2.cfg
> that will contain the menu entries. But it's possible to re-generate
> the grub2.cfg file.
> 
> I also think that Anaconda should only set
> GRUB_ENABLE_SIMPLE_MENU=true for Workstation, like we do with the GRUB
> menu auto hide feature. I'll update the Changes page to reflect this.

Thanks, that sounds good.

Zbyszek
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: F30 Self-Contained Change proposal: Improved GRUB menu

2019-02-05 Thread Javier Martinez Canillas
Hello Zbyszek,

Thanks a lot for your feedback.

On Tue, Feb 5, 2019 at 10:33 AM Zbigniew Jędrzejewski-Szmek
 wrote:
>
> On Tue, Jan 29, 2019 at 05:40:30AM -0500, Matthew Miller wrote:
> > On Tue, Jan 29, 2019 at 05:29:51AM -0500, Ben Cotton wrote:
> > > Improve the GRUB menu by only having the default boot option for each
> > > installed operating system in the main menu, and the other options
> > > into a sub-menu. This would better organize the boot options and lead
> > > to an easier and seamless boot experience.
> >
> > +1. I often see new users asking "why are there multiple Fedora choices?", 
> > or
> > "which kernel should I use?"
>
> The Change page does not make it clear: is it possible to opt out of the
> change, i.e. keep the current menu structure after grub2-mkconfig has run?
>

Yes, the Change page isn't clear. What I was thinking was to have a
GRUB_ENABLE_SIMPLE_MENU option in /etc/default/grub that would control
how the /etc/grub.d/* snippets would generate the grub menu. So users
can opt-in by setting it to true and re-running grub2-mkconfig again.
Conversely, users may opt-out by removing GRUB_ENABLE_SIMPLE_MENU from
/etc/default/grub (or not setting it to true) and running
grub2-mkconfig again. It's not possible to opt-out after
grub2-mkconfig as run since that it's what generates the grub2.cfg
that will contain the menu entries. But it's possible to re-generate
the grub2.cfg file.

I also think that Anaconda should only set
GRUB_ENABLE_SIMPLE_MENU=true for Workstation, like we do with the GRUB
menu auto hide feature. I'll update the Changes page to reflect this.

Best regards,
Javier
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: F30 Self-Contained Change proposal: Improved GRUB menu

2019-02-05 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jan 29, 2019 at 05:40:30AM -0500, Matthew Miller wrote:
> On Tue, Jan 29, 2019 at 05:29:51AM -0500, Ben Cotton wrote:
> > Improve the GRUB menu by only having the default boot option for each
> > installed operating system in the main menu, and the other options
> > into a sub-menu. This would better organize the boot options and lead
> > to an easier and seamless boot experience.
> 
> +1. I often see new users asking "why are there multiple Fedora choices?", or
> "which kernel should I use?"

The Change page does not make it clear: is it possible to opt out of the
change, i.e. keep the current menu structure after grub2-mkconfig has run?

Zbyszek
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: F30 Self-Contained Change proposal: Improved GRUB menu

2019-01-29 Thread Matthew Miller
On Tue, Jan 29, 2019 at 05:29:51AM -0500, Ben Cotton wrote:
> Improve the GRUB menu by only having the default boot option for each
> installed operating system in the main menu, and the other options
> into a sub-menu. This would better organize the boot options and lead
> to an easier and seamless boot experience.

+1. I often see new users asking "why are there multiple Fedora choices?", or
"which kernel should I use?"

-- 
Matthew Miller

Fedora Project Leader
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


F30 Self-Contained Change proposal: Improved GRUB menu

2019-01-29 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/ImprovedGrubMenu

== Summary ==

Improve the GRUB menu by only having the default boot option for each
installed operating system in the main menu, and the other options
into a sub-menu. This would better organize the boot options and lead
to an easier and seamless boot experience.

== Owner ==
* Name: [[User:Javierm|Javier Martinez Canillas]]
* Email: javi...@redhat.com


== Detailed Description ==

The current GRUB menu is confusing, specially when multiple operating
systems are installed. The Fedora boot entries are added first and
then the ones for the other installed operating systems.

The main menu contains all the boot entries for Fedora but only the
default boot entry for the other operating systems, the non-default
boot entries for the other installed operating systems are placed into
a per operating system sub-menu.

An example of how the GRUB menu currently looks can be found at
[https://javierm.fedorapeople.org/grub2/menu/fedora_menu.png
https://javierm.fedorapeople.org/grub2/menu/fedora_menu.png]

This can be improved by adding a sub-menu for the Fedora non-default
boot entries, as is already the case for the other installed operating
systems. This will make the boot entries for all the operating systems
consistent.

Another improvement would be to group all the default options for the
operating systems as one section, followed by another section that
groups all the sub-menus for the non-default options.

A tentative design made by Allan Day for the improved GRUB menu can be
found at [https://wiki.gnome.org/Design/OS/BootOptions#Tentative_Design
https://wiki.gnome.org/Design/OS/BootOptions#Tentative_Design]

For Fedora, the boot option in the main menu will either be the
selected default boot entry or if no default was chosen, the latest
installed kernel. For the other installed operating systems, the boot
option in the main menu will be the latest kernel as found by GRUB's
os-prober script.

== Benefit to Fedora ==

Making the menu less confusing and with better organized boot options
will lead to a better user experience and make easier for users to
choose the operating systems to boot.

== Scope ==
* Proposal owners:
# Change GRUB to implement the changes as described in the "Detailed
Description" section.
# Make sure this is all properly documented in release-notes, etc.

* Other developers:
# Test and watch for regressions.
* Policies and guidelines:  The policies and guidelines do not need to
be updated.
* Trademark approval: No changes needed.

== Upgrade/compatibility impact ==

The changes are in the grub.cfg file generated at install time by
Anaconda. Users can manually enable this after an upgrade by executing
gru2-mkconfig to regenerate their grub.cfg file.

== How To Test ==
# Single OS test
## Install Fedora in a VM.
## On boot the default boot option is in the main menu and the other
options (e.g: rescue boot option) are in a sub-menu.
# Multi boot test
## Install Fedora on a machine which other operating system installed.
## On boot the default boot options for the operating systems are in
the main menu and the other options in sub-menus.

== User Experience ==

A simpler and easier to understand GRUB boot menu. Choosing which
operating system to boot should be simpler and involve less steps.

== Dependencies ==
None

== Contingency Plan ==
* Contingency mechanism: Revert the GRUB changes.
* Contingency deadline: Beta Freeze
* Blocks release? No
* Blocks product? None

-- 
Ben Cotton
Fedora Program Manager
TZ=America/Indiana/Indianapolis
___
devel-announce mailing list -- devel-announce@lists.fedoraproject.org
To unsubscribe send an email to devel-announce-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org


F30 Self-Contained Change proposal: Improved GRUB menu

2019-01-29 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/ImprovedGrubMenu

== Summary ==

Improve the GRUB menu by only having the default boot option for each
installed operating system in the main menu, and the other options
into a sub-menu. This would better organize the boot options and lead
to an easier and seamless boot experience.

== Owner ==
* Name: [[User:Javierm|Javier Martinez Canillas]]
* Email: javi...@redhat.com


== Detailed Description ==

The current GRUB menu is confusing, specially when multiple operating
systems are installed. The Fedora boot entries are added first and
then the ones for the other installed operating systems.

The main menu contains all the boot entries for Fedora but only the
default boot entry for the other operating systems, the non-default
boot entries for the other installed operating systems are placed into
a per operating system sub-menu.

An example of how the GRUB menu currently looks can be found at
[https://javierm.fedorapeople.org/grub2/menu/fedora_menu.png
https://javierm.fedorapeople.org/grub2/menu/fedora_menu.png]

This can be improved by adding a sub-menu for the Fedora non-default
boot entries, as is already the case for the other installed operating
systems. This will make the boot entries for all the operating systems
consistent.

Another improvement would be to group all the default options for the
operating systems as one section, followed by another section that
groups all the sub-menus for the non-default options.

A tentative design made by Allan Day for the improved GRUB menu can be
found at [https://wiki.gnome.org/Design/OS/BootOptions#Tentative_Design
https://wiki.gnome.org/Design/OS/BootOptions#Tentative_Design]

For Fedora, the boot option in the main menu will either be the
selected default boot entry or if no default was chosen, the latest
installed kernel. For the other installed operating systems, the boot
option in the main menu will be the latest kernel as found by GRUB's
os-prober script.

== Benefit to Fedora ==

Making the menu less confusing and with better organized boot options
will lead to a better user experience and make easier for users to
choose the operating systems to boot.

== Scope ==
* Proposal owners:
# Change GRUB to implement the changes as described in the "Detailed
Description" section.
# Make sure this is all properly documented in release-notes, etc.

* Other developers:
# Test and watch for regressions.
* Policies and guidelines:  The policies and guidelines do not need to
be updated.
* Trademark approval: No changes needed.

== Upgrade/compatibility impact ==

The changes are in the grub.cfg file generated at install time by
Anaconda. Users can manually enable this after an upgrade by executing
gru2-mkconfig to regenerate their grub.cfg file.

== How To Test ==
# Single OS test
## Install Fedora in a VM.
## On boot the default boot option is in the main menu and the other
options (e.g: rescue boot option) are in a sub-menu.
# Multi boot test
## Install Fedora on a machine which other operating system installed.
## On boot the default boot options for the operating systems are in
the main menu and the other options in sub-menus.

== User Experience ==

A simpler and easier to understand GRUB boot menu. Choosing which
operating system to boot should be simpler and involve less steps.

== Dependencies ==
None

== Contingency Plan ==
* Contingency mechanism: Revert the GRUB changes.
* Contingency deadline: Beta Freeze
* Blocks release? No
* Blocks product? None

-- 
Ben Cotton
Fedora Program Manager
TZ=America/Indiana/Indianapolis
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org