1

At boot, the bootloader loads a kernel, let's say vmlinuz1. Is there a way to pass some kind of parameters to it in order to chainload another kernel (let's say vmlinuz2)? I know kexec can load another kernel but I don't know if it can run automatically at boot.

4
  • AFAIK there's no such parameter in the Linux kernel but you can always patch it to have this feature. Commented Apr 17, 2021 at 20:21
  • Any program can be launched automatically at boot. Commented Apr 18, 2021 at 1:19
  • I meant even before starting any service Commented Apr 18, 2021 at 6:18
  • Assuming you're using grub2, try Google for "grub2 chainloading". Commented Apr 18, 2021 at 20:42

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.