You are not logged in.
Pages: 1
I'm not what you would call a knowlegable deb/dev user (yet, possibly for years to come)
I'm struggling with using 4 distros on alternating days, and to
prevent grub from stepping all over itself I usually limit grubwork
to my go2 distro which for now is Suse. I'm only saying this to
show where the following boot process began :-)
All the /etc/fstabs on all distros use only disk-by-uuid (since I
reluctantly gave up on the use of dev-names). This would suggest
(to me) that there is no reason why dev-names such as /dev/sda2
should ever appear in the said boot process involving any
installation.
YET, on maybe every 10th boot of Devuan up pops the
error shown in the snapshot (sorry, out of focus took with my kodak):
I *think* the source of the message is Devuan but I ain't sure.
Partitioning is as follows
(1 = Artix, 2=Devuan, 3=Slack, 4=Leap, 5=Tumbleweed)
Desktop deathstar primary 1tb ssd
Device Start End Sectors Size Type
/dev/sda1 2048 209717247 209715200 100G Linux filesystem
/dev/sda2 209717248 419432447 209715200 100G Linux filesystem
/dev/sda3 419432448 629147647 209715200 100G Linux filesystem
/dev/sda4 629147648 838862847 209715200 100G Linux filesystem
/dev/sda5 838862848 1048578047 209715200 100G Linux filesystem
/dev/sda6 1048578048 1258293247 209715200 100G Linux filesystem
/dev/sda7 1258293248 1468008447 209715200 100G Linux filesystem
/dev/sda8 1468008448 1677723647 209715200 100G Linux filesystem
/dev/sda9 1677723648 1887438847 209715200 100G Linux filesystem
/dev/sda10 1898948608 1907337215 8388608 4G Linux swap
/dev/sda11 1907337216 1909434367 2097152 1G BIOS boot
GPT PMBR size mismatch (1 != 7814037167) will be corrected by write.
All operational OS partitions are regularly backed up with dd so that
I'm not too worried but I would like to get rid of the nuisance, more
importantly maybe some Dev devs would also want to know
cheers
Edit: 2022-02-12
Since my OP I had successive failures and just now I had a double fauilure affecting
two separate installed oS'es on my g73
It does seem like NOT a Devuan issue at all, the other system
just now was Slackware; BOTH failed because /dev/hdb could
not be found. I should have checked how fdisk saw the disk-1
before doing the just previous grub routine, I had not. Interestingly
the Leap system from which the boot was set up booted fine so
that AGAIN does in it seems point to os-prober. So I next
booted into Leap again, this time I did check, the primary disk WAS
/dev/sda, repeated the boot ritual, and all went fine following.
As outlined before ONLY my Suse systems ever see the primary
drive as other than /dev/sda ...this has to be "IT". At the time
I launch Yast to lay boot code the Leap system is all up. Is systemd
a factor in id-ing disks by dev-name?
Last edited by torquebar (2022-02-12 16:50:32)
Who, has loved us more?
Offline
If you're dropped to an initramfs shell then I don't think /etc/fstab has been read. The problem must be with the GRUB configuration. Please share that here along with the output of lsblk -f. Thanks.
Brianna Ghey — Rest In Power
Offline
If you're dropped to an initramfs shell then I don't think /etc/fstab has been read. The problem must be with the GRUB configuration. Please share that here along with the output of lsblk -f. Thanks.
# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 ext4 1.0 25568ecc-3f4c-410d-8cfb-bb45afc10051
├─sda2 ext4 1.0 s1t4-dev f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd 24.3G 32% /
├─sda3 ext4 1.0 c8bef1d4-9f78-4608-90a2-f79c58a4bf15
├─sda4 ext4 1.0 ssd250-4 b1a083e6-cf65-4ecf-8f2c-dfc604ab4672
├─sda5 ext4 1.0 ssd250-5 a49723a1-bc42-4b71-988c-5b50c7c8c7bc
├─sda6 ext4 1.0 ssd250-6-swap 6bfded0b-dd3e-49e3-bba5-6066b8cd7111
├─sda7 swap 1 250gb-7-swap c1503ccd-60a2-4520-a917-e1155cfa8122 [SWAP]
└─sda8
sdb
└─sdb1 ext4 1.0 ssd1tbblk-1 71aa45cc-6665-4d53-bf9d-434055f2dd6c 583G 31% /0/dx
sr0
ignore the labels. they're unused residuals
What exactly can I supply under "grub configuration"? I never opted
for the Dev installation to deploy boot code but I understand that when
Suse sets up the boot it does poll all grub configs (if that option
is checked). Since the cosy days of grub legacy I'm not familiar with
these new files totaling (their sum -1) too many :-)
Who, has loved us more?
Offline
We need to see /boot/grub/grub.cfg from whichever system is controlling the bootloader. You claim this to be "Suse" (openSUSE?) in the OP but if you're not sure run the set command from the GRUB command line to see the configfile variable and it's location.
If that variable isn't listed and you're not sure which system is controlling the bootloader then install the boot-info-script package in Devuan and share the output of
/usr/sbin/bootinfoscript
The output will be lengthy so be sure to use code tags.
Last edited by Head_on_a_Stick (2022-02-04 21:32:39)
Brianna Ghey — Rest In Power
Offline
I have 2 Suse systems Leap-15.3 and Tumbleweed, almost all boots are set up using the former (quoting the grub.cfg from Leap). Sometime the boot is set up from Tumbleweed, the two are probably quite similar but I can quote that one too if needed.
NB. I ran
apt-get dist-upgrade
earlier and got some cautionary remarks at the end about initramfs, could not duplicate just now because there is nothing to upgrade. I also installed Slackware-15.0 which writes itself an fstab using dev-names. So before so much as the first boot I edited that fstab to show uuids then ran grub on Leap. The resulting boot of Slackware bombed with a kernel panic 'unable to mount root fs', second attempt was manual
set root=(hd0,3)
linux /boot/vmlinuz root=/dev/sda3
boot
and worked fine. THEN I ran grub from Tumbleweed and that worked fine too, with the menu this time. My primary ssd always shows up as /dev/sda on Artix, Devuan, Slackware but sometimes as /dev/sdb on either Suse system and since this result is variable and so is the OP issue I suspect there might be a connection.
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -f ${config_directory}/grubenv ]; then
load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${env_block}" ] ; then
set env_block="(${root})${env_block}"
export env_block
load_env -f "${env_block}"
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
if [ "${env_block}" ] ; then
save_env -f "${env_block}" next_entry
fi
set boot_once=true
else
set default="${saved_entry}"
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}"
if [ "${env_block}" ] ; then
save_env -f "${env_block}" saved_entry
else
save_env saved_entry
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
}
terminal_input console
terminal_output console
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=99
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=99
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
set tuned_initrd=""
### END /etc/grub.d/00_tuned ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE Leap 15.3' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-150300.59.43-preempt ...'
linux /boot/vmlinuz-5.3.18-150300.59.43-preempt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5 splash=silent quiet mitigations=auto
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-150300.59.43-preempt
}
submenu 'Advanced options for openSUSE Leap 15.3' --hotkey=1 $menuentry_id_option 'gnulinux-advanced-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-150300.59.43-preempt' --hotkey=2 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-150300.59.43-preempt-advanced-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-150300.59.43-preempt ...'
linux /boot/vmlinuz-5.3.18-150300.59.43-preempt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5 splash=silent quiet mitigations=auto
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-150300.59.43-preempt
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-150300.59.43-preempt (recovery mode)' --hotkey=3 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-150300.59.43-preempt-recovery-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-150300.59.43-preempt ...'
linux /boot/vmlinuz-5.3.18-150300.59.43-preempt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-150300.59.43-preempt
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-150300.59.43-default' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-150300.59.43-default-advanced-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-150300.59.43-default ...'
linux /boot/vmlinuz-5.3.18-150300.59.43-default root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5 splash=silent quiet mitigations=auto
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-150300.59.43-default
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-150300.59.43-default (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-150300.59.43-default-recovery-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-150300.59.43-default ...'
linux /boot/vmlinuz-5.3.18-150300.59.43-default root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-150300.59.43-default
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-59.37-preempt' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-59.37-preempt-advanced-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-59.37-preempt ...'
linux /boot/vmlinuz-5.3.18-59.37-preempt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5 splash=silent quiet mitigations=auto
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-59.37-preempt
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-59.37-preempt (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-59.37-preempt-recovery-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-59.37-preempt ...'
linux /boot/vmlinuz-5.3.18-59.37-preempt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-59.37-preempt
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-59.37-default' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-59.37-default-advanced-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-59.37-default ...'
linux /boot/vmlinuz-5.3.18-59.37-default root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5 splash=silent quiet mitigations=auto
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-59.37-default
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-59.37-default (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-59.37-default-recovery-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-59.37-default ...'
linux /boot/vmlinuz-5.3.18-59.37-default root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-59.37-default
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-8.13-rt' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-8.13-rt-advanced-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-8.13-rt ...'
linux /boot/vmlinuz-5.3.18-8.13-rt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5 splash=silent quiet mitigations=auto
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-8.13-rt
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-8.13-rt (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-8.13-rt-recovery-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-8.13-rt ...'
linux /boot/vmlinuz-5.3.18-8.13-rt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-8.13-rt
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-8.10-rt' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-8.10-rt-advanced-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-8.10-rt ...'
linux /boot/vmlinuz-5.3.18-8.10-rt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5 splash=silent quiet mitigations=auto
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-8.10-rt
}
menuentry 'openSUSE Leap 15.3, with Linux 5.3.18-8.10-rt (recovery mode)' --hotkey=1 --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.18-8.10-rt-recovery-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading Linux 5.3.18-8.10-rt ...'
linux /boot/vmlinuz-5.3.18-8.10-rt root=UUID=043b32d4-9cea-4bf2-9a86-a21b4859b4f5
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-5.3.18-8.10-rt
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'openSUSE Leap 15.3 Memtest' --class opensuse --class memtest86 --class gnu --class tools $menuentry_id_option 'memtest-043b32d4-9cea-4bf2-9a86-a21b4859b4f5' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
else
search --no-floppy --fs-uuid --set=root 043b32d4-9cea-4bf2-9a86-a21b4859b4f5
fi
echo 'Loading memtest ...'
linux16 /boot/memtest.bin
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Artix Linux (rolling) (on /dev/sda1)' --class artix --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-25568ecc-3f4c-410d-8cfb-bb45afc10051' {
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 --hint='hd0,gpt1' 25568ecc-3f4c-410d-8cfb-bb45afc10051
else
search --no-floppy --fs-uuid --set=root 25568ecc-3f4c-410d-8cfb-bb45afc10051
fi
linux /boot/vmlinuz-linux root=/dev/sda1
initrd /boot/initramfs-linux.img
}
submenu 'Advanced options for Artix Linux (rolling) (on /dev/sda1)' $menuentry_id_option 'osprober-gnulinux-advanced-25568ecc-3f4c-410d-8cfb-bb45afc10051' {
menuentry 'Artix Linux (rolling) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--25568ecc-3f4c-410d-8cfb-bb45afc10051' {
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 --hint='hd0,gpt1' 25568ecc-3f4c-410d-8cfb-bb45afc10051
else
search --no-floppy --fs-uuid --set=root 25568ecc-3f4c-410d-8cfb-bb45afc10051
fi
linux /boot/vmlinuz-linux root=/dev/sda1
initrd /boot/initramfs-linux.img
}
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class devuan --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
}
submenu 'Advanced options for Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz root=/dev/sda2
initrd /initrd.img.old
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-12-amd64--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /boot/vmlinuz-4.19.0-12-amd64 root=/dev/sda2
initrd /boot/initrd.img-4.19.0-12-amd64
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-18-amd64--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /boot/vmlinuz-4.19.0-18-amd64 root=/dev/sda2
initrd /boot/initrd.img-4.19.0-18-amd64
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-9-amd64--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /boot/vmlinuz-4.19.0-9-amd64 root=/dev/sda2
initrd /boot/initrd.img-4.19.0-9-amd64
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.0-10-amd64--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /boot/vmlinuz-5.10.0-10-amd64 root=/dev/sda2
initrd /boot/initrd.img-5.10.0-10-amd64
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.10.0-11-amd64--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /boot/vmlinuz-5.10.0-11-amd64 root=/dev/sda2
initrd /boot/initrd.img-5.10.0-11-amd64
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz root=/dev/sda2
initrd /initrd.img.old
}
menuentry 'Devuan GNU/Linux 4 (chimaera) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz.old--f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd' {
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 --hint='hd0,gpt2' f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
else
search --no-floppy --fs-uuid --set=root f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
fi
linux /vmlinuz.old root=/dev/sda2
initrd /initrd.img.old
}
}
menuentry 'Slackware 15.0 x86_64 (on /dev/sda3)' --class slackware --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-898752b9-52fc-4814-a5a6-67c7c4574b7e' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3' 898752b9-52fc-4814-a5a6-67c7c4574b7e
else
search --no-floppy --fs-uuid --set=root 898752b9-52fc-4814-a5a6-67c7c4574b7e
fi
linux /boot/vmlinuz root=/dev/sda3
initrd /boot/initrd.gz
}
submenu 'Advanced options for Slackware 15.0 x86_64 (on /dev/sda3)' $menuentry_id_option 'osprober-gnulinux-advanced-898752b9-52fc-4814-a5a6-67c7c4574b7e' {
menuentry 'Slackware 15.0 x86_64 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--898752b9-52fc-4814-a5a6-67c7c4574b7e' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3' 898752b9-52fc-4814-a5a6-67c7c4574b7e
else
search --no-floppy --fs-uuid --set=root 898752b9-52fc-4814-a5a6-67c7c4574b7e
fi
linux /boot/vmlinuz root=/dev/sda3
initrd /boot/initrd.gz
}
menuentry 'Slackware 15.0 x86_64 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--898752b9-52fc-4814-a5a6-67c7c4574b7e' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3' 898752b9-52fc-4814-a5a6-67c7c4574b7e
else
search --no-floppy --fs-uuid --set=root 898752b9-52fc-4814-a5a6-67c7c4574b7e
fi
linux /boot/vmlinuz root=/dev/sda3
initrd /boot/initrd.gz
}
menuentry 'Slackware 15.0 x86_64 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic--898752b9-52fc-4814-a5a6-67c7c4574b7e' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3' 898752b9-52fc-4814-a5a6-67c7c4574b7e
else
search --no-floppy --fs-uuid --set=root 898752b9-52fc-4814-a5a6-67c7c4574b7e
fi
linux /boot/vmlinuz-generic root=/dev/sda3
}
menuentry 'Slackware 15.0 x86_64 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-5.15.19--898752b9-52fc-4814-a5a6-67c7c4574b7e' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3' 898752b9-52fc-4814-a5a6-67c7c4574b7e
else
search --no-floppy --fs-uuid --set=root 898752b9-52fc-4814-a5a6-67c7c4574b7e
fi
linux /boot/vmlinuz-generic-5.15.19 root=/dev/sda3
}
menuentry 'Slackware 15.0 x86_64 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge--898752b9-52fc-4814-a5a6-67c7c4574b7e' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3' 898752b9-52fc-4814-a5a6-67c7c4574b7e
else
search --no-floppy --fs-uuid --set=root 898752b9-52fc-4814-a5a6-67c7c4574b7e
fi
linux /boot/vmlinuz-huge root=/dev/sda3
}
menuentry 'Slackware 15.0 x86_64 (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-5.15.19--898752b9-52fc-4814-a5a6-67c7c4574b7e' {
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 --hint='hd0,gpt3' 898752b9-52fc-4814-a5a6-67c7c4574b7e
else
search --no-floppy --fs-uuid --set=root 898752b9-52fc-4814-a5a6-67c7c4574b7e
fi
linux /boot/vmlinuz-huge-5.15.19 root=/dev/sda3
}
}
menuentry 'openSUSE Tumbleweed (on /dev/sda5)' --class opensuse --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-a49723a1-bc42-4b71-988c-5b50c7c8c7bc' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 --hint='hd0,gpt5' a49723a1-bc42-4b71-988c-5b50c7c8c7bc
else
search --no-floppy --fs-uuid --set=root a49723a1-bc42-4b71-988c-5b50c7c8c7bc
fi
linux /boot/vmlinuz-5.16.2-1-default root=UUID=a49723a1-bc42-4b71-988c-5b50c7c8c7bc splash=silent quiet mitigations=auto
initrd /boot/initrd-5.16.2-1-default
}
submenu 'Advanced options for openSUSE Tumbleweed (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-a49723a1-bc42-4b71-988c-5b50c7c8c7bc' {
menuentry 'openSUSE Tumbleweed (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.16.2-1-default--a49723a1-bc42-4b71-988c-5b50c7c8c7bc' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 --hint='hd0,gpt5' a49723a1-bc42-4b71-988c-5b50c7c8c7bc
else
search --no-floppy --fs-uuid --set=root a49723a1-bc42-4b71-988c-5b50c7c8c7bc
fi
linux /boot/vmlinuz-5.16.2-1-default root=UUID=a49723a1-bc42-4b71-988c-5b50c7c8c7bc splash=silent quiet mitigations=auto
initrd /boot/initrd-5.16.2-1-default
}
menuentry 'openSUSE Tumbleweed, with Linux 5.16.2-1-default (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.16.2-1-default--a49723a1-bc42-4b71-988c-5b50c7c8c7bc' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 --hint='hd0,gpt5' a49723a1-bc42-4b71-988c-5b50c7c8c7bc
else
search --no-floppy --fs-uuid --set=root a49723a1-bc42-4b71-988c-5b50c7c8c7bc
fi
linux /boot/vmlinuz-5.16.2-1-default root=UUID=a49723a1-bc42-4b71-988c-5b50c7c8c7bc splash=silent quiet mitigations=auto
initrd /boot/initrd-5.16.2-1-default
}
menuentry 'openSUSE Tumbleweed, with Linux 5.16.1-1-default (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.16.1-1-default--a49723a1-bc42-4b71-988c-5b50c7c8c7bc' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 --hint='hd0,gpt5' a49723a1-bc42-4b71-988c-5b50c7c8c7bc
else
search --no-floppy --fs-uuid --set=root a49723a1-bc42-4b71-988c-5b50c7c8c7bc
fi
linux /boot/vmlinuz-5.16.1-1-default root=UUID=a49723a1-bc42-4b71-988c-5b50c7c8c7bc splash=silent quiet mitigations=auto
initrd /boot/initrd-5.16.1-1-default
}
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class slackware --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz root=/dev/sda7
}
submenu 'Advanced options for Slackware 14.2 (on /dev/sda7)' $menuentry_id_option 'osprober-gnulinux-advanced-ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-generic root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-4.4.14--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-generic-4.4.14 root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-smp--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-generic-smp root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-smp-4.4.14-smp--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-generic-smp-4.4.14-smp root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-huge root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-4.4.14--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-huge-4.4.14 root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-smp--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-huge-smp root=/dev/sda7
}
menuentry 'Slackware 14.2 (on /dev/sda7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-smp-4.4.14-smp--ca8a35da-fa8c-4d59-b2cf-c26c73c07e99' {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7' ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
else
search --no-floppy --fs-uuid --set=root ca8a35da-fa8c-4d59-b2cf-c26c73c07e99
fi
linux /boot/vmlinuz-huge-smp-4.4.14-smp root=/dev/sda7
}
}
### END /etc/grub.d/30_os-prober ###
### 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 ###
### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ###
### END /etc/grub.d/80_suse_btrfs_snapshot ###
### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
### BEGIN /etc/grub.d/95_textmode ###
if [ "${grub_platform}" = "efi" ]; then
# On EFI systems we can only have graphics *or* serial, so allow the user
# to switch between the two
hiddenentry 'Text mode' --hotkey 't' {
set textmode=true
terminal_output console
}
fi
### END /etc/grub.d/95_textmode ###
Who, has loved us more?
Offline
So the other distributions all have root=/dev/whatever instead of the UUID, which is why the boot breaks — the block device identifier has changed so the correct root can't be found.
I think the best approach here would be to ditch os-prober completely and build your own multi-boot menu using /etc/grub.d/40_custom to call configfile (ie grub.cfg) in each of the distributions.
Here's an example for Devuan:
menuentry 'Devuan' {
search.fs_uuid f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
configfile /boot/grub/grub.cfg
}
Alternatively just build a complete menuentry, like this:
menuentry 'Devuan' {
search.fs_uuid f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
linux /vmlinuz ro quiet root=UUID=f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd
initrd /initrd.img
}
^ That uses the /vmlinuz & /initrd.img symlinks that always point to the current kernel version so it doesn't need to be updated after kernel upgrades.
Slackware has similar symlinks in /boot/vmlinuz, /boot/vmlinuz-generic & /boot/vmlinuz-huge with /boot/initrd.gz remaining unchanged regardless of kernel version.
The kernel & initramfs images for Artix are unversioned so they can also be called directly with no need to edit after updates.
No idea about SUSE though, sorry.
And to be clear: this is not a problem with Devuan and there is nothing the Devuan developers can do about it.
EDIT: looking again at the documentation you should check /etc/default/grub in the controlling system and make sure this is set:
GRUB_DISABLE_LINUX_UUID=false
^ That should make GRUB use root=UUID= in the linux line. It should be set by default but perhaps you have changed it to true for some reason. Remember to update the configuration afterwards:
# grub-mkconfig -o /boot/grub/grub.cfg
Last edited by Head_on_a_Stick (2022-02-05 11:04:19)
Brianna Ghey — Rest In Power
Offline
So the other distributions all have root=/dev/whatever instead of the UUID, which is why the boot breaks — the block device identifier has changed so the correct root can't be found.
You mean changed from uuid to dev-name?
I would think that that would be handled on a partition-by-partition basis, more importantly what I don't understand is why on earth the "grub-run" initiated under Suse in this case should not use only the method used in fstab for each partition But I'm not going to get all riled up as I used to when grub2 first appeared :-)
I think the best approach here would be to ditch os-prober completely and build your own multi-boot menu using /etc/grub.d/40_custom to call configfile (ie grub.cfg) in each of the distributions.
Thanks for the effort and the insight, for now I'm not ready to get into it that deep.
The kernel & initramfs images for Artix are unversioned so they can also be called directly with no need to edit after updates.
No idea about SUSE though, sorry.
Suse does it much the same, actually I used to wish that all distros would use exactly identical vmlinuz and initrd exactly in the same path i.e. /boot to make it easier for people having to boot manually but I gave up a long time ago. I just installed Slackware-15.0 and didn't even know that it has started using and initrd as well, I didn't cite it in the earlier manual boot but it booted anyway.
And to be clear: this is not a problem with Devuan and there is nothing the Devuan developers can do about it.
I didn't suggest it did, just plain didn't know.
EDIT: looking again at the documentation you should check /etc/default/grub in the controlling system and make sure this is set:
GRUB_DISABLE_LINUX_UUID=false
^ That should make GRUB use root=UUID= in the linux line. It should be set by default but perhaps you have changed it to true for some reason. Remember to update the configuration afterwards:
# grub-mkconfig -o /boot/grub/grub.cfg
The default Suse version uses #GRUB_DISABLE_LINUX_UUID=true so I'm not sure what that would do in real life but I have set it to false and will watch what comes loose over time. I thing Suse's Yast runs grub-mkconfig when doing the boot ritual.
Thanks again! I'll mark the topic resolved seeing that I have a good idea where the problem might be.
Who, has loved us more?
Offline
Head_on_a_Stick wrote:So the other distributions all have root=/dev/whatever instead of the UUID, which is why the boot breaks — the block device identifier has changed so the correct root can't be found.
You mean changed from uuid to dev-name?
No, I mean that what was /dev/sda when grub.cfg was created has been assigned to /dev/sdb (or another device node) for the failed boot.
The kernel & initramfs images for Artix are unversioned so they can also be called directly with no need to edit after updates.
No idea about SUSE though, sorry.Suse does it much the same, actually I used to wish that all distros would use exactly identical vmlinuz and initrd exactly in the same path i.e. /boot to make it easier for people having to boot manually
But then it wouldn't be possible to keep old kernel versions installed in case of a problem with the new one. Arch attempts to solve that problem by offering both a mainline and LTS kernel package but it's not perfect and there has been some discussion on their mailing lists about moving to versioned kernel images.
The default Suse version uses #GRUB_DISABLE_LINUX_UUID=true so I'm not sure what that would do in real life
Actually their setting must be false by default because the native entries use UUIDs to identify the root partition in the kernel command line. I think the problem must be with os-prober, there are a few old bug reports describing that and I seem to remember a recent post over at forums.debian.net with the same issue. I don't bother with os-prober myself though so I have no experience with it.
Brianna Ghey — Rest In Power
Offline
But then it wouldn't be possible to keep old kernel versions installed in case of a problem with the new one. Arch attempts to solve that problem by offering both a mainline and LTS kernel package but it's not perfect and there has been some discussion on their mailing lists about moving to versioned kernel images.
I meant those to be links to the latest versions but the links should be uniform and uniformly placed in all distros. Think of someone with 10 distros aboard who wannts to boot manuallly
set root = (hd0,x)
linux /boot/vmlinuz
initrd /boot/initrd
boot
...end of story. If you're using for example initrd.img then it falls apart. Everyone knows which partition (x) they want to boot. Then IF you want some retro kernel you can just enter the numbered equivalents.
The default Suse version uses #GRUB_DISABLE_LINUX_UUID=true so I'm not sure what that would do in real life
Actually their setting must be false by default because the native entries use UUIDs to identify the root partition in the kernel command line. I think the problem must be with os-prober, there are a few old bug reports describing that and I seem to remember a recent post over at forums.debian.net with the same issue. I don't bother with os-prober myself though so I have no experience with it.
I made the edit but yes, probably for nothing. With absolutely no time or inclination to become a grub2 expert I think I will just start booting manually, or maybe explore partition-labels which I hate no less than grub2 because they too are just another form of virtualisation, or maybe study your suggestions ..but not before September or so :-)
Too bad the grub devs sacrificed the user editable single menu file, it would be too simple (humanized front part meaning nothing to grub, it's by and for the user; bracketed uuid does not appear in the menu unless user wants it too):
Disk-1_Part-1 Devuan (uuid=....)
Disk-1_Part-6 Artix (uuid=....)
Disk-2_Part-3 Slack (uuid=....)
Disk-2_Part-4 Suse-TW (uuid=....)
...etc.
Who, has loved us more?
Offline
I've raised the topic on the Suse list, but I remain curious why
this particular problem hit only my Devuan installation. The boot
is set up under Suse, the utility is grub2, the victim partition is
#2, Devuan. That's all I really know :-)
Who, has loved us more?
Offline
I'm not what you would call a knowlegable deb/dev user (yet, possibly for years to come)
I'm struggling with using 4 distros on alternating days, and to
prevent grub from stepping all over itself I usually limit grubwork
to my go2 distro which for now is Suse. I'm only saying this to
show where the following boot process began :-)All the /etc/fstabs on all distros use only disk-by-uuid (since I
reluctantly gave up on the use of dev-names). This would suggest
(to me) that there is no reason why dev-names such as /dev/sda2
should ever appear in the said boot process involving any
installation.YET, on maybe every 10th boot of Devuan up pops the
error shown in the snapshot (sorry, out of focus took with my kodak):I *think* the source of the message is Devuan but I ain't sure.
.....snip
All operational OS partitions are regularly backed up with dd so that
I'm not too worried but I would like to get rid of the nuisance, more
importantly maybe some Dev devs would also want to knowcheers
I just had the first ever successive instances of this on my asus-g73
laptop so I can expand on the issue somewhat.
The missing dev-name was /dev/sda on the first one, but /dev/sdb
on another. My hunch is that if at boot-time the drive is recognised
NOT as the same device-name that it was when Suse deployed the
boot code to disk root THAT when the proverbial stuff hits the fan. As I
mention elsewhere this instability I have seen only with Suse, the
disk always shows up as /dev/sda under Artix, Devuan and Slackware.
So maybe I should get one of these to do the honors? Like I said
I'm just a mortal user... I have no other ideas.
Disk /dev/sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: Samsung SSD 850
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3C896711-604F-4E75-8970-396FF8553F89
Device Start End Sectors Size Type
/dev/sda1 2048 83888127 83886080 40G Linux filesystem
/dev/sda2 83888128 167774207 83886080 40G Linux filesystem
/dev/sda3 167774208 230688767 62914560 30G Linux filesystem
/dev/sda4 230688768 356517887 125829120 60G Linux filesystem
/dev/sda5 356517888 482347007 125829120 60G Linux filesystem
/dev/sda6 482347008 488638463 6291456 3G Linux filesystem
/dev/sda7 488638464 497027071 8388608 4G Linux swap
/dev/sda8 497027072 498051071 1024000 500M BIOS boot
Who, has loved us more?
Offline
.
Here's an example for Devuan:menuentry 'Devuan' { search.fs_uuid f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd configfile /boot/grub/grub.cfg }
Alternatively just build a complete menuentry, like this:
menuentry 'Devuan' { search.fs_uuid f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd linux /vmlinuz ro quiet root=UUID=f203d9ec-a53c-4f33-ad2a-222cf8f8dbcd initrd /initrd.img }
^ That uses the /vmlinuz & /initrd.img symlinks that always point to the current kernel version so it doesn't need to be updated after kernel upgrades.
Slackware has similar symlinks in /boot/vmlinuz, /boot/vmlinuz-generic & /boot/vmlinuz-huge with /boot/initrd.gz remaining unchanged regardless of kernel version.
The kernel & initramfs images for Artix are unversioned so they can also be called directly with no need to edit after updates.
And to be clear: this is not a problem with Devuan and there is nothing the Devuan developers can do about it.
Hi, how would I generate a menu entry or a grub config for an encrypted boot partition? Also when I make a custom ISO how can i change the boot menu for that said USB? I'd like to optimize grub.
Possible to use variables in the grub menu? Like for UUID and the like?
set root = (hd0,$root)
linux /boot/vmlinuz
initrd /boot/initrd
boot
(can initrd be an initramfs?) Can i customize this?
menuentry 'Devuan' {
search.fs_uuid $bootuuid
configfile /boot/grub/grub.cfg
}
What if I am using an MBR with encrypted boot. What can I do to make it direct menu entry?
Last edited by czeekaj (2023-10-22 07:53:13)
Offline
I had just about forgotten about this post made 2 years ago when an email chimed-in. Nothing has changed, I still get the problem maybe once a month on one system or another. I now use only Suse Leap as the go2 where I do the grub ritual, no longer use Tumbleweed as well for this). A single reboot just about always fixes.
Who, has loved us more?
Offline
@czeekaj Any particular reason for necrobumping a 1.5 year old solved question with something almost entirely unrelated?
@torquebar As HoaS already commented, this is almost certainly due to os-prober using the unstable /dev/sdx names rather than UUIDs.
There are bug reports about it going back over a decade, with the conclusion that UUID support in the kernel can't be assumed, so os-prober shouldn't use it.
Then again os-prober is really just a bunch of shell scripts, so it shouldn't be particularly hard to change if it annoys you enough to do so.
Last edited by steve_v (2023-10-22 13:20:19)
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Online
It's not a problem at all, in fact I have very few problems with Devuan, use it once a week on Tuesdays, Sundays are AvLinux days. Devuan hasn't packed up since I started using it and I don't see how it would run any better with systemd :-)
Who, has loved us more?
Offline
Pages: 1