提取initrd映像。
Listing 4 shows how to create an initrd image.
清单4显示了如何创建一个initrd映像文件。
Within the initrd image, there is a file called linuxrc.
在initrd映像中,有一个名为linuxrc的文件。
If unsure, check your initrd or initramdisk configuration.
如果不确定的话,就需要检查initrd或initramdisk的配置。
Edit the initrd image to change the storage adapter sequence.
编辑initrd映像以更改存储适配器顺序。
After this, you can see all files packaged into the initrd image.
在此之后,您将看到所有文件被封装到initrd映像中。
Minimax is a Linux distribution that fits entirely in an initrd image!
Minimax是一个完全封装在initrd映像文件中的Linux发行版!
Listing 7. Hierarchy of major functions in initrd loading and mounting.
清单7.initrd加载和挂载过程中所使用的主要函数的层次结构。
Prior to Fedora Core 3, the initrd is constructed using the loop device.
在Fedora Core3之前,initrd是使用loop设备来构建的。
The initrd is bound to the kernel and loaded as part of the kernel boot procedure.
initrd与内核绑定在一起,并作为内核引导过程的一部分进行加载。
You should be able to find all files in the initrd image under directory temp now.
您现在应当可以在temp目录的initrd映像中找到所有文件。
DMMP isn't build into the initrd image, so you can use following commands to do it
DMMP没有构建到初始化内存镜像中,因此您可以使用以下命令来完成
As in these newer Linux distributions, the initrd image is also compressed with cpio.
在这些最新的Linux发行版中,initrd映像也是用cpio压缩的。
It should compile the source code, install the module, and create a new initrd image.
安装过程中应该会编译源代码,安装模块,并创建一个新的initrd镜像。
In the case of desktop or server Linux systems, the initrd is a transient file system.
在桌面或服务器Linux系统中,initrd是一个临时的文件系统。
You can now interact with GRUB to define the specific kernel and initrd image to load.
我们现在可以与GRUB进行交互,从而定义要加载哪个内核和initrd映像文件。
In order to use this method, we need to create two things, a kernel and an initrd image.
为了使用这种方法,我们需要创建两项,内核和initrd映像。
Beginning with Fedora Core 3, the default initrd image is a compressed cpio archive file.
从Fedora Core3开始,默认的initrd映像变成了一个经过压缩的cpio归档文件。
In embedded systems with no mutable storage, the initrd is the permanent root file system.
在没有存储设备的嵌入式系统中,initrd是永久的根文件系统。
For a traditional Linux system, the initrd image is created during the Linux build process.
对于传统的Linux系统来说,initrd映像是在Linux构建过程中创建的。
After the kernel and initrd images are decompressed and copied into memory, the kernel is invoked.
在内核和initrd映像被解压并拷贝到内存中之后,内核就会被调用了。
Once transferred, the Linux kernel can be booted and initrd mounted, as is done in a local image boot.
传输完成之后,就可以引导Linux内核并挂载initrd了,这与本地映像引导的过程类似。
The initrd function allows you to create a small Linux kernel with drivers compiled as loadable modules.
initrd函数让我们可以创建一个小型的Linux内核,其中包括作为可加载模块编译的驱动程序。
The initrd is also useful as a non-persistent root file system mounted in a RAM disk for embedded Linux systems.
initrd对于在嵌入式系统中加载到RAM磁盘里的非持久性根文件系统来说也非常有用。
You should manually modify your boot manager configuration file /boot/grub/grub.conf to use the new initrd image.
您应该手动修改启动管理器配置文件 /boot/grub/grub.conf,以使用新的initrd镜像。
Let's now go back to the beginning to formally understand how the initrd image is constructed in the first place.
下面让我们回到最开始,来看一下initrd映像最初是如何构建的。
When the kernel is invoked, it decompresses itself into high memory and copies the initrd for later mounting and use.
当调用内核时,它会自解压到高端内存中,并拷贝initrd以供稍后安装和使用。
When you're building an embedded system and want the smallest initrd image possible, there are a few tips to consider.
在构建嵌入式系统时,我们可能希望将initrd映像文件做得尽可能小,这其中有一些技巧需要考虑。
Edit your initrd image to let the root file system adapter driver load earlier than all other storage adapter drivers.
编辑initrd映像,以便首先载入根文件系统适配器驱动程序,然后再载入所有其他存储适配器驱动程序。
This file, like the traditional Linux boot process, is invoked when the initrd image is decompressed into the RAM disk.
与传统的Linux引导过程类似,这个文件也是在将 initrd映像解压到RAM 磁盘中时被调用的。
应用推荐