2011/11/21 Alan Pevec <[email protected]>

> On Mon, Nov 21, 2011 at 1:21 AM, Francesco Frassinelli
> <[email protected]> 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
>

Very interesting, but I don't like 'wget -O $imgfile "$liveurl"', because I
would not to load the whole iso.
It should be very easy to add nfs support. It could be added something like:

nfs://*)
nfs="/nfs"
mkdir "$nfs"
mount ${liveurl#nfs://} "$nfs"
imgfile="$nfs"/${imgfile#/run}
;;

...right?

I don't know if it's possible to reuse nfsroot code, in order to do
something cleaner.


Frafra
--
livecd mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd

Reply via email to