NAME

geninitrd - Generate an initrd (initial ramfs) which to be used for statefull install or stateless netboot.

SYNOPSIS

geninitrd imagename [--ignorekernelchk]

geninitrd [-h | --help]

DESCRIPTION

Generate the initrd for the osimage: imagename which is an xCAT object of osimage type.

Diskfull Osimage

Stateless Osimage

Parameters

imagename specifies the name of an os image definition to be used. The specification for the image is storted in the osimage table and linuximage table.

--ignorekernelchk

Skip the kernel version checking when injecting drivers from osimage.driverupdatesrc. That means all drivers from osimage.driverupdatesrc will be injected to initrd for the specific target kernel.

RETURN VALUE

0 The command completed successfully.

1 An error has occurred.

EXAMPLES

1 To generate initrd for the osimage myimagename:
  geninitrd myimagename

FILES

/opt/xcat/bin/geninitrd

/opt/xcat/bin/genimage

/opt/xcat/share/xcat/netboot/<OS>/genimage

SEE ALSO

geninitrd(1), genimage(1)