Using fai-chboot

Carl J. Van Arsdall cvanarsdall at mvista.com
Tue Oct 31 00:59:57 CET 2006


Thomas Lange wrote:
>>>>>> On Mon, 23 Oct 2006 11:31:03 -0700, "Carl J. Van Arsdall" <cvanarsdall at mvista.com> said:
>>>>>>             
>
>     > Is it possible to set the fai action as well as specify the nfs root on 
>     > the same command line?
> Yes.
>
>     > fai-chboot -Iv vmlinuz-install /srv/fai/nfsroot_i386 node-30
> Try: fai-chboot -v -k root=/dev/nfs vmlinuz-install /srv/fai/nfsroot_i386 node-30
>   
Alright, i'm having some trouble.  The use of fai-chboot -I <host> does 
quite a bit of stuff.  I looked in the man pages, the -i option says its 
the same as  -k "ip=dhcp" vmlinuz-install /dev/nfs,  but this doesn't 
work.  Is this man page old? its nothing like the example you provided.

So I'm trying this command to set the parameters for booting, 
installing, while maintaining my custom nfsroot name....

glue:/srv/fai/config/scripts# fai-chboot -v -f install -k  "ip=dhcp" 
root=/dev/nfs vmlinux-install 
/srv/fai/nfsroot_i386,v3,tcp,rsize=32768,wsize=32768 node-30
append parameters:  ip=dhcp FAI_FLAGS=install
Booting kernel root=/dev/nfs
rootfs is vmlinux-install
Kernel parameters: ip=dhcp
fai-chboot: unknown host: 
/srv/fai/nfsroot_i386,v3,tcp,rsize=32768,wsize=32768

How do I use this command to do absolutely everything that fai-chboot -I 
does while allowing me to specify a custom nfsroot?

-carl



>     > Is this isn't already done, has anyone considering changing fai-chboot 
>     > to take nfsroot and kernel using options?
> But the best thing is to create a template for it, for e.g
> myinst.tmpl. This can be copied using fai-chboot -vc myinst.tmpl hostname
>
>     > If there are no objections, I'd be happy to work on a patch for this 
>     > kind of functionality, it could be useful (at least it seems to be in my 
>     > case).  Thoughts?  Ideas?
> Patches are always welcome, but maybe the template works for you.
>
>   


-- 

Carl J. Van Arsdall
cvanarsdall at mvista.com
Build and Release
MontaVista Software



More information about the linux-fai mailing list