Have a look at 'kexec' . It may not meet 100% your requirement but comes close.
Thanks,
Kalpesh
On Wed, Dec 3, 2008 at 9:30 AM, Mark Brown <markb@xxxxxxxxxxxxxxxxxxxxx> wrote:
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,-- MarkOn 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