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.
-
AFAIK there's no such parameter in the Linux kernel but you can always patch it to have this feature.Artem S. Tashkinov– Artem S. Tashkinov2021-04-17 20:21:59 +00:00Commented Apr 17, 2021 at 20:21
-
Any program can be launched automatically at boot.berndbausch– berndbausch2021-04-18 01:19:39 +00:00Commented Apr 18, 2021 at 1:19
-
I meant even before starting any serviceuser3534974– user35349742021-04-18 06:18:00 +00:00Commented Apr 18, 2021 at 6:18
-
Assuming you're using grub2, try Google for "grub2 chainloading".Cinaed Simson– Cinaed Simson2021-04-18 20:42:11 +00:00Commented Apr 18, 2021 at 20:42
Add a comment
|