日期:2014-05-16  浏览次数:20622 次

我要疯掉了!我也不知道错在哪里?向大家求救,请帮帮忙!!谢谢,谢谢!
我现在的使用的是XP、LINUX   WS4(2.6.9-5),下了一个内核(2.6.22-RC3)准备升级,解压保存在/usr/src/kernel/里了。

运行命令如下:
#make   xconfig     (这里我只选了个CPU型号为P4和支持NTFS,其他都是默认没有改动)

#make   clean

#make   dep

#make   bzImage

#make   modules

#make   modules_install

#make   install

#reboot   后在Grub启动项里出现新升级的内核(2.6.22-RC3)运行之后如下:

Booting   'RedHat   EnterPrise   Liunx[WS.2.6.22-RC3] '
root   (hd0,2)
Filesystem   type   is   ext2fs.   partition   type   0x83
kernel     /vmlinuz-2.6.22-rc3   ro   root   =   /dev/VolGroup00/LogVol00   rhgb   quiet

[liunx_bzImage   ,   setup   =   0x1e00   ,   size   =   0x181d20]
initrd   /initrd-2.6.22-rc3.img
[linux_initrd@0x1f632000,0xed48e   bytes]

Uncompressing   Linux...Ok   ,   booting   the   kernel
RedHat   nash   version   4.1.18   starting
File   descriptor   3   left   open
Reading   all   physical   volumes.   This   may   take   a   while

/dev/hdd   :   open   failed   :   No   Medium   found
Found   volume   group   "VolGroup00 "   using   metadata   type   lvm2
File   descriptor   3   left   open
2   logical   volume(s)   in   volume   group   "VolGroup "   now   active
File   descriptor   3   left   open
Enforcing   mode   requested   but   no   policy   loaded   Halting   now

kernel   Panic     -not   syncing   :   Attempted   to   kill   init!

然后就没反应了!看意思好像是没找到磁盘,查资料上面太杂而且版本都是2.4的和这个也对不号,这个问题折腾我一上午了,请大家帮忙!谢谢,谢谢!

------解决方案--------------------
跟System.map无关。

改grub,禁用enforcing(enforcing=0)。
如:
kernel /vmlinuz-2.6.22-rc3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet enforcing=0