2011/11/21 Alan Pevec <apevec@gmail.com>
On Mon, Nov 21, 2011 at 1:21 AM, Francesco Frassinelli
<fraph24@gmail.com> wrote:
> Hi all,
> I need to boot a livecd on some hard disk less clients. I tried to use
> livecd-iso-to-pxe, but in my case it unacceptable to load the whole iso into
> initrd (the iso is not small).
> I made a custom livecd adding dracut-network package, I mounted
> squashfs/root image, exported with nfs, and I've tried to boot the clients
> with root=nfs:192.168.1.50:/home/frafra/root/ selinux=0, but Fedora gives me

This tried to use it as normal rootfs, try livenet dracut module,
which handles remote livecd iso:
git.kernel.org/?p=boot/dracut/dracut.git;a=blob;f=modules.d/90livenet/livenetroot


Sorry, but do you know how I could use it from boot args?

Also, I found rd.live.dir options. Could be used for this to mount nfs and then setup the live image?
I try to use:
initrd=initrd0.img root=nfs:192.168.1.50:/home/frafra/iso:nfsvers=3 rootfstype=auto rd.live.dir=/LiveOS ro rd.live.image=1 rd.luks=0 rd.md=0 rd.dm=0 rdshell

...but it doesn't work. I tried to remove /dev/root manually and launch dmsquash-live-root, and it seems to setup the image correctly, but I don't know how to start the system and if this method could be automatized.



Thanks,
Francesco Frassinelli