[Fedora-livecd-list] Boot over NFS/PXE

Francesco Frassinelli fraph24 at gmail.com
Mon Nov 21 12:01:23 UTC 2011


2011/11/21 Alan Pevec <apevec at gmail.com>

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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20111121/eb5d34cd/attachment.html 


More information about the livecd mailing list