Ubuntu 20.04.6 LTS apt problems - how to upgrade f/w?
Ralf Mardorf
kde.lists at yahoo.com
Wed Nov 27 16:02:14 UTC 2024
On Wed, 2024-11-27 at 16:31 +0100, Bo Berglund wrote:
> I want to make sure that my *server* ALWAYS starts when power is
> applied or reboot is commanded or the reset button is pressed.
>
> It should not go into something else if the user had briefly switched
> to that earlier.
Hi,
I don't know what you need to edit, when using GRUB's config for GRUB's
auto-doodad. If you edit grub.cfg manually, as I use to do, then
set default=n
does the trick. In the below example
set default="1"
does always auto-select the second entry "MemTest86 V11+ Free". Whatever
was manually selected before, "Arch Linux" or one of my Ubuntu flavours
(head > 27 ;), the GRUB menu's default is always "MemTest86 V11+ Free".
• rocketmouse at archlinux ~
$ head -27 /boot/grub/grub.cfg
play 1920 440 1 0 1 880 2 0 1 880 1 0 1 440 2
set timeout=60
set color_normal=light-gray/black
set color_highlight=white/light-gray
set menu_color_normal=light-gray/black
set menu_color_highlight=white/light-gray
set default="1"
insmod efi_gop
menuentry " -- HAL 9000-m1 -----------------------------------------------------------------" {
true
}
menuentry " MemTest86 V11+ Free" {
search --set=root --no-floppy --fs-uuid 3F5B-F698
chainloader /EFI/memtest86/memtestx64.efi
}
menuentry " -- Arch Linux ------------------------------------------------------------------" {
true
}
menuentry " Arch Linux threadirqs" {
search --no-floppy --set=root --label m1.archlinux
linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro threadirqs ibt=off ipv6.disable=1 kvm.enable_virt_at_load=0
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
Regards,
Ralf
More information about the ubuntu-users
mailing list