diff --git a/xCAT-client/pods/man1/genimage.1.pod b/xCAT-client/pods/man1/genimage.1.pod index e3a3ab03f..79999f254 100644 --- a/xCAT-client/pods/man1/genimage.1.pod +++ b/xCAT-client/pods/man1/genimage.1.pod @@ -6,9 +6,9 @@ B - Generates a stateless image to be used for a diskless install. B -B B<-o> I [B<-a> I] B<-p> I B<-i> I B<-n> I [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] +B B<-o> I [B<-a> I] B<-p> I B<-i> I B<-n> I [B<--onlyinitrd>] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] -B [B<-o> I] [B<-a> I] [B<-p> I] [B<-i> I] [B<-n> I] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] I +B [B<-o> I] [B<-a> I] [B<-p> I] [B<-i> I] [B<-n> I] [B<--onlyinitrd>] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] I B [B<-h> | B<--help> | B<-v> | B<--version>] @@ -53,8 +53,10 @@ for statelite: B Becides prompting for the input for some paramters, the B command takes default quesses for the parameters not specified or not defined in the I and I tables. It also makes default answers for questions from yum/zypper command when installing rpms into the image. Please use --interactive flag if you want yum/zypper command to prompt you for the answers. -The B command must be run on a system that is the same architecture as the nodes it will be -used on. If the management node is not the same architecture, copy the contents of +If B<--onlyinitrd> is specified, only regenerates the initrd for a stateless image to be used for a diskless install. + +The B command must be run on a system that is the same architecture and same distro with same majar release version as the nodes it will be +used on. If the management node is not the same architecture or same distro level, copy the contents of /opt/xcat/share/xcat/netboot/ to a system that is the proper architecture, and mount /install from the management node to that system. Then change directory to /opt/xcat/share/xcat/netboot/ and run ./genimage. @@ -104,6 +106,17 @@ which may prove important in some cases. The maximum size allowed for the root file system in the image. Specify in bytes, or can append k, m, or g. +=item B<--onlyinitrd> + +Regenerates the initrd for a stateless image to be used for a diskless install. + + +Regenerates the initrd that is part of a stateless/statelite image that is used to boot xCAT nodes in a stateless/stateli +te mode. +The generated initrd will be put in /install/netboot///. + +The B command will generate two initial ramdisks, one is B for B mode, the other one is B for B mode. + =item B<--permission> I The mount permission of B directory for B mode, which is only used for B mode, and the default permission is 755. @@ -193,6 +206,11 @@ x86_64 and place it in the genimage myimagename --interactive +=item 9 + +To regenerate the initrd for a fedora8 image for a compute node architecture x86_64 and place it in the /install/netboot/fedora8/x86_64/compute/rootimg directory: change directory to /opt/xcat/share/xcat/netboot/fedora and run: + + geninitrd -i eth0 -n tg3,bnx2 -o fedora8 -p compute =back @@ -206,4 +224,4 @@ x86_64 and place it in the =head1 SEE ALSO -L, L, L +L, L