MAN page from RedHat Other pcmcia-cs-3.0.0-1.i386.rpm
PCINITRD
Section: Maintenance Commands (8)
Updated: $Date
Index NAME
pcinitrd - create a PCMCIA initrd ram disk image
SYNOPSIS
pcinitrd[
-v][
-a][
--all][
-d alternate-root][
--dir=alternate-root][
-r kernel-release][
--release=kernel-release][
-s image-size][
--size=image-size][
-u][
--update]
initrd-image[
modules ...]
DESCRIPTION
The
pcinitrdscript creates an initrd ram disk image for booting with the rootfilesystem on a PCMCIA device. If the target is a block specialdevice (i.e.,
/dev/fd0),then the initrd image is created on that device. If the target doesnot already exist or if it is an ordinary file, then
pcinitrdwill create the image file using the ``loopback'' device.
Modules are specified with paths relative to/lib/modules/[kernel-release].The core PCMCIA modules(pcmcia/pcmcia_coreandpcmcia/ds)will automatically be installed in the target image. All otherdevice-specific modules need to be listed on the command line,along with the appropriate socket driver(pcmcia/i82365.oorpcmcia/tcic.o).Alternatively, if-ais specified, then all available PCMCIA socket drivers and blockdevice drivers will be included in the image.
The startup script in the resulting image,linuxrc,may need to be customized for a particular system. It contains thesame variable definitions as the normal PCMCIA startup scripts (i.e.,PCIC=,PCIC_OPTS=,andCORE_OPTS=variables). The/etc/config.optsfile may also need to be edited. Any changes tolinuxrcorconfig.optswill be preserved ifpcinitrdis executed in ``update'' mode.
Another feature of the generatedlinuxrcis that if theDEBUGvariable is set to a non-blank string at the boot prompt, then cardmgrwill echo all its status messages to the console, and afterlinuxrcexecutes, it will fire up a shell on the console. This can be helpfulfor debugging initrd problems. However, few commands are available inthe normal initrd environment.
OPTIONS
- -v
- Verbose mode. Identify files as they are copied.
- -a, --all
- Install all socket drivers and block-style PCMCIA device drivers,including memory card, SCSI card, and fixed-disk drivers. This ismainly intended for use by package maintainers.
- -d alternate-root, --dir=alternate-root
- Specifies an alternate directory tree to search for all the files usedto put together the initrd image. This may be helpful for running pcinitrdafter booting from an installation or rescue diskette.
- -r kernel-release, --release=kernel-release
- Specifies the kernel release number (i.e., 2.0.28) to use when lookingfor modules in /lib/modules. The default is the release of therunning kernel.
- -s image-size, --size=image-size
- Specifies the filesystem size to create on the target file or device,in 1k blocks. The default is 1440.
- -u, --update
- Update mode: updatescardmgrand all the kernel modules in an existing initrd image, but does notmodify other files.
AUTHOR
David Hinds - dhindsAATThyper.stanford.edu
SEE ALSO
pcmcia(5),
cardmgr(8),
lilo(8).
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- AUTHOR
- SEE ALSO
This document was created byman2html,using the manual pages.