- 论坛徽章:
- 0
|
我是直接在FC3下编译的.
我没有用新的kernel启动过,因为我认为是起不起来的,我的硬盘是SCSI的.如果这一步不成功的话,新内核在启动时应该没有可能找不到一些驱动程序或模块.这是我想的.因为我在man mkinitrd 时看到
mkinitrd - creates initial ramdisk images for preloading modules
mkinitrd creates filesystem images which are suitable for use as Linux
initial ramdisk (initrd) images. Such images are often used 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 and all modules in a probeall scsi_hostadapter
.. line in /etc/modules.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/modules.conf are passed to the
modules as they are loaded by the initial ramdisk.
这段英文应该很易懂,讲的是在mkinitrd 的作用,.img文件在kernel启动时有非常重要的作用.
不过我马上试一下在mkinitrd没有成功的情况下,系统用新的kernel能不能启动.希望各位不吝赐教.
万分感谢!! |
|