lxw4321 发表于 2003-8-9 12:31:23

升级内核最后一步显示

# make install
make: `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

什么原因啊!!
多谢拉!!

Dragonfly 发表于 2003-8-9 23:33:42

install kernel manually.:-D

lxw4321 发表于 2003-8-10 02:09:31

老大,我第一次升级内核啊!
能不能说清楚点!
多谢了!具体怎么做!!!

Dragonfly 发表于 2003-8-10 04:37:36

u use lilo or grub?
:-D

lxw4321 发表于 2003-8-11 02:22:48

grub 多谢了

Dragonfly 发表于 2003-8-11 04:38:36

post u /etc/fstab /etc/grub/grub.conf content here.
:-D

lxw4321 发表于 2003-8-11 17:08:46

fstab
LABEL=/               /                     ext3    defaults      1 1
none                  /dev/pts                devptsgid=5,mode=6200 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/winfvfat 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,8)
#          kernel /boot/vmlinuz-version ro root=/dev/hda9
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title Magic Linux
        root (hd0,8)
        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
多谢了

Dragonfly 发表于 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,8)
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

lxw4321 发表于 2003-8-12 22:42:00

module-init-tools

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

Dragonfly 发表于 2003-8-12 22:44:59

choose the highest version

lxw4321 发表于 2003-8-12 22:45:40

linux-2.6.0-test2.tar.gz   
我下的这个!!

Dragonfly 发表于 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.

lxw4321 发表于 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:发现斑竹是公社最负责的斑竹!真的,看贴就知道了!还是个外国人佩服!鞠躬!
另外能不能搞个置顶!介绍升级内核的详细步骤!还有,哪里有关于这个的详细书籍啊!中文的!多谢了!

Dragonfly 发表于 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.
:wink:

lxw4321 发表于 2003-8-17 15:04:25

make xconfig 和 make menuconfig
什么区别啊?
多谢了
页: [1] 2
查看完整版本: 升级内核最后一步显示