内核无法引导到2.4.20
Redhat8.0with kernel2.4.18-14早上刚重新编译了2.4.20,编译过程没什么问题,只是到了一步修改/boot的
# cd /boot
# rm System.map
# rm vmlinuz
# mv /usr/src/linux-2.4.18-3/System.map System.map
# mv /usr/src/linux-2.4.18-3/arch/i386/boot/bzImage vmlinux
我在linux-2.4.20里找不到那System.map,bzImage,看了2.4.20的README也说得模糊不清:
If you boot Linux from the hard drive, chances are you use LILO which
uses the kernel image as specified in the file /etc/lilo.conf.The
kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or
/boot/bzImage.To use the new kernel, save a copy of the old image
and copy the new image over the old one.Then, you MUST RERUN LILO
to update the loading map!! If you don't, you won't be able to boot
the new kernel image.
我用的是grub,也找不到/vmlinuz,/boot/vmliuz,/bzImage
估计我的问题是无法引导到2.4.20的内核,只能引导到原来2.4.18的内核,这要怎么改? 我也是有同样的问题,请大虾们帮帮我们啊! :x:x:x:oops::oops::oops: 编译完毕后,源码目录下make install如何?
Re: 内核无法引导到2.4.20
Redhat8.0with kernel2.4.18-14早上刚重新编译了2.4.20,编译过程没什么问题,只是到了一步修改/boot的
# cd /boot
# rm System.map
# rm vmlinuz
# mv /usr/src/linux-2.4.18-3/System.map System.map
# mv /usr/src/linux-2.4.18-3/arch/i386/boot/bzImage vmlinux
我在linux-2.4.20里找不到那System.map,bzImage,看了2.4.20的README也说得模糊不清:
If you boot Linux from the hard drive, chances are you use LILO which
uses the kernel image as specified in the file /etc/lilo.conf.The
kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or
/boot/bzImage.To use the new kernel, save a copy of the old image
and copy the new image over the old one.Then, you MUST RERUN LILO
to update the loading map!! If you don't, you won't be able to boot
the new kernel image.
我用的是grub,也找不到/vmlinuz,/boot/vmliuz,/bzImage
估计我的问题是无法引导到2.4.20的内核,只能引导到原来2.4.18的内核,这要怎么改?
安装新内核后(复制新内核到/boot/下等)需要重新运行一下lilo
Re: 内核无法引导到2.4.20
安装新内核后(复制新内核到/boot/下等)需要重新运行一下lilo
但我用grub的怎么办 我也试了一下grub,运行后进入grub>后再quit退出,这样可以吗? 编译完毕后,源码目录下make install如何?
运行后如下:
make: *** Error 1
make: Leaving directory `/usr/src/linux-2.4.20/arch/i386/kernel'
make: *** Error 2
不知是哪里错了
再说明一下:
- In order to boot your new kernel, you'll need to copy the kernelimage (found in .../linux/arch/i386/boot/bzImage after compilation)
to the place where your regular bootable kernel is found.
我在那个编译完的linux-2.4.20里面是找不到bzImage的
If you boot Linux from the hard drive, chances are you use LILO which
uses the kernel image as specified in the file /etc/lilo.conf.The
kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or
/boot/bzImage.To use the new kernel, save a copy of the old image
and copy the new image over the old one.Then, you MUST RERUN LILO
to update the loading map!! If you don't, you won't be able to boot
the new kernel image.
我在那个编译完的linux-2.4.20和/boot里面也是找不到/vmlinuz,/boot/vmlinuz,/bzImage,/boot/bzImage的 do u make bzImage ok? if ok, u should be able to find u bzImage from arch/i386/boot do u make bzImage ok? if ok, u should be able to find u bzImage from arch/i386/boot
应该没问题,不过有问题的话应该和make install的结果一样吧:
make: *** Error 1
make: Leaving directory `/usr/src/linux-2.4.20/arch/i386/kernel'
make: *** Error 2 yes, u make install have such an error.
can u run make bzImage again and see if that is succ? 我又编译了一下,在那步make bzImage的那步和make install一样的结果:
make: *** Error 1
make: Leaving directory `/usr/src/linux-2.4.20/arch/i386/kernel'
make: *** Error 2
怎么样?有没有得救?我应该没缺什么呀 so u make bzImage already wrong.
try to post more error msg here, sth before this error.
or use rh .config. or use a vanilla kernel.
页:
[1]