How to boot linux kernel without bootloader?

How to boot linux kernel without bootloader?

  • By default to boot image bzImage of linux kernel you need to use bootloader. If you try to boot direct image it will give error. Booting from Hard Disk... Direct booting from floppy is no longer supported. Please use a boot loader program instead. Remove disk and press any key to reboot . . . I think in linux everything is possible. So please help me to figure out how it is possible to boot without bootloader. In old linux it is possible with make zImage But How it is for new kernels? Thanks & Regards

  • Answer:

    It's not possible. At least, not with the not-so-old kernels unpatched. You have these options: use a bootloader. use an old version of linux. hack direct booting (ie a built-in bootloader) into the kernel source so it works more-or-less like floppy booting in the old days.

Ravi D. Borse at Super User Visit the source

Was this solution helpful to you?

Other answers

If you have an EFI based system, starting with Linux kernel 3.3 the http://kernelnewbies.org/Linux_3.3#head-b8360946e9fb561ee77f807ced5396e64aabeca4.

Andreas Florath

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.