[Fedora-livecd-list] Boot over NFS/PXE
Urs Beyerle
urs.beyerle at env.ethz.ch
Wed Nov 23 10:58:30 UTC 2011
On 11/23/2011 11:21 AM, Francesco Frassinelli wrote:
> 2011/11/23 Jerry Vonau <jvonau at shaw.ca <mailto:jvonau at shaw.ca>>
>
> On Tue, 2011-11-22 at 17:54 +0100, Francesco Frassinelli wrote:
> > 2011/11/21 Alan Pevec <apevec at gmail.com <mailto:apevec at gmail.com>>
> > On Mon, Nov 21, 2011 at 1:21 AM, Francesco Frassinelli
> > <fraph24 at gmail.com <mailto: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
> <http://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 <http://rd.md>=0 rd.dm <http://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.
>
> Think your missing a dracut module for that to work have a look at:
>
> http://fedoraproject.org/wiki/Dracut/Options#NFS
>
>
> I've already installed dracut-network: in fact I can mount nfs root.
> 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 :(
>
+1 !
Beside Fedora, I would also like to get it working with CentOS and Scientitifc Linux.
Has anybody on the list some more suggestions?
Thanks,
Urs
More information about the livecd
mailing list