LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: dolbyking

a kernel problem

[复制链接]
发表于 2006-1-2 16:38:06 | 显示全部楼层
Ha...Ha...This is exactly what I expected.

First of all, the devfs is no longer supported in 2.6.14.x kernels.  The original mkinitrd script from the initrd-tools package will not create the appropriate initrd for the 2.6.14.x kernel because it relies on devfs.  Therefore, yaird (Yet Another mkInitRD) must be used to build the relevant initrd.  However, yaird is not available from the out-of-box Debian installation.  yaird is only available in the testing and unstable branches and you must install it before building the initrd for your new 2.6.14.4 kernel.

Alternatively, you may get rid of the initrd completely during the kernel compilation.  However, I do not know what commands you have used to build your kernel.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-2 16:42:31 | 显示全部楼层
i make my kernel by:
make bzImage
make modules
make modules_install
then mkinitrd -o xxx version ( that is not same as rh)
Ok I will try to install yaird. Thank a lot.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-3 14:05:08 | 显示全部楼层
I had solved my problem. D00m3d, Thanks a lot.
回复 支持 反对

使用道具 举报

发表于 2006-1-4 21:29:12 | 显示全部楼层
Good, you made it.

However, I strongly suggest you to learn compiling kernel in the Debian way, i.e. compile it into a deb file and then install it with dpkg -i.  In such way, you can install or uninstall your custom built kernel more easily.
回复 支持 反对

使用道具 举报

发表于 2006-1-5 10:52:40 | 显示全部楼层

看了半天还以为在linuxquestions.org上逛呢
回复 支持 反对

使用道具 举报

发表于 2006-1-18 09:54:06 | 显示全部楼层
Post by dolbyking
I had solved my problem. D00m3d, Thanks a lot.
你能说的更明白点吗,我也mkinitrd了,和你的方法一样,但是最后都不行,怎么还是kerenl paic,我编译的内核是2.6.8的.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表