logo       

Re: target for pxe boot: msg#00026

t2.devel

Subject: Re: target for pxe boot

Hi,

On Saturday 14 April 2007 14:30:15 Martin Papadopoulos wrote:

> since i am interested in building a pxe-bootable target ,
> i thought it would be possible to modify either the rescue /
> @live-target to put all the stuff into the initrd,
> so there would be no need to load anything after the boot process from
> the boot media .
> of course the initrd would be bigger than usual, but nowadays most
> thinclients come with 128mb ram , so the size of initrd should
> not be really an issue.
> if this is not already been acomplished some other way, maybe rene
> could give me a hint on how to do this ?

Yes, loading really big (50MB and more) initramfs is no problem on
most architectures (including x86).

You can just extend any file you want into the initrd build during the
linux26 build in the target postprocessing, by using the function:

extend_initrd $isofsdir/boot/$initrd $build_toolchain/initramfs

from

. $base/misc/target/initrd.in

You can take a look into:

target/share/livecd/build_initrd.sh

How to call this.

You can stick this directly at the end of your custom target, inside
target/.../build.sh

Can can past more example code and provide further guidance
as needed.

Yours,

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise