How do I modify or edit the bootload lst?

New install of Leap 42.2_x86-64 and love it. Using Grub 2. I see how to select the default boot, but would like to remove some old versions and reorder the boot list. Used to be able to do all of that via YaST or editing the files. It’s not in YaST any more, and the files say they are not editable. There must be a way to do this. Thanks in advance for the help.

Mike

any bootloader experts?

On Mon 03 Apr 2017 04:06:01 PM CDT, idee wrote:

New install of Leap 42.2_x86-64 and love it. Using Grub 2. I see how
to select the default boot, but would like to remove some old versions
and reorder the boot list. Used to be able to do all of that via YaST
or editing the files. It’s not in YaST any more, and the files say they
are not editable. There must be a way to do this. Thanks in advance
for the help.

Mike

Hi
Look down in /etc/grub.d and also in /etc/default/grub file. Make sure
you run the following to update;


grub2-mkconfig -o /boot/grub2/grub.cfg

What you probably need to do is look at running the purge-kernel
systemd service and this will remove all the old entries, you could also
look at the configuration file for this in /etc/zypp/zypp.conf and set
the multiversion.kernels option.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.38-50-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thanks for the help. I’ve been out with work for a while. Will give it a go soon.