|
1、小弟编译正确安装出现问题,
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 /usr/src/linux-2.6.0-test8/arch/i386/boot/install.sh 2.6.0-test8 arch/i386/boot/bzImage System.map ""
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.dep
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.generic_string
depmod: /lib/modules/2.6.0-test8/modules.ieee1394map is not an ELF file
depmod: /lib/modules/2.6.0-test8/modules.isapnpmap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.parportmap
depmod: /lib/modules/2.6.0-test8/modules.pcimap is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.6.0-test8/modules.pnpbiosmap
depmod: /lib/modules/2.6.0-test8/modules.usbmap is not an ELF file
2、起动时黑屏,但原来的2.4.20可正常工作。
3、grub.conf的内容如下,什么原因?
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,4)
# kernel /vmlinuz-version ro root=/dev/hda7
# initrd /initrd-version.img
#boot=/dev/hda
default=4
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Flag Linux (2.6.0-test8)
root (hd0,4)
kernel /vmlinuz-2.6.0-test8 ro root=/dev/hda7 vga=785 console=/dev/null CONSOLE=/dev/tty2 acpi=off
initrd /initrd-2.6.0-test8.img
title Red Flag Linux (2.4.20-8)
root (hd0,4)
kernel /vmlinuz-2.4.20-8 ro root=/dev/hda7 vga=785 console=/dev/null CONSOLE=/dev/tty2 acpi=off
initrd /initrd-2.4.20-8.img
title Red Flag Linux (Safe Mode)
root (hd0,4)
kernel /vmlinuz-2.4.20-8 root=/dev/hda7 acpi=off 4
initrd /initrd-2.4.20-8.img
title Red Flag Linux (Console Mode)
root (hd0,4)
kernel /vmlinuz-2.4.20-8 root=/dev/hda7 acpi=off 3
initrd /initrd-2.4.20-8.img
title Windows2000
rootnoverify (hd0,0)
chainloader +1 |
|