Print

Introduction
Creating your own installation media.


Image types
  • Second Image
This is an image that is cat'd to the end of the bootable CD ISO.

The directory structure is the same as #2 below.

  • Path
This is a path which is used to find installation files.

It must contain the following directories...
RPMS/*.rpm
RPMS to be installed

Optional...
KEYS/*.asc
Keys to import before installing

install.dat
Config data described in Appendix A below

config.tar.bz2
This file is extracted to the root path after installation


  • Network
A network path is specified, either ftp or http to the installation data file (install.dat).

This data file contains...
CONFIG_URL=<ftp|http>
//path.to/install.data: Bash resource file which contains the variables described in Appendix A

RPM_FILELIST=<ftp|http>
//path.to.rpm/filelist.lst.gz: File containing a URL list of rpms to download and install

RPM_KEYLIST=<ftp|http>
//path.to.rpm/keys.lst: File containing a URL list of rpm keys to import, normally ending in .asc

POST_CONFIG_TARGZ=<ftp|http>
//path.to.rpm/configuration.tar.gz: This is an archive which will be extracted from the new root directory, its purpose is to contain configuration data which needs to be extracted before the first boot

INSTALL_BUILD_FILE=<ftp|http>
//path.to.rpm/info: This is the build information file containing information on the distribution edition and build being installed


The rpm file list and rpm key list can contain the follwing types of URL specifiers, one per line...
ftp://file_path1
http://file_path2
file_path3
file_path4
...

Appendix A
Config Data:

LAYOUT_STRATEGY=<layout type>
l - Automatic (LVM) - Allows dynamic volume resizing.
    LVM_ROOT=<lvm root device>  must be specified.

t - Automatic (Traditional).
    TRADITIONAL_ROOT=<traditional root device>  must be specified.
    You can also add NEED_BOOTPART=1 to force creation of a separate boot partition.

m - Manual device/path specification (ADVANCED)
    BOOT_DEV=<boot device, eg. /dev/hda>
    BOOT_PATH=<boot patition or path, eg. /dev/hda1 or /boot>
    SWAP_PATH=<swap patition or path, eg. /dev/hda2 or /.swapfile>
    ROOT_PATH=<root patition, eg. /dev/hda3>


ROOT_FSTYPE=
ext2
ext3
jfs
reiserfs
xfs


SKIP_DESTRUCTIVE_WARNING=1
skips the prompt that the next steps are destructive



Copyright © 2000-2009, AllWorldIT
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.