I think the boottarget is a good choice for you.

For your node, the following attribute should be set: os=boottarget,
profile=smcmos. And make sure the path of the kernel is correct in the
boottarget table, and the attribute kcmdline as well.

Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   "Pocina, Goran" <[email protected]>
To:     xCAT Users Mailing list <[email protected]>,
Date:   2012/11/30 23:12
Subject:        [xcat-user] Netbooting off a floppy or CD image.



The following pxe boot file will boot a FreeDOS floppy disk image that runs
a CMOS utility (after memdisk and the image file are copied to /tftpboot):

        [root@drdxcatmn1 xcat]# cat /tftpboot/pxelinux.cfg/develkv8
        #run CMOS utility on FreeDOS
        DEFAULT Floppy
        LABEL Floppy
        LINUX memdisk
        APPEND initrd=xcat/floppy/cmos-settings.img
          IPAPPEND 2

Is there a way to have xCAT generate a similar pxe file when needed?   Say
when a “nodeset host netboot=smcmos” is run?

It looks like the boottarget table can help, but I may not be setting it up
correctly because “nodeset host netboot=smcmos” generates a missing kernel
error.

      [root@drdxcatmn1 xcat]#   tabdump boottarget
      #bprofile,kernel,initrd,kcmdline,comments,disable
      "smcmos","memdisk","xcat/floppy/cmos-settings.img",,,

      [root@drdxcatmn1 xcat]#   nodeset develkv8 netboot=smcmos
      Error: Did you run "genimage" before running "packimage"? kernel
      cannot be found
      Error: Some nodes failed to set up netboot resources, aborting

Also tried copying /tftpboot/memdisk
to /tftpboot/xcat/netboot/smcmos/memdisk, but no help.

Any suggestions?

Thanks,

Goran
------------------------------------------------------------------------------

Keep yourself connected to Go Parallel:
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to