|
各位大虾,小弟在Fedora Core 2 上编译kernel-2.6.6后,出现不能启动kernel的问题。
---------------------------------------------------------------
Booting 'Fedora Core(2.6.6)'
rood(hd0.1)
filesystem type is ext2fs,partition type 0x83
kernel /boot/vmlinuz-2.6.6 ro root=LABEL=/ rhgb quiet
[Linux-bzImage,setup=0x1400,size=0x1a725b]
initrd /boot/initrd-2.6.6.img
[Linux-initrd @ 0xffc3000,0x1c451 bytes]
Uncompressing Linux...OK,booting the kernel.
audit(1087133450.855:0):initialized
然后就死掉了。
---------------------------------------------------------------
亟盼各位大gg、大jj解救。
我的硬盘是windows XP和Fedora Core 2 共用,其中FC2使用两个区/dev/hda2(挂载/,ext3)、/dev/hda3(swap),如下所示:
---------------------------------------------------------------
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 783 6289416 7 HPFS/NTFS
/dev/hda2 784 2872 16779892+ 83 Linux
/dev/hda3 2873 2937 522112+ 82 Linux swap
/dev/hda4 2938 10011 56821905 f W95 Ext'd (LBA)
/dev/hda5 2938 3198 2096451 7 HPFS/NTFS
/dev/hda6 3199 5287 16779861 7 HPFS/NTFS
/dev/hda7 5288 9750 35849016 7 HPFS/NTFS
/dev/hda8 9751 10011 2096451 b W95 FAT32
---------------------------------------------------------------
FC2是全新完全安装的,重装了n次,搞了三天了,5555555555555555……
[root@Home root]# uname --all
Linux Home 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 athlon i386 GNU/Linux
cup AMD Athlon XP 2200+
---------------------------------------------------------------
使用grub引导。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,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.6)
root (hd0,1)
kernel /boot/vmlinuz-2.6.6 ro root=LABEL=/(改为root=/dev/hda2也没用!) rhgb quiet
initrd /boot/initrd-2.6.6.img
title Fedora Core 2 (2.6.5-1.35
root (hd0,1)
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.5-1.358.img
title Windows XP Profressional
rootnoverify (hd0,0)
chainloader +1
---------------------------------------------------------------
原kernel-2.6.5-1.358就一点问题都没有。盼大虾打救……
编译操作如下:
make mrproper
make gconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install
bzImage也都copy到/boot 和 /boot/grub 了。 |
|