Re: boot Linux from Linux

2008-12-03 Thread dinesh bansal
On Wed, Dec 3, 2008 at 7:55 AM, Bizhan Gholikhamseh (bgholikh) [EMAIL PROTECTED] 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 Do you mean running Linux as application

Re: boot Linux from Linux

2008-12-03 Thread Matthias Kaehlcke
El Tue, Dec 02, 2008 at 06:25:55PM -0800 Bizhan Gholikhamseh (bgholikh) ha dit: Is there any way to use Linux as bootloader to boot Linux? It might sound crazy but I need to figure out this. not sure what you are looking for, maybe http://www.coreboot.org/ could be interesting for you

boot Linux from Linux

2008-12-02 Thread Bizhan Gholikhamseh (bgholikh)
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

Re: boot Linux from Linux

2008-12-02 Thread Mark Brown
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

Re: boot Linux from Linux

2008-12-02 Thread Kalpesh Rathod
Bizhan, 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 [EMAIL PROTECTED]wrote: Bizhan, Yes it is do-able you can actually use the zImage header to bootstrap the kernel. You can modify