[opensuse] Grub Customizer broken in 15.0
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/28/2018 06:50 AM, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
Do you have 'GRUB_DISABLE_OS_PROBER=false' in your /etc/default/grub file? The comment claims "WARNING foregin OS menu entries will be lost if set true here" Sorry if not what you are looking for. Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-05-29 02:18, don fisher wrote:
On 05/28/2018 06:50 AM, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
Do you have 'GRUB_DISABLE_OS_PROBER=false' in your /etc/default/grub file? The comment claims "WARNING foregin OS menu entries will be lost if set true here"
I create my own Grub 2 entries with that var set to false. I do that by editing "/boot/grub2/custom.cfg" # If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update # /boot/grub2/grub.cfg. # Needed for changes to the default boot to hold. menuentry 'A name' --id Arbitary-Identifier-001 { insmod part_gpt insmod ext2 set root='hd1,gpt2' if search --no-floppy --fs-uuid --set=root 943d65.... ; then chainloader +1 else echo Could not find this OS instance, will not boot (3) sleep 1 fi } menuentry 'A 2nd name' --id Identifier { insmod part_msdos insmod ext2 set root='hd7,msdos1' if search --no-floppy --fs-uuid --set=root 3f8.... ; then chainloader +1 else echo No pude encontrarlo, no lo arrancaré (3) sleep 1 fi } The "set root" line doesn't matter much, but the uuid must be absolutely correct. The entry boots the grub found there. To find out how to create an entry for another type, like Windows, just enable os-prober and run "grub2-mkconfig...." to create grub.cfg. Then find out what it wrote there, and create your own entry in the file above in its like. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 05/29/2018 06:21 AM, Carlos E. R. wrote:
I create my own Grub 2 entries with that var set to false. I do that by editing "/boot/grub2/custom.cfg"
Why should that be necessary, when it used to be possible to edit the menu? People may want to change the names, etc., or in my case fix a problem where one system is not bootable. Why is it no longer possible to do that? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-05-29 16:47, James Knott wrote:
On 05/29/2018 06:21 AM, Carlos E. R. wrote:
I create my own Grub 2 entries with that var set to false. I do that by editing "/boot/grub2/custom.cfg"
Why should that be necessary, when it used to be possible to edit the menu? People may want to change the names, etc., or in my case fix a problem where one system is not bootable. Why is it no longer possible to do that?
Well, I don't remember when I asked how to add my entries that anybody mentioned a grub edit program. Or I did not notice. Once I created the entries, they stay, are not modified by anything. And disabling os-prober makes updating kernel much faster. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
On 05/30/2018 08:11 AM, Carlos E. R. wrote:
On 2018-05-29 16:47, James Knott wrote:
I create my own Grub 2 entries with that var set to false. I do that by editing "/boot/grub2/custom.cfg" Why should that be necessary, when it used to be possible to edit the
On 05/29/2018 06:21 AM, Carlos E. R. wrote: menu? People may want to change the names, etc., or in my case fix a problem where one system is not bootable. Why is it no longer possible to do that? Well, I don't remember when I asked how to add my entries that anybody mentioned a grub edit program. Or I did not notice.
Once I created the entries, they stay, are not modified by anything. And disabling os-prober makes updating kernel much faster.
I don;'t recall how I heard about Grub Customizers, but it was likely someone here, when I mentioned I couldn't edit the grub2 menu. Prior to grub2, such an app wasn't needed, as it was possible to edit the grub and lilo menus. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/29/2018 09:47 AM, James Knott wrote:
Why should that be necessary, when it used to be possible to edit the menu? People may want to change the names, etc., or in my case fix a problem where one system is not bootable. Why is it no longer possible to do that?
You can add menu entries in /etc/grub.d/40_custom, e.g. menuentry 'My Groovy OS' { set root=(hd0,1) chainloader +1 } You need to rebuild the grub.cfg afterward: grub2-mkconfig -o $(find /boot -name grub.cfg) -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/28/2018 08:18 PM, don fisher wrote:
On 05/28/2018 06:50 AM, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
Do you have 'GRUB_DISABLE_OS_PROBER=false' in your /etc/default/grub file? The comment claims "WARNING foregin OS menu entries will be lost if set true here" Sorry if not what you are looking for. Don
It's set to false. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 28/05/18 23:50, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
I am assuming that you are talking about Grub2, right, and not Grub version 1 or LILO? The first thing I will state is that I do NOT use uefi on my installations, just the old legacy way of doing things so my comment is based on a non-uefi installation. Nor have I ever used a Grub Customizer. What I do is to go into Yast2>Boot Loader and under the option Boot Code Options I select- * Boot From Partition (previously known as Root Partition); * Set Active Flag in Partition Table for Boot Partition; * Write Generic Code to MBR then in the Boot Loader Options- * Probe Foreign OS (here it also should show Default Boot Section is openSUSE Leap 15.0) Now click on OK and let the system generate the new grub2 menu. Reboot. (NOTE: it would be very helpful if you have a copy of SystemRescueCD (SRCD) because it could be the case that the Active [boot] Flag may not have been be set/reset in the correct partition and when you reboot you may not get the Grub2 menu in which case check using SRCD and set the Active [boot] flag in the correct partition -- in this case more than likely to be the Extended partition (see below). You may also see, using SRCD, that Yast2 has selected the _Extended_ Partition as the Root/Boot From partition instead of -- let's say -- /dev/sda3 where Leap 15.0 is actually installed. Don't worry about if this is the case -- the system will still boot properly, provided the Active [boot] Flag has been set correctly.) BC -- "..The times have been That, when the brains were out, the man would die,.." "Macbeth", Shakespeare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/29/2018 01:42 AM, Basil Chupin wrote:
On 28/05/18 23:50, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
I am assuming that you are talking about Grub2, right, and not Grub version 1 or LILO?
Yes, the only options are GRUB2, GRUB2 for EFI and Not managed. I have GRUB2 selected
The first thing I will state is that I do NOT use uefi on my installations, just the old legacy way of doing things so my comment is based on a non-uefi installation. Nor have I ever used a Grub Customizer.
This computer supports UEFI, but it's not used. The only reason I installed Grub Customizer was because, with GRUB2, I could no longer edit the menu.
What I do is to go into Yast2>Boot Loader and under the option Boot Code Options I select-
* Boot From Partition (previously known as Root Partition);
* Set Active Flag in Partition Table for Boot Partition;
* Write Generic Code to MBR
All checked.
then in the Boot Loader Options-
* Probe Foreign OS
Checked
(here it also should show Default Boot Section is openSUSE Leap 15.0)
Yep.
Now click on OK and let the system generate the new grub2 menu. Reboot.
(NOTE: it would be very helpful if you have a copy of SystemRescueCD (SRCD) because it could be the case that the Active [boot] Flag may not have been be set/reset in the correct partition and when you reboot you may not get the Grub2 menu in which case check using SRCD and set the Active [boot] flag in the correct partition -- in this case more than likely to be the Extended partition (see below).
The problem is not the active boot partition, but booting Windows is no longer an option in the menu. I have to run a grub command to temporarily make the Windows partition bootable and then reboot.
You may also see, using SRCD, that Yast2 has selected the _Extended_ Partition as the Root/Boot From partition instead of -- let's say -- /dev/sda3 where Leap 15.0 is actually installed. Don't worry about if this is the case -- the system will still boot properly, provided the Active [boot] Flag has been set correctly.)
BC
This is a system that has been working well for almost 7 years. It's just with installing 15.0 that the problem occurred. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I have found a version that works here: https://software.opensuse.org/package/grub-customizer It's the same version as I had installed previously, but this one works. On 05/28/2018 09:50 AM, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Perhaps this should be included as part of openSUSE. It's needed since we can no longer edit the grub menu in Yast. When I installed it, I had to add the repository to my system. On 05/30/2018 09:53 AM, James Knott wrote:
I have found a version that works here: https://software.opensuse.org/package/grub-customizer
It's the same version as I had installed previously, but this one works.
On 05/28/2018 09:50 AM, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* James Knott <james.knott@jknott.net> [05-30-18 12:03]:
Perhaps this should be included as part of openSUSE. It's needed since we can no longer edit the grub menu in Yast. When I installed it, I had to add the repository to my system.
On 05/30/2018 09:53 AM, James Knott wrote:
I have found a version that works here: https://software.opensuse.org/package/grub-customizer
It's the same version as I had installed previously, but this one works.
On 05/28/2018 09:50 AM, James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
now are you really talking about the grub menu or the grub2 menu as they are different. and you can edit the grub2 menu using a text editor but must follow the included instructions when doing so or your edits will not remain. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/30/2018 12:33 PM, Patrick Shanahan wrote:
now are you really talking about the grub menu or the grub2 menu as they are different. and you can edit the grub2 menu using a text editor but must follow the included instructions when doing so or your edits will not remain.
Grub2. It's not needed with the older grub or lilo. However, which version of grub is currently distributed? When I checked, it was only grub2 and I had mentioned this in other messages. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott composed on 2018-05-30 13:59 (UTC-0400):
...which version of grub is currently distributed? When I checked, it was only grub2...
Only Grub2 is supported by YaST/Installation. 0.97 remains available in the repos and the only one I use, except for one that has UEFI booting enabled. Post-installation with MBR disks, Grub2 can be replaced by 0.97 using zypper/rpm, restoring use of Gfxboot and easy Grub menu edits both runtime and in menu.lst. -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place?
Looking at yast2-bootloader, I see no such change in the changelog. Seems to me it ought to work like in 42.3 - I don't use grub myself though, so I can't try it out. If you see such a serious regression, I would report it. -- Per Jessen, Zürich (24.8°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/30/2018 12:34 PM, Per Jessen wrote:
James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place? Looking at yast2-bootloader, I see no such change in the changelog. Seems to me it ought to work like in 42.3 - I don't use grub myself though, so I can't try it out. If you see such a serious regression, I would report it.
This isn't a boot loader problem. It's the fact that I lost the ability to edit the menu. It was possible to do that with lilo and original grub, but not grub2. I then installed Grub Customizer, to edit the grub2 menu. However, it was broken with 15.0. I have since found a 15.0 version (same version number as before) which works. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
On 05/30/2018 12:34 PM, Per Jessen wrote:
James Knott wrote:
I installed 15.0 on my notebook computer, where I have both Linux and Windows installed. This means I need a boot menu to select which OS I want to use. In the past, it was possible to edit the boot menu. Someone decided to "improve" things by removing that possibility. I then had to install Grub Customizer to edit the menu. That's now broken with 15.0. On top of that, my Grub menu has 15.0 twice, but no mention of Windows and no way to fix that. Is there any way to edit the menu now? Why was this even broken in the first place? Looking at yast2-bootloader, I see no such change in the changelog. Seems to me it ought to work like in 42.3 - I don't use grub myself though, so I can't try it out. If you see such a serious regression, I would report it.
This isn't a boot loader problem.
Understood.
It's the fact that I lost the ability to edit the menu.
With YaST? understood. I believe that functionality is provided by yast2-bootloader. -- Per Jessen, Zürich (19.1°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/30/2018 02:26 PM, Per Jessen wrote:
It's the fact that I lost the ability to edit the menu. With YaST? understood. I believe that functionality is provided by yast2-bootloader.
Not really. The only thing you can edit is the disk boot order. This is very limited compared to what used to be available. However, Grub Configurizer is now working. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
On 05/30/2018 02:26 PM, Per Jessen wrote:
It's the fact that I lost the ability to edit the menu. With YaST? understood. I believe that functionality is provided by yast2-bootloader.
Not really. The only thing you can edit is the disk boot order. This is very limited compared to what used to be available.
That is what I would consider a regression. Anyway, it's not my problem. -- Per Jessen, Zürich (17.8°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 31/05/18 04:34, James Knott wrote:
On 05/30/2018 02:26 PM, Per Jessen wrote:
It's the fact that I lost the ability to edit the menu. With YaST? understood. I believe that functionality is provided by yast2-bootloader. Not really. The only thing you can edit is the disk boot order.
Not so. I already told you how to resolve your problem and what I do (and without using grub configuriser). But it's fine with me if you think otherwise... BTW, I had- Leap 42.3 Tumbleweed Leap 15 Alpha/Beta Windows 7 Pro installed and they showed up in the grub2 menu in that order. However, when Leap 15.0 became officially released I wanted it to be first in that list so that it booted as the 'default' OS; I edited the Boot Loader in Yast2 as I described and now grub2 menu shows- Leap 15.0 Leap 42.3 Tumbleweed Windows
This is very limited compared to what used to be available. However, Grub Configurizer is now working.
BC -- "..The times have been That, when the brains were out, the man would die,.." "Macbeth", Shakespeare -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/31/2018 03:37 AM, Basil Chupin wrote:
Not so. I already told you how to resolve your problem and what I do (and without using grub configuriser).
I replied to that email and said all my settings were the same as yours. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 30/05/18 02:04 PM, James Knott wrote:
However, it was broken with 15.0. I have since found a 15.0 version (same version number as before) which works.
That is disturbing. That things in "home:" work when things in the main/approved distribution/support do not. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/31/2018 09:23 AM, Anton Aylward wrote:
On 30/05/18 02:04 PM, James Knott wrote:
However, it was broken with 15.0. I have since found a 15.0 version (same version number as before) which works. That is disturbing. That things in "home:" work when things in the main/approved distribution/support do not.
Is it in the main distro? I had to go find it and, as part of the install, add the new repository. I'd expect it to be properly updated if it was part of the distro. On my desktop system, where I do not use it, when search in Software Manager for grub-customizer, nothing turns up. Given the lack of menu editing with grub2, I think it should be made part of the distro. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (9)
-
Anton Aylward
-
Basil Chupin
-
Carlos E. R.
-
don fisher
-
Felix Miata
-
Glenn Holmer
-
James Knott
-
Patrick Shanahan
-
Per Jessen