<div class="gmail_quote">2011/11/21 Alan Pevec <span dir="ltr">&lt;<a href="mailto:apevec@gmail.com">apevec@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Nov 21, 2011 at 1:21 AM, Francesco Frassinelli<br>
&lt;<a href="mailto:fraph24@gmail.com">fraph24@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt; I need to boot a livecd on some hard disk less clients. I tried to use<br>
&gt; livecd-iso-to-pxe, but in my case it unacceptable to load the whole iso into<br>
&gt; initrd (the iso is not small).<br>
&gt; I made a custom livecd adding dracut-network package, I mounted<br>
&gt; squashfs/root image, exported with nfs, and I&#39;ve tried to boot the clients<br>
&gt; with root=nfs:192.168.1.50:/home/frafra/root/ selinux=0, but Fedora gives me<br>
<br>
</div>This tried to use it as normal rootfs, try livenet dracut module,<br>
which handles remote livecd iso:<br>
<a href="http://git.kernel.org/?p=boot/dracut/dracut.git;a=blob;f=modules.d/90livenet/livenetroot" target="_blank">git.kernel.org/?p=boot/dracut/dracut.git;a=blob;f=modules.d/90livenet/livenetroot</a><br></blockquote><div>
<br>Very interesting, but I don&#39;t like &#39;wget -O $imgfile &quot;$liveurl&quot;&#39;, because I would not to load the whole iso.<br>It should be very easy to add nfs support. It could be added something like:<br><br>
nfs://*)<br>nfs=&quot;/nfs&quot;<br>mkdir &quot;$nfs&quot;<br>mount ${liveurl#nfs://} &quot;$nfs&quot;<br>imgfile=&quot;$nfs&quot;/${imgfile#/run}<br>;;<br><br>...right?<br><br>I don&#39;t know if it&#39;s possible to reuse nfsroot code, in order to do something cleaner.<br>
<br><br>Frafra<br></div></div>