[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osdl-fastboot
Subject:    Re: [Fastboot] kexec with initrd.
From:       ebiederm () xmission ! com (Eric W !  Biederman)
Date:       2004-07-30 15:10:00
Message-ID: m1u0vpil9z.fsf () ebiederm ! dsl ! xmission ! com
[Download RAW message or body]

"Digital Infra, Inc." <okajima@digitalinfra.co.jp> writes:

> Hello Fellows.
> 
> One question.
> 
> Conditions:
>   Kernel A -> kexec() -> Kernel B.
> A machine has a special device. The device is, for example, on-borad ROM or 
> IEEE1394 removable media or some security chip which needs special handling 
> to read it. And the device has a initrd or /etc/password or public key... 
> etc there. Kernel A supports to read it. But kernel B does not support. 
> Probably a machine is a kind of embedded or KIOSK and Kernel A is LinuxBIOS 
> or such on a Flash ROM.
> 
> What I want to do:
> In short, kexec with an initrd.
> The best case is, making a ramdisk on Kernel A. Putting every necessary 
> stuff there. Then kexec kernel B with the ramdisk as a initrd. Of course, I 
> know this is very difficult.
> The second choise is, reading a initrd data from an on-board ROM and 
> putting it on somewhere of a main ram, then kexec kernel B with its initrd.
> Please understand that passing initrd= param or such to Kernel B does not 
> work. Because, it needs that kernel B reads a initrd. 
> 
> How to do these stuff?

I'm not certain what the problem is.  /sbin/kexec supports passing
an initial ramdisk, for common kernel formats.

Eric


_______________________________________________
fastboot mailing list
fastboot@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/fastboot


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic