<div class="gmail_quote">2011/11/23 Jerry Vonau <span dir="ltr"><<a href="mailto:jvonau@shaw.ca" target="_blank">jvonau@shaw.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div>On Tue, 2011-11-22 at 17:54 +0100, Francesco Frassinelli wrote:<br>
> 2011/11/21 Alan Pevec <<a href="mailto:apevec@gmail.com" target="_blank">apevec@gmail.com</a>><br>
> On Mon, Nov 21, 2011 at 1:21 AM, Francesco Frassinelli<br>
> <<a href="mailto:fraph24@gmail.com" target="_blank">fraph24@gmail.com</a>> wrote:<br>
> > Hi all,<br>
> > I need to boot a livecd on some hard disk less clients. I<br>
> tried to use<br>
> > livecd-iso-to-pxe, but in my case it unacceptable to load<br>
> the whole iso into<br>
> > initrd (the iso is not small).<br>
> > I made a custom livecd adding dracut-network package, I<br>
> mounted<br>
> > squashfs/root image, exported with nfs, and I've tried to<br>
> boot the clients<br>
> > with root=nfs:192.168.1.50:/home/frafra/root/ selinux=0, but<br>
> Fedora gives me<br>
><br>
><br>
> This tried to use it as normal rootfs, try livenet dracut<br>
> 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>
><br>
><br>
> Sorry, but do you know how I could use it from boot args?<br>
><br>
> Also, I found rd.live.dir options. Could be used for this to mount nfs<br>
> and then setup the live image?<br>
> I try to use:<br>
> initrd=initrd0.img root=nfs:192.168.1.50:/home/frafra/iso:nfsvers=3<br>
> rootfstype=auto rd.live.dir=/LiveOS ro rd.live.image=1 rd.luks=0<br>
> <a href="http://rd.md" target="_blank">rd.md</a>=0 <a href="http://rd.dm" target="_blank">rd.dm</a>=0 rdshell<br>
><br>
> ...but it doesn't work. I tried to remove /dev/root manually and<br>
> launch dmsquash-live-root, and it seems to setup the image correctly,<br>
> but I don't know how to start the system and if this method could be<br>
> automatized.<br>
<br>
</div></div>Think your missing a dracut module for that to work have a look at:<br>
<br>
<a href="http://fedoraproject.org/wiki/Dracut/Options#NFS" target="_blank">http://fedoraproject.org/wiki/Dracut/Options#NFS</a><br></blockquote><div><br>I've already installed dracut-network: in fact I can mount nfs root.<br>
</div></div>Yesterday I also found that the default behaviour for Debian live, when you select "net" binary image, is provide a tftp boot directory with pxelinux preconfigured for nfs live root. I would like to do the same with Fedora :(<br>
<br><br>Francesco<br>