Web lists-archives.com

Re: no boot - kinda




On 24/08/2018 06:14, Glenn English wrote:
I'm told that grub.cfg is a place I don't want to be. Can someone tell
me how to get grub to boot the working OS, or maybe how to fix the new
one?

The recommended way to configure Grub 2 on Debian is to edit /etc/default/grub and run update-grub .

The new format to specify a different default kernel is horrific; it contains menu items separated with ">". You need to get the full label from your generated grub.conf because it likely contains device UUIDs:
GRUB_DEFAULT="gnulinux-advanced-ed4def00-71bb-4521-a16e-9551bd762b5b>gnulinux-4.16.0-1-amd64-advanced-ed4def00-71bb-4521-a16e-9551bd762b5b"

You can try adding kernel command line parameters to GRUB_CMDLINE_LINUX to fix your latest kernel. You will need to run update-grub after each change.

Kind regards,

--
Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
Director
Transient Software Limited <https://transient.nz/>
New Zealand