安装完了启动不了kernal panic: attempted to kill init解决办法

我最近安装一台机器,出现同样的情况,我的主板是: ASUS P5VD1-X Series, 附带的驱动光盘里带有打过补钉的kernel: vmlinuz-2.4.20-8-ide, 替换后正常. 具体做法如下:

分区情况:

/dev/hda1 NTFS
/dev/hda2 /boot
/dev/hda3 /
/dev/hda4 swap

解决方法:

The package provides an IDE patched kernel to avoid this problem happens again.

First, copy the patched kernel (vmlinuz-2.4.20-8-ide) into floppy disk. Then, select
one of the cases applies to your situation below.

(a) Clean install the Red Hat Linux 9.0.
Before exiting the installation of Red Hat Linux 9.0, press <Ctrl>+<Alt>+<F2> to
enter console mode. Then, skip the case (b) to proceed.

(b) Use the kernel in existing Red Hat Linux 9.0 system.
Make sure the first boot device is CD-ROM in your system BIOS, then put the
installation CD 1 into CD-ROM. When booting the installation CD, type the
following command when the “boot:” message appears on the screen.
linux rescue
Then follow the instructions, and select the partition that the existing Red Hat
Linux 9.0 is located in the “System to Rescue” window. Then it will enter the
console mode after a while.

After entering the console mode, run the following commands.
# cd /mnt/sysimage
# mount /dev/fd0 mnt/
# cp mnt/vmlinuz-2.4.20-8-ide boot/
# vi boot/grub/menu.lst
Add the following lines into /mnt/sysimage/boot/grub/menu.lst file.
title Red Hat Linux (2.4.20-8) IDE-patched
root (hd0,1)
kernel /vmlinuz-2.4.20-8-ide ro root=LABEL=/
initrd /initrd-2.4.20-8.img
Then, reboot system then enter the “Red Hat Linux (2.4.20-8) IDE-patched” kernel.

注:没有软驱的可以配置IP地址,然后用FTP传送vmlinuz-2.4.20-8-ide.

你可能感兴趣的:(问题,启动,休闲,panic,kernal)