<div class="gmail_quote">2011/11/21 Alan Pevec <span dir="ltr"><<a href="mailto:apevec@gmail.com">apevec@gmail.com</a>></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>
<<a href="mailto:fraph24@gmail.com">fraph24@gmail.com</a>> wrote:<br>
> Hi all,<br>
> I need to boot a livecd on some hard disk less clients. I tried to use<br>
> livecd-iso-to-pxe, but in my case it unacceptable to load the whole iso into<br>
> initrd (the iso is not small).<br>
> I made a custom livecd adding dracut-network package, I mounted<br>
> squashfs/root image, exported with nfs, and I've tried to boot the clients<br>
> 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't like 'wget -O $imgfile "$liveurl"', 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="/nfs"<br>mkdir "$nfs"<br>mount ${liveurl#nfs://} "$nfs"<br>imgfile="$nfs"/${imgfile#/run}<br>;;<br><br>...right?<br><br>I don't know if it's possible to reuse nfsroot code, in order to do something cleaner.<br>
<br><br>Frafra<br></div></div>