LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 784|回复: 12

我编译内核出错了,已经是第8遍了。 已经解决mkdir /initrd

[复制链接]
发表于 2009-3-2 19:07:15 | 显示全部楼层 |阅读模式
我编译了内核,文件格式ext2 ext3 ext4都编进了内核,其它的没,磁盘驱动也编进了内核,还mkinitrd /boot/initrd.img 2.6.27-r8。重新生成了img镜像,还是启动不了。上图,再把编内核用的.config也发到附件里。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2009-3-2 19:08:08 | 显示全部楼层
我现在是用的genkernel all编的内核。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-2 19:49:26 | 显示全部楼层
求人指点迷津,在线等的。
回复 支持 反对

使用道具 举报

发表于 2009-3-2 19:53:24 | 显示全部楼层
ram0出了问题,但不知道哪里解决。

楼主最好把/boot/grub/menu.lst贴一下
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-2 19:55:00 | 显示全部楼层
没有menu.lst,只有grub.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-2 19:55:40 | 显示全部楼层
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/han ... p;chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.24-r5
root (hd0,0)
#kernel /boot/gentoo root=/dev/sda2
#initrd /boot/initd.img



kernel /boot/kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/sda2 vag=791
initrd /boot/initramfs-genkernel-x86-2.6.27-gentoo-r8


title windows
root (hd0,3)
chainloader +1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-2 19:56:21 | 显示全部楼层
#kernel /boot/gentoo root=/dev/sda2
#initrd /boot/initd.img

这个是我自己编译的内核和INITRD镜像。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-2 20:09:30 | 显示全部楼层
mkinitrd /boot/inird.img 2.6.27-gentoo-r7 生成的initrd.img,有错么?
回复 支持 反对

使用道具 举报

发表于 2009-3-2 20:39:50 | 显示全部楼层
现在都用2.6.28了,呵呵,我前两天刚装的EXT4,用着挺好
回复 支持 反对

使用道具 举报

发表于 2009-3-2 20:48:02 | 显示全部楼层
ext4的不清楚,建议你试试在ext3这类fs上能否启动,先排除是否ext4的问题

小tips:或者你应该从ramdisk入手
Device Drivers-->Block devices-->RAM block device support
还有你的声卡模块没选对
回复 支持 反对

使用道具 举报

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

本版积分规则

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