Книга: Fedora™ Unleashed, 2008 edition
Creating an Initial RAM Disk Image
Creating an Initial RAM Disk Image
If you require special device drivers to be loaded to mount the root file system (for SCSI drives, network cards or exotic file systems, for example), you must create an initial RAM disk image named /boot/initrd.img
. For most users, it is not necessary to create this file, but if you are not certain, it really does not hurt. We covered the initrd.img
in Chapter 34. To create an initrd.img
file, use the shell script /sbin/mkinitrd
.
The format for the command is the following:
/sbin/mkinitrd filename kernel_version
where filename
is the name of the image file you want created.
mkinitrd
looks at /etc/fstab
, /etc/modprobe.conf
, and /etc/raidtab
to obtain the information it needs to determine which modules should be loaded during boot. For our personal systems, we use the following:
# mkinitrd initrd-2.6.7-1.img 2.6.7-1
- Parameter problem
- Initialization and association
- Initial loading of extra modules
- 2. How to Apply These Terms to Your New Programs
- Creating CDs from the Command Line
- The Programmers
- Chapter 2 Building and Deploying a Run-Time Image
- 3.4.2 RTOS Initialization
- Instagram как платформа для реализации.
- Специфика .NET Compact Framework: ADO.NET
- DiskExplorer от Runtime Software
- Для чего нужны папки Windows, Documents and Settings, Program Files и Temp?