Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 887249 Details for
Bug 926690
sys-boot/grub-2.12-r2: grub-mkconfig generates a config listing old kernels before just installed ones
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Generated grub.cfg
bootgrubgrub-2PKA.txt (text/plain), 15.34 KB, created by
Pacho Ramos
on 2024-03-10 12:42:34 UTC
(
hide
)
Description:
Generated grub.cfg
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2024-03-10 12:42:34 UTC
Size:
15.34 KB
patch
obsolete
># ># 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 > load_env >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 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,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 81a58e78-bb38-4bba-b866-b75934cbcd45 >else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 >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=es_ES > insmod gettext >fi >terminal_output gfxterm >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 81a58e78-bb38-4bba-b866-b75934cbcd45 >else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 >fi >insmod gfxmenu >loadfont ($root)/boot/grub/themes/starfield/dejavu_10.pf2 >loadfont ($root)/boot/grub/themes/starfield/dejavu_12.pf2 >loadfont ($root)/boot/grub/themes/starfield/dejavu_14.pf2 >loadfont ($root)/boot/grub/themes/starfield/dejavu_16.pf2 >loadfont ($root)/boot/grub/themes/starfield/dejavu_bold_14.pf2 >insmod png >set theme=($root)/boot/grub/themes/starfield/theme.txt >export theme >if [ x$feature_timeout_style = xy ] ; then > set timeout_style=menu > set timeout=5 ># Fallback normal timeout code in case the timeout_style feature is ># unavailable. >else > set timeout=5 >fi >### END /etc/grub.d/00_header ### > >### BEGIN /etc/grub.d/10_linux ### >menuentry 'Gentoo GNU/Linux, with Linux 6.1.57-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.57-gentoo-advanced-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.57-gentoo ...' > linux /boot/vmlinuz-6.1.57-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.1.57-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.57-gentoo-recovery-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.57-gentoo ...' > linux /boot/vmlinuz-6.1.57-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro single rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.1.47-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.47-gentoo-advanced-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.47-gentoo ...' > linux /boot/vmlinuz-6.1.47-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.1.47-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.47-gentoo-recovery-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.47-gentoo ...' > linux /boot/vmlinuz-6.1.47-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro single rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.1.47-gentoo.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.47-gentoo.old-advanced-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.47-gentoo.old ...' > linux /boot/vmlinuz-6.1.47-gentoo.old root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.1.47-gentoo.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.47-gentoo.old-recovery-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.47-gentoo.old ...' > linux /boot/vmlinuz-6.1.47-gentoo.old root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro single rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.1.38-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.38-gentoo-advanced-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.38-gentoo ...' > linux /boot/vmlinuz-6.1.38-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.1.38-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.38-gentoo-recovery-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > if [ "x$grub_platform" = xefi ]; then > set gfxpayload=keep > fi > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.1.38-gentoo ...' > linux /boot/vmlinuz-6.1.38-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro single rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.6.21-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.21-gentoo-advanced-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.6.21-gentoo ...' > linux /boot/kernel-6.6.21-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.6.21-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.21-gentoo-recovery-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.6.21-gentoo ...' > linux /boot/kernel-6.6.21-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro single rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.6.17-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.17-gentoo-advanced-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.6.17-gentoo ...' > linux /boot/kernel-6.6.17-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.6.17-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.17-gentoo-recovery-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.6.17-gentoo ...' > linux /boot/kernel-6.6.17-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro single rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.6.13-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.13-gentoo-advanced-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.6.13-gentoo ...' > linux /boot/kernel-6.6.13-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} >menuentry 'Gentoo GNU/Linux, with Linux 6.6.13-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.13-gentoo-recovery-81a58e78-bb38-4bba-b866-b75934cbcd45' { > load_video > insmod gzio > 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 81a58e78-bb38-4bba-b866-b75934cbcd45 > else > search --no-floppy --fs-uuid --set=root 81a58e78-bb38-4bba-b866-b75934cbcd45 > fi > echo 'Loading Linux 6.6.13-gentoo ...' > linux /boot/kernel-6.6.13-gentoo root=PARTUUID=84e85dcc-dad4-4589-a7f0-68c7841e14ee ro single rootfstype=ext4 init=/usr/lib/systemd/systemd zswap.enabled=1 quiet elevator=bfq mitigations=off >} > >### END /etc/grub.d/10_linux ### > >### BEGIN /etc/grub.d/20_linux_xen ### >### END /etc/grub.d/20_linux_xen ### > >### 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 ### >### 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 ###
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 926690
: 887249 |
887250