[Fedora-livecd-list] Re: Live ISO within initrd for PXE Boot?

Richard W.M. Jones rjones at redhat.com
Mon Feb 18 09:21:29 UTC 2008


Warren Togami wrote:
> http://git.fedoraproject.org/git/?p=livecd;a=commit;h=e0f0269d3a8f8f310e7c5fdfb8af45892f419c13 
> 
>>
>> The way it works is to bundle the complete ISO image inside the initrd.
>> The kernel and (bloated) initrd are downloaded using PXE in the normal
>> way, and the init script finds and loopback-mounts the ISO image and
>> booting continues as normal.
> 
> Wow.  I don't mean to offend, but this seems like an incredibly bad way 
> of doing this.  Isn't this really slow in the boot up because you must 
> wait for the entire ISO to download?  It also requires the client to 
> have more than enough RAM to have the entire ISO in memory?  It sounds 
> like the entire memory used by the ISO remains unavailable to the booted 
> system.

It fits our purpose:

  - PXE boot will always happen over a fast LAN
  - image size isn't too large (under 200 MB for P2V and
      IIRC even less for ovirt)
  - machines are known to have sufficient RAM

> I need something similar to boot read-only OS images over PXE boot for 
> LTSP.  Upstream LTSP5 uses nbd to serve a raw squashfs image as a 
> network block device, which means only a tiny bit needs to be in the 
> initrd and very little memory overhead.  Parts of the read-only image 
> are streamed over the network on demand.

The server side of this is much harder to set up.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20080218/02eb905c/attachment.bin 


More information about the livecd mailing list