LinuxSir.cn,穿越时空的Linuxsir!

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

那位大虾帮帮忙看看!!!!!!!!!!!!

[复制链接]
发表于 2004-12-10 22:05:00 | 显示全部楼层 |阅读模式
我编译2.6.0
步骤为
make mrproper
make xcongfig
make def
make clean
make bzimage
make modules
make modules_install
cp  usr/src/linux-2.6.0/arc/i386/../bzImage /boot/vmlinuz-2.6.0.new
cp  system.map /boot/system.map-2.6.0.new
mkintrid  /boot/initrd-2.6.0 /lib/modules/2.6.0
grub 设置如下

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,7)
#          kernel /vmlinuz-version ro root=/dev/hda9
#          initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,7)/grub/splash.xpm.gz
title Red Hat Linux (2.6.0)
       root(hd0,7)
       kernel /vmlinuz-2.6.0.old ro root=LABEL=/
       initrd /initrd-2.6.0.old.img
title Red Hat Linux (2.6.0.new)
        root (hd0,7)
        kernel /vmlinuz-2.6.0.new ro root=LABEL=/
        initrd /initrd-2.6.0.new.img
title Red Hat Linux(2.4.20-8.standard)
       root(hd0,7)
       kernel /vmlinuz-2.4.20-8.standard ro root=LABEL=/
       initrd /initrd-2.4.20-8.standard.img
title Red Hat Linux (2.4.20-8)
        root (hd0,7)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /initrd-2.4.20-8.img
title Windows   XP
        rootnoverify (hd0,0)
        chainloader +1
////////////////////////////////////////////////
但是就是不能够进去
出现
这个:
hda: hda1 hda2 <
发表于 2004-12-11 02:17:41 | 显示全部楼层
以上步骤都对,可能是你选择内核时有错了
我看了下启动信息,出现你的信息下一条是
hda: cache flushes supported
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 >
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
重新编译试试吧
发表于 2004-12-11 04:44:42 | 显示全部楼层
你这个错误有很多种原因的
发表于 2004-12-11 14:21:28 | 显示全部楼层
我原来编译2.6.7的时候只用了:
#make gconfig
#make
#make modules
#make modules_install
#make install
就可以直接选新内核启动了。
 楼主| 发表于 2004-12-11 23:35:36 | 显示全部楼层
昨天晚上看了帖子之后又重新编译了一次在装
mkinitrd 是出现如下提示
还是进不了

[root@localhost linux]# rpm -ivh --force mkinitrd-3.5.15.1-2.i386.rpm
warning: mkinitrd-3.5.15.1-2.i386.rpm: V3 DSA signature: NOKEY, key ID 9d6b4012
error: Failed dependencies:
        lvm2 is needed by mkinitrd-3.5.15.1-2
[root@localhost linux]#
不过出错提示和大家一样的了
发表于 2004-12-11 23:39:56 | 显示全部楼层
最初由 被遗失的泪水 发表
我原来编译2.6.7的时候只用了:
#make gconfig
#make
#make modules
#make modules_install
#make install
就可以直接选新内核启动了。

既然make了还make modules干嘛?
吃饱了撑的?:p :p :p
发表于 2004-12-11 23:41:28 | 显示全部楼层
我一向不用initrd的
也没出过什么事
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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