红联Linux门户
Linux帮助

无法安装RedHat 9.0

发布时间:2008-02-19 00:23:43来源:红联作者:Mqqlecyro
家里的电脑装了RedHat9.0 启动之后就提示:

CPU:0

EIP:0060:[<010ab2c>] Not tainted

EFLAGS:00010002

EIP is at disable_irq[kernel]0x4c(2.4.20)

......

kernel panic: Attempted to kill init!

找了一下网上,精英PT800CE-A的主板,VIA的芯片组。确实有很多人有类似的问题。

过几天要学校去了,要不试一下把内核升级到2.60看一下哦。

以下摘自互联网。

Kernel panic - not syncing : Attempted to kill init!
我今天在升级RHEL AS4.0的内核时也遇到这个问题,郁闷啊!
然后在baidu搜了一下,发现有篇文章写到在grub里加入enforcing=0 即
kernel /boot/bzImage-2.6.5 ro root=/dev/hda5 enforcing=0
然后就启动起来了,也不知为什么会这样!

帮你找了个答案,事先声明不是我解决的帮你出个思路而已声明原版属于原作者!Heres a complete explanation. The issue here is with the boot files. You need to check three things here. Two for sure... they are /etc/fstab file and second is to check the label your boot partition.First start your Linux when you see the blue screen with options as Windows & Linux (case of dual boot). Press e to edit. Then you would be taken to a new screen with prolly three lines. Leave a space and then type single and press enter. Check the letter to boot the system. Should be b in most case. You are in now with single user mode.You should see something as bash... and not as regular root@localhost: prompt. Type fdisk -l and press enter.Check every partition using e2label command. That is if your fdisk -l lists /dev/hda1 & /dev/hda2 then type e2lable /dev/hda and enter to check its label. Check this for all the listed partitions. If you see one of the partitions as /boot then go to fstab file using the command....vi /etc/fstab and enter.Check if the same lable exists for the appropriate partitions.The issue here is not that complicated but you need to try things out. Always remember unlike Microsoft, reinstallation is not an option in case of Linux. Reinstallation is only done when we do not have any choice.Lets try this out and let me know the progress. Let time go and we will resolve this if possible :)Thanks & RegardsNilesh Shah (India)Nilesh.Shah Hello there.Souldmind, you could be somewhat right here... if the issue is still not resolved then try some other flavour of Linux and check. Redhat 9 has some incompatibility with few mobos.Rinish Nilesh.Shah is on the right track!!!Some celarence on that .....to go to single modeFirst start your Linux when you see the blue screen with options as Linux (Grub/Lilo) . Press 'e' to edit. here you will find a line that sayskernel /boot/vmlinuz-2.6.9-11.ELsmp ro root=LABEL=/here you have to make some changes (you have to replaceroot=LABEL=/ to root=/dev/hda1[or what ever partition] ) and add a '1' at the end of the lineedt is as follows:kernel /boot/vmlinuz-2.6.9-11.ELsmp ro root=/dev/hda1 1this will help you to bootmost probably this will lead you to a maintenance mode and may ask you for root password ( Guess you know that!!! )now if you see this maintance mode... make sure that you have to edit your /etc/fstab entries. to do that you have to do as Nilesh saidcheck e2label /dev/hda1e2label /dev/hda2e2label /dev/hda3e2label /dev/hda4so on .............if this doesnt work you still have an option to do a rescue boot using your instalation CD1here you proabably have to issue linux rescue while boot option 上面这篇文章的主旨就是进入grub后用e进入编辑界面,再用e2label命令检查各个分区的卷标看看/etc/fstab 在mount过程中有没有错误,如果有就手动修改。说实话grub无法编辑我还是第一次遇到。你的键盘是usb口的???如果是确认一下你的硬盘的usb legacy被选上!普通串口如果不是接口松动应该是可以编辑grub的在网上阅读与usb有关项目的时候发现在debain出有这么一段提示就是内核正常情况下会尝试安装 USB 模块以及 USB 键盘驱动来支持一些非标准的 USB 键盘。但是,有些不完整的 USB 系统会在驱动程序装入时死机。一个可能的解决方法是在 BIOS 设置内禁止你的 USB 控制器。或者在引导提示符处传递 debian-installer/probe/usb=false 参数,这将阻止装入此模块。估计对redhat的话也是有可能出现的,建议把这个命令改为redhat-installer/probe/usb=false试试,如果不行建议你换一个普通串口键盘再重新安装一次试试。再就是首先确定你的硬盘不是sata因为在redhat9.0默认是不支持sata的还有如果超频最好还是跳回原来的频率。上面都没有问题的时候我就只有最后一招了建议你可以试验一下将xp的C:盘用fat32格式再试一次。ntfs的格式对linux还是有些水土不服。再就是像文章里面说的这一版linux版本已经很老,可能某些usb键盘的驱动还很不完善,如果可能的话建议试验一下大陆的magiclinux。或者FC4最少这两个版本都是比较新的!

首先第一条,楼主所说的安装RedHat9.0的机器使用的是什么样的硬件,如主板芯片组,显卡等,因为这是分析问题的关键。由于RedHat9.0已经发现了几年了,有许多新的硬件它是不支持的,例如使用VIA8235/7芯片组的主板时,安装完RedHat9.0重启后就会出现如上所述的错误提示。解决方法是,重新下载新的Linux内核,只要是2.6的就行,下载回来后用安装盘引导进入单用户模式,编译此新内核即可。
文章评论

共有 1 条评论

  1. josephwu 于 2008-03-11 16:46:26发表:

    redhat 9太老了