LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Booting halfway stop!!!! Kernel Panic, No init found!!!! (https://www.linuxquestions.org/questions/slackware-installation-40/booting-halfway-stop-kernel-panic-no-init-found-129499/)

ckamheng 12-28-2003 08:50 AM

Booting halfway stop!!!! Kernel Panic, No init found!!!!
 
I installed Slackware 9.1 from scratch. Everything was fine without any error during the installation
process.
Each time the PC starts, lilo boots, it seems ok.
But it will stop half way and prompted Kernel panic. No init found.

Below was the error message from the screen:

Freeing unused kernel memory, 116k freed.
Warning:unable to open an console.
Kernel panic. No init found. Try passing init=option to kernel.

Can any Slack guru please help me. urgent!
Thank you.

I make 3 partition ie, / (hda4), /boot(hda3), /swap(hda6).
I make it dual boot with Windows 2000(hda1)
My fdisk -l showed this:

Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 1305 10482381 7 HPFS/NTFS
/dev/hda2 1306 2626 10610932+ f W95 Ext'd (LBA)
/dev/hda3 * 2627 2657 249007+ 83 Linux
/dev/hda4 2658 3738 8683132+ 83 Linux
/dev/hda5 1306 2610 10482381 b W95 FAT32
/dev/hda6 2611 2626 128488+ 82 Linux swap

I installed lilo to the superbloack.
The content of my lilo.conf is :

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = Slack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = Windows2000
table = /dev/hda
# DOS bootable partition config ends

germanbird 12-28-2003 11:54 PM

Device files in /dev?
 
Boot up using your install disk and mount /dev/hda3 to /mnt. Then check to see if the device files are present in /mnt/dev. This folder should contain ~ 200 files. Look specifically for files named tty0, tty1, etc.

I had a similar error and it turned out that I had no devices in /dev.

Let me know what you find...


Edit: clarification

nebur 12-31-2003 04:29 PM

I had this problem too... and... well i found a solution on a gentoo manual... i'm not quite sure if it's ok to do this, but it worked for me and maybe works for you.

Just boot from the bootdisk that the installation generate and vi the lilo.conf file

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = Slack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
append="root=/dev/hda3 init=/linuxrc"
# Linux bootable partition config ends

as you can see i just added the append line and it worked for me... i hope it works for u. See ya!

Orgulloso miembro de "Colima Libre"


All times are GMT -5. The time now is 04:03 AM.