Hi there!
I have just installed Lubuntu 24.04.1 LTS (Noble Numbat) on my HP8440p alongside Void, Slackware 15.0 and an older install of the same version of Lubuntu.
Grub was installed through a chroot of the newer Lubuntu (sda6), from Lubuntus live usb.
os-prober is enabled in /etc/default/grub (below) and I did run
update-grub
grub.cfg has entries for void, but no entries for Slackware and the older Lubuntu (sda1), which does not surprise me in the case of Slackware as this has happened with Slackware under Grub installed by other distros in other machines too.
But GRUB menu shows neither Void, nor Lubuntu in sda1, nor, of course, Slackware when I start the machine.
I am completely lost here.
Some info:
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
0 100% /snap/bare/5
loop1
0 100% /snap/core22/1722
loop2
0 100% /snap/firefox/5561
loop3
0 100% /snap/gnome-42-2204/176
loop4
0 100% /snap/gtk-common-themes/1535
loop5
0 100% /snap/snapd/23258
sda
├─sda1
│ ext4 1.0 LubNN2404 9aaa63f3-c9b5-4610-901e-80c6524dccea
├─sda2
│ ext4 1.0 VOID ebba53a5-a6d2-4703-a994-8b24f9d2f832
├─sda3
│ swap 1 swap 9e93d494-3ecc-462c-a071-1311aa90f61f
├─sda4
│
├─sda5
│ ext4 1.0 Slack15 89f1e4d4-2b56-431c-8555-42192220a77a
└─sda6
ext4 1.0 lubuntu 59fe58a6-6a05-41ab-bfe3-24fc71b05053 27,1G 25% /
sr0
/etc/default/grub says:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=-1
GRUB_DISTRIBUTOR='Ubuntu'
GRUB_CMDLINE_LINUX_DEFAULT='quiet splash'
GRUB_CMDLINE_LINUX=""
# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#GRUB_DISABLE_OS_PROBER=false
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
#jan_8_2005:
GRUB_DISABLE_OS_PROBER="false"
grub.cfg says:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=sv_SE
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
insmod gfxmenu
insmod png
set theme=($root)/usr/share/grub/themes/lubuntu-grub-theme/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=-1
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible -1 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-59fe58a6-6a05-41ab-bfe3-24fc71b05053' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
linux /boot/vmlinuz-6.8.0-51-generic root=UUID=59fe58a6-6a05-41ab-bfe3-24fc71b05053 ro quiet splash $vt_handoff
initrd /boot/initrd.img-6.8.0-51-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-59fe58a6-6a05-41ab-bfe3-24fc71b05053' {
menuentry 'Ubuntu, with Linux 6.8.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-51-generic-advanced-59fe58a6-6a05-41ab-bfe3-24fc71b05053' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
echo 'Loading Linux 6.8.0-51-generic ...'
linux /boot/vmlinuz-6.8.0-51-generic root=UUID=59fe58a6-6a05-41ab-bfe3-24fc71b05053 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0-51-generic
}
menuentry 'Ubuntu, with Linux 6.8.0-51-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-51-generic-recovery-59fe58a6-6a05-41ab-bfe3-24fc71b05053' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
echo 'Loading Linux 6.8.0-51-generic ...'
linux /boot/vmlinuz-6.8.0-51-generic root=UUID=59fe58a6-6a05-41ab-bfe3-24fc71b05053 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0-51-generic
}
menuentry 'Ubuntu, with Linux 6.8.0-49-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-49-generic-advanced-59fe58a6-6a05-41ab-bfe3-24fc71b05053' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
echo 'Loading Linux 6.8.0-49-generic ...'
linux /boot/vmlinuz-6.8.0-49-generic root=UUID=59fe58a6-6a05-41ab-bfe3-24fc71b05053 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0-49-generic
}
menuentry 'Ubuntu, with Linux 6.8.0-49-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-49-generic-recovery-59fe58a6-6a05-41ab-bfe3-24fc71b05053' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
echo 'Loading Linux 6.8.0-49-generic ...'
linux /boot/vmlinuz-6.8.0-49-generic root=UUID=59fe58a6-6a05-41ab-bfe3-24fc71b05053 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.8.0-49-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_linux_zfs ###
### END /etc/grub.d/10_linux_zfs ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+x64.bin)" --class memtest $menuentry_id_option 'memtest86+' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
linux /boot/memtest86+x64.bin
}
menuentry 'Memory test (memtest86+x64.bin, serial console)' --class memtest $menuentry_id_option 'memtest86+-serial' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 59fe58a6-6a05-41ab-bfe3-24fc71b05053
else
search --no-floppy --fs-uuid --set=root 59fe58a6-6a05-41ab-bfe3-24fc71b05053
fi
linux /boot/memtest86+x64.bin console=ttyS0,115200
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
insmod bli
fi
### END /etc/grub.d/25_bli ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Void Linux (on /dev/sda2)' --class void --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ebba53a5-a6d2-4703-a994-8b24f9d2f832' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ebba53a5-a6d2-4703-a994-8b24f9d2f832
else
search --no-floppy --fs-uuid --set=root ebba53a5-a6d2-4703-a994-8b24f9d2f832
fi
linux /boot/vmlinuz-6.6.63_1 root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro loglevel=4
initrd /boot/initramfs-6.6.63_1.img
}
submenu 'Advanced options for Void Linux (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-ebba53a5-a6d2-4703-a994-8b24f9d2f832' {
menuentry 'Void GNU/Linux (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.63_1--ebba53a5-a6d2-4703-a994-8b24f9d2f832' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ebba53a5-a6d2-4703-a994-8b24f9d2f832
else
search --no-floppy --fs-uuid --set=root ebba53a5-a6d2-4703-a994-8b24f9d2f832
fi
linux /boot/vmlinuz-6.6.63_1 root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro loglevel=4
initrd /boot/initramfs-6.6.63_1.img
}
menuentry 'Void GNU/Linux, with Linux 6.6.63_1 (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.63_1--ebba53a5-a6d2-4703-a994-8b24f9d2f832' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ebba53a5-a6d2-4703-a994-8b24f9d2f832
else
search --no-floppy --fs-uuid --set=root ebba53a5-a6d2-4703-a994-8b24f9d2f832
fi
linux /boot/vmlinuz-6.6.63_1 root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro loglevel=4
initrd /boot/initramfs-6.6.63_1.img
}
menuentry 'Void GNU/Linux, with Linux 6.6.63_1 (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.63_1-root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro single-ebba53a5-a6d2-4703-a994-8b24f9d2f832' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ebba53a5-a6d2-4703-a994-8b24f9d2f832
else
search --no-floppy --fs-uuid --set=root ebba53a5-a6d2-4703-a994-8b24f9d2f832
fi
linux /boot/vmlinuz-6.6.63_1 root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro single
initrd /boot/initramfs-6.6.63_1.img
}
menuentry 'Void GNU/Linux, with Linux 6.6.62_1 (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62_1--ebba53a5-a6d2-4703-a994-8b24f9d2f832' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ebba53a5-a6d2-4703-a994-8b24f9d2f832
else
search --no-floppy --fs-uuid --set=root ebba53a5-a6d2-4703-a994-8b24f9d2f832
fi
linux /boot/vmlinuz-6.6.62_1 root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro loglevel=4
initrd /boot/initramfs-6.6.62_1.img
}
menuentry 'Void GNU/Linux, with Linux 6.6.62_1 (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.6.62_1-root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro single-ebba53a5-a6d2-4703-a994-8b24f9d2f832' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ebba53a5-a6d2-4703-a994-8b24f9d2f832
else
search --no-floppy --fs-uuid --set=root ebba53a5-a6d2-4703-a994-8b24f9d2f832
fi
linux /boot/vmlinuz-6.6.62_1 root=UUID=ebba53a5-a6d2-4703-a994-8b24f9d2f832 ro single
initrd /boot/initramfs-6.6.62_1.img
}
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
lubuntu@lubuntu:~$ sudo uname -a
Linux lubuntu 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
lubuntu@lubuntu:~$ sudo inxi -a
CPU: dual core Intel Core i5 M 560 (-MT MCP-)
speed/min/max: 1199/1199/2667 MHz
Kernel: 6.8.0-41-generic x86_64 Up: 2d 3h 36m
Mem: 3.85/7.55 GiB (51.0%)
Storage: 480.08 GiB (2.7% used) Procs: 245
Shell: Sudo 1.9.15p5 inxi: 3.3.34