http://bugzilla.opensuse.org/show_bug.cgi?id=1205777
http://bugzilla.opensuse.org/show_bug.cgi?id=1205777#c12
--- Comment #12 from Stefan Seyfried ---
in grub2, it might be enough to just add
boot
reboot
to the end of each menuentry. Probably easiest done by changing the end of the
linux_entry() function of /etc/grub.d/10_linux
This will cause the boot to fall through, if the kernel can't be loaded and
then reboot
if the kenrel can be loaded but the initrd can't, this will cause a kernel boot
with panic "root fs not found", but just add "panic=1" to the kernel cmdline to
reboot immediately in this case.
Your menu entry needs to look like this:
menuentry 'kernel xyz' --... {
... some
... stuff
... put in by
... grub2-mkconfig
echo "loading linux-xyz..."
linux /path/to/kernel kernelopts=opts panic=1
echo "loading initrd..."
initrd /path/to/initrd
boot
reboot
}
--
You are receiving this mail because:
You are on the CC list for the bug.