QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1586|回复: 15

升级内核最后一步显示

[复制链接]
发表于 2003-8-9 12:31:23 | 显示全部楼层 |阅读模式
[root@localhost linux-2.6.0-test2]# make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh arch/i386/boot/install.sh 2.6.0-test2 arch/i386/boot/bzImage System.map ""
grubby fatal error: unable to find a suitable template

什么原因啊!!
多谢拉!!
发表于 2003-8-9 23:33:42 | 显示全部楼层
install kernel manually.  
回复

使用道具 举报

 楼主| 发表于 2003-8-10 02:09:31 | 显示全部楼层
老大,我第一次升级内核啊!
能不能说清楚点!
多谢了!具体怎么做!!!
回复

使用道具 举报

发表于 2003-8-10 04:37:36 | 显示全部楼层
u use lilo or grub?
回复

使用道具 举报

 楼主| 发表于 2003-8-11 02:22:48 | 显示全部楼层
grub 多谢了
回复

使用道具 举报

发表于 2003-8-11 04:38:36 | 显示全部楼层
post u /etc/fstab /etc/grub/grub.conf content here.
回复

使用道具 举报

 楼主| 发表于 2003-8-11 17:08:46 | 显示全部楼层
fstab
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
/dev/hda10              swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
/dev/hda2 /mnt/winc vfat defaults 0 0
/dev/hda5 /mnt/wind vfat defaults 0 0
/dev/hda6 /mnt/wine vfat defaults 0 0
/dev/hda7 /mnt/winf  vfat defaults 0 0
/dev/hda8 /mnt/wing vfat defaults 0 0


grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,
#          kernel /boot/vmlinuz-version ro root=/dev/hda9
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,/boot/grub/splash.xpm.gz
title Magic Linux
        root (hd0,
        kernel /boot/vmlinuz-2.4.20-1.1 ro root=/dev/hda9 hdc=ide-scsi
        initrd /boot/initrd-2.4.20-1.1.img
title WINDOWS
        rootnoverify (hd0,1)
        chainloader +1
多谢了
回复

使用道具 举报

发表于 2003-8-11 21:56:06 | 显示全部楼层
so copy u new kernel bzImage to /boot/vmlinuz-2.6.0
then add these to the end of u grub.conf file

title 260
root (hd0,
kernel /boot/vmlinuz-2.6.0 ro root=/dev/hda9 hdc=ide-scsi

u also need to install module-init-tools from http://www.kernel.org/pub/linux/kernel/people/rusty/modules
回复

使用道具 举报

 楼主| 发表于 2003-8-12 22:42:00 | 显示全部楼层

module-init-tools

module-init-tools 是随便下一个吗?
实在是多谢了 !
回复

使用道具 举报

发表于 2003-8-12 22:44:59 | 显示全部楼层
choose the highest version
回复

使用道具 举报

 楼主| 发表于 2003-8-12 22:45:40 | 显示全部楼层
linux-2.6.0-test2.tar.gz     
我下的这个!!
回复

使用道具 举报

发表于 2003-8-12 22:47:13 | 显示全部楼层
i am u choose the highest version of module-init-tools from http://www.kernel.org/pub/linux/kernel/people/rusty/modules

for kernel, i think 2.6.0-test2 is fine. but i guess u are a starter, so u had better try 2.4.21, which is easier and need not to dl thsi module-init-tool.
回复

使用道具 举报

 楼主| 发表于 2003-8-16 23:33:41 | 显示全部楼层
多谢斑竹了!还有几个问题要麻烦一下!
(1) 2。4。21已经装上了!只是启动时!好多FAILED
(2) 2。6。0  的 so copy u new kernel bzImage to /boot/vmlinuz-2.6.0
这步怎么做啊? 我启动2。6。0时显示
initrd /boot/initrd-2.6.0test2.img
Error 19: Linux kernel must be loaded before initrd
initrd-2.6.0test2.img 这个文件有啊!!
(3) make xconfig 后出来一个修改的对话框是干什么用的?怎么配置啊?
PS:发现斑竹是公社最负责的斑竹!真的,看贴就知道了!还是个外国人佩服!鞠躬!
另外能不能搞个置顶!介绍升级内核的详细步骤!还有,哪里有关于这个的详细书籍啊!中文的!多谢了!
回复

使用道具 举报

发表于 2003-8-17 04:27:37 | 显示全部楼层
1) post the fail error msg here for u 2.4.21 kernel

2) cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.0

3) i seldom use make xconfig. i forget what dialog u mean. i use make menuconfig only

thx. but i am not 外国人. i am a chinese. always a chinese. i am here to try to get a degree.

so many posts about kernel update. and since i seldom meet problems, i do not know how to write it. if i write it, i will write make mrproper menuconfig dep bzImage, copy, mkinitrd, vi, reset. and each step is too easy to say.

i do not know if there are chinese books on this. i do not read chinese text books for 3 years.
回复

使用道具 举报

 楼主| 发表于 2003-8-17 15:04:25 | 显示全部楼层
make xconfig 和 make menuconfig
什么区别啊?
多谢了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 15:10 , Processed in 0.047864 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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