Bizhan,

Yes it is do-able you can actually use the zImage header to bootstrap the kernel. You can modify linux/arch/<platform>/boot/compressed/ head.S and add the boot loader logic there. Then you need to place your zImage in the location your platform normally loads the boot loader. You should really spend the time and write a mini-boot loader it is not any harder than doing what I mentioned above.

Regards,
-- Mark


On Dec 2, 2008, at 9:25 PM, Bizhan Gholikhamseh (bgholikh) wrote:

Hi all,
Is there any way to use Linux as bootloader to boot Linux? It might sound crazy but I need to figure out this.

Many thanks in advance,
Bizhan

Reply via email to