hey all, i'd like to move my old kernels and fedora rescue to a sub-entry (like it is on mint).
submenu "Old kernels and Rescue options" {
menuentry "Old Kernel 1" {
linux /boot/vmlinuz-4.15.0-101-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-4.15.0-101-generic
}
menuentry "Old Kernel 2" {
linux /boot/vmlinuz-4.15.0-99-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-4.15.0-99-generic
}
menuentry "Rescue Mode" {
linux /boot/vmlinuz-rescue root=/dev/sda1 ro single
initrd /boot/initrd.img-rescue
}
}
}
i found this example script online, but i'm not sure how to configure it to my needs. how does fedora know to put the newest kernel on top? wont the config with the sub-entry be overwritten when i update my kernels?
