Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
mkinitrd(8)
Edit
PageHistory
Diff
Info
LikePages
MKINITRD !!!MKINITRD NAME SYNOPSIS DESCRIPTION OPTIONS FILES SEE ALSO AUTHOR ---- !!NAME mkinitrd - make an initrd image !!SYNOPSIS __mkinitrd__ [[__-k__] [[__-d__ ''confdir''] [[__-m__ ''command''] [[__-o__ ''outfile''] [[__-r__ ''root''] ''moduledir'' !!DESCRIPTION The __mkinitrd__ script constructs a directory structure that can serve as an __initrd__ root file system. It then generates an image containing that directory structure using mkcramfs(8), which can be loaded using the __initrd__ mechanism. The kernel modules placed in the directory structure will be taken from ''moduledir''. This is usually of the form ''/lib/modules/your-kernel-version''. The directory structure can be customised by placing scripts into ''confdir/scripts''. They will be run using run-parts(8) just before the directory is fed to mkcramfs(8). You can also specify modules to load by putting them in ''confdir/modules'', whose format is identical to that of ''/etc/modules'', which is described in __modules(5)__. When the system boots using an __initrd__ image created by mkinitrd(8), the __linuxrc__ will wait for an amount of time which is configured through mkinitrd.conf(5), during which it may be interrupted by pressing __ENTER__. After that, the modules specified in ''confdir/modules'' (and possibly others if __ROOT__ is not null) will be loaded, followed by any actions generated when __ROOT__ is not null. Finally any scripts or executables in ''/scripts'' will be run in alphabetical order. !!OPTIONS __-d__ ''confdir'' By default __mkinitrd__ looks for its configuration files in ''/etc/mkinitrd''. Use this option to override that. __-k__ Do not delete the temporary working directory that __mkinitrd__ uses. This is useful for debugging. __-m__ ''command'' This option overrides the setting of __MKIMAGE__ in ''mkinitrd.conf''. __-o__ ''outfile'' This option causes __mkinitrd__ to write the image to ''outfile'' instead of the standard output. __-r__ ''root'' This option overrides the setting of __ROOT__ in ''mkinitrd.conf''. !!FILES ''/etc/mkinitrd/exe'' This file contains full paths to shared executables that should be included in the __initrd__ image. __mkinitrd__ will include them as well as any shared libraries that they are linked with. ''/etc/mkinitrd/files'' This file contains full paths to files that should be included in the __initrd__ image. ''/etc/mkinitrd/mkinitrd.conf'' The default configuration file for the script. ''/etc/mkinitrd/modules'' All modules specified in this file will be loaded when the system boots using the generated image. However, they are not automatically included on the image. You will either have to use the appropriate __MODULES__ setting, or copy them in using a script in ''/etc/mkinitrd/scripts''. ''/etc/mkinitrd/scripts'' Scripts in this directory are run just before the image is generated from. !!SEE ALSO mkcramfs(8), mkinitrd.conf(5) !!AUTHOR Herbert Xu ----
6 pages link to
mkinitrd(8)
:
lilo(8)
lilo.real(8)
Man8m
mkinitrd.conf(5)
mkrescue(8)
lilo.conf(5)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.