mkinitrd | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
Section: Maintenance Commands (8)
Updated: Tue Aug 10 2004
Sommaire
NAME | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SYNOPSIS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
mkinitrd [--version] [-v] [-f]
[--preload=module] [--omit-scsi-modules]
[--omit-raid-modules] [--omit-lvm-modules]
[--with=module] [--image-version]
[--fstab=fstab] [--nocompress]
[--builtin=module] image kernel-version
DESCRIPTION | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
mkinitrd creates an initial image used by the kernel for preloading the block device modules (such as IDE, SCSI or RAID) which are needed to access the root filesystem. mkinitrd automatically loads filesystem modules (such as ext3 and jbd), IDE modules, all scsi_hostadapter entries in /etc/modprobe.conf, and raid modules if the system's root partition is on raid, which makes it simple to build and use kernels using modular device drivers.
Any module options specified in /etc/modprobe.conf are passed to the modules as they are loaded by the initial ramdisk.
The root filesystem used by the kernel is specified in the boot configuration file, as always. The traditional root=/dev/hda1 style device specification is allowed. If a label is used, as in root=LABEL=rootPart the initrd will search all available devices for an ext2 or ext3 filesystem with the appropriate label, and mount that device as the root filesystem.
OPTIONS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Normally the created initrd image is compressed with gzip. If this option is specified, the compression is skipped.
Do not load any raid modules, even if /etc/fstab and /etc/raidtab expect them.
Do not load any scsi modules, including 'scsi_mod' and 'sd_mod' modules, even if they are present.
Load the module module in the initial ramdisk image. The module gets loaded before any SCSI modules which are specified in /etc/modprobe.conf. This option may be used as many times as necessary.
FILES | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
A block loopback device is used to create the image, which makes this script useless on systems without block loopback support available (only used on kernels < 2.6)
Specifies SCSI modules to be loaded and module options to be used.
Specifies SCSI modules to be loaded and module options to be used. (only used on kernels < 2.6)
SEE ALSO | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Sommaire | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
Table des mots clés | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
--builtin=module | OPTIONS |
--fstab=fstab | OPTIONS |
--image-version | OPTIONS |
--omit-lvm-modules | OPTIONS |
--version | OPTIONS |
--with=module | OPTIONS |
-f | OPTIONS |
-v | OPTIONS |