Mike,
   Please let us know if it works or not after making the change in 
anaconda.pm.  We can add the support for dracut for CentOS if it 
automatically pulls in by the kernel. 

Ling

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



From:   Xiao Peng Wang <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   01/09/2013 09:22 PM
Subject:        Re: [xcat-user] NFSROOT problem



The dracut is the default tool which used to create initrd things. xCAT 
should adopt Centos to use the dracut. Please do the following change in 
your code to work around it, and let me know the result.

/opt/xcat/lib/perl/xCAT_plugin/anaconda.pm
     my $os = shift;
-    if ($os =~ /(rhels|rhel)(\d+)/) {
+    if ($os =~ /(rhels|rhel|centos)(\d+)/) {

 
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

Michael Robbert ---2013/01/10 07:02:12--------BEGIN PGP SIGNED 
MESSAGE----- Hash: SHA1

From: Michael Robbert <[email protected]>
To: <[email protected]>, 
Date: 2013/01/10 07:02
Subject: Re: [xcat-user] NFSROOT problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I completely removed the rootimg directory and it created a new
one from scratch. I just did it again and looked at the dependency
processing it looks like the kernel package pulls in dracut-kernel,
which in turn pulls in dracut.

Mike

On 1/9/13 3:17 PM, Ling Gao wrote:
> Did you totally remove the image from the rootimg directory before 
> running genimage? The dracut mode is set when
> $rootimg/usr/share/dracut/ directory exists.
> 
> Ling
> 
> Ling Gao Poughkeepsie Unix Development Lab IBM Systems and
> Technology Group Internal: T/L 293-5692 External:
> [email protected], 845-433-5692
> 
> "I never worry about the future. It comes soon enough." --- Albert
> Einstein
> 
> 
> 
> From:        Michael Robbert <[email protected]> To:
> <[email protected]> Date:        01/09/2013 04:59 PM 
> Subject:        Re: [xcat-user] NFSROOT problem 
> ------------------------------------------------------------------------
>
> 
> 
> 
> Does it need to be added the exclude list? It is getting pulled in 
> without any dracut packages listed and dracut is getting run by 
> genimage, but with errors if I don't include dracut-network. If
> RHEL 6.x is supported, why isn't CentOS 6.x?
> 
> Mike
> 
> On 1/9/13 2:44 PM, Ling Gao wrote:
>> From the code (anaconda.pm), it looks like dracut is not support 
>> for Centos.  Please remove the dracut rpms from the pkglist and 
>> regenerate the image.
> 
>> Ling
> 
>> Ling Gao Poughkeepsie Unix Development Lab IBM Systems and 
>> Technology Group Internal: T/L 293-5692 External: 
>> [email protected], 845-433-5692
> 
>> "I never worry about the future. It comes soon enough." ---
>> Albert Einstein
> 
> 
> 
>> From:        Michael Robbert <[email protected]> To: 
>> <[email protected]> Date:        01/09/2013 02:05
>> PM Subject:        [xcat-user] NFSROOT problem 
>> 
------------------------------------------------------------------------
>
>> 
> 
> 
> 
>> I just switched from stateless using RAMdisk based boot to 
>> statelite using NFS root and ran into another problem. After 
>> following all the documentation to change our setup I finally
>> run nodeset to create the new pxelinux.cfg file and it generates
>> this:
> 
>> #statelite centos6.3-x86_64-compute DEFAULT xCAT LABEL xCAT
>> KERNEL xcat/netboot/centos6.3/x86_64/compute/kernel APPEND 
>> initrd=xcat/netboot/centos6.3/x86_64/compute/initrd-statelite.gz 
>> NFSROOT=172.17.0.1:/install/netboot/centos6.3/x86_64/compute 
>> STATEMNT= XCAT=172.17.0.1:3001 ifname=eth0:00:30:48:f2:87:78 
>> netdev=eth0 console=tty0 console=ttyS0,19200n8r MNTOPTS=
>> IPAPPEND 2
> 
>> When I boot that node it kernel panics after an error:
> 
>> dracut: FATAL: No or empty root= argument
> 
>> I see that nodeset did not generate a root= argument and after 
>> looking at the dracut documentation it looks like it is
>> required. If I manually add the proper root= argument, pointing
>> to the rootimg directory, the node boots perfectly. So, my
>> question is should nodeset be generating the root= argument or
>> should it be booting somehow without it?
> 
>> Thanks, Mike Robbert Colorado School of Mines
> 
> 
> 
> 
------------------------------------------------------------------------------
>
> 
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow - 
> 200+ hours of step-by-step video tutorials by Java experts. SALE
> $49.99 this month only -- learn more at: 
> http://p.sf.net/sfu/learnmore_122612 
> _______________________________________________ xCAT-user mailing
> list [email protected] 
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> 
> 
> 
> 
> 
------------------------------------------------------------------------------
>
> 
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow - 
> 200+ hours of step-by-step video tutorials by Java experts. SALE
> $49.99 this month only -- learn more at: 
> http://p.sf.net/sfu/learnmore_122612
> 
> 
> 
> _______________________________________________ xCAT-user mailing
> list [email protected] 
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJQ7fbSAAoJEFmgPOBxQDtBVH4H/1dCitAlq+yLIEBOzdAfsJkC
1ouZmWJnGF+sUeAFu5y67GEIHpIamHjpJp6/reTUjfn48oP0DNDtOhuW9MzutR0H
qg9nq5f1OGaJ0wrPRMhdW3jvjLRDd9O8jCUcRrl+nykN611G0/Mi6zwuFQT/MMjB
aaFl/tmB0YAqFrAkIuYXjUV1+cH5KKUY/s7JtgqMqxynj/kk7ztHNkkthzGH9CHE
CZB4htMETFB7BhC5wYBpeXThIjiMyVvSUwAZbuJ9VjLfxrPUuqnMA4CbsNoBdEV4
tsiJAUFC3DR7B8BiaA0k1Jb7/yIPVHiaTNV9eGAJzi65zIMKebnfqFh0fQPIfO4=
=EIBF
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


<<image/gif>>

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to