LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel Panic @ Dell 510M Laptop (https://www.linuxquestions.org/questions/slackware-14/kernel-panic-%40-dell-510m-laptop-270778/)

dezza 12-27-2004 09:50 AM

Kernel Panic @ Dell 510M Laptop
 
I've now reinstalled Slackware 3 times on my Dell 510M laptop.

This is my lilo.conf it looks fine to me, and it's accepted by lilo, although everytime i boot i get "kernel panic, no init found, try passing init= to kernel option blah blah ..."

What is this? I tried Slack on my laptop before, and it worked flawlessly :/ .. i tried both bare.i and the bare.acpi kernel ..

LILO.CONF
Code:

boot = /dev/hda
prompt
timeout = 300
default=windows

image = /boot/vmlinuz
  root = /dev/hda2
  label = Slackware
  read-only
 
other = /dev/hda1
  label = windows
  table = /dev/hda


kilgoretrout 12-27-2004 10:16 AM

You get that error message when linux can't find and mount the root partition in read/write mode. Check your /etc/fstab and make sure your root is hda2 for starters. I assume you have some way to access your slack partition since you posted your lilo.conf(a linux livecd like knoppix?). Also double check how linux sees your partitions by running as root:

# fdisk -l

that will list all recognized partitions. If you created extended/logical partitions for your slack install the first partition will be hda5, not hda2. Also, on my dell laptop(5160) my hard drive is hdc, not hda. I want to make sure this is not your problem.

dezza 12-27-2004 11:09 AM

hda2 IS my boot partition ..

There's hda1 = Windows XP
Then there's hda2 = boot (kernel)
hda3 = swap
hda4 = /

I have a workstation running Gentoo also ..

kilgoretrout 12-27-2004 03:56 PM

Have you tried passing any kernel parameters at boot? Hit the Esc key as soon as you see the lilo boot selection screen to get to a boot prompt. Typical ones to try are:

Slackware noapic nolapic acpi=off

You will also get that message when the kernel image, vmlinuz, doesn't have the modules for the filesystem used on your /boot or root partition. That shouldn't be a problem unless you have some exotic filesystem. The filesystem on /boot might also be corrupted which also gives that error message.

egag 12-27-2004 04:04 PM

--------------
hda2 IS my boot partition ..

There's hda1 = Windows XP
Then there's hda2 = boot (kernel)
hda3 = swap
hda4 = /

I have a workstation running Gentoo also ..
--------------

if this is true...... then

------------
image = /boot/vmlinuz
root = /dev/hda2
label = Slackware
read-only
--------------

this is wrong.

according to your info ond the disk partitions, /dev/hda4 is your root-partition.
( so it should be " root=/dev/hda4 " )

change it ; run "lilo" and all should be fine....

egag


All times are GMT -5. The time now is 02:04 PM.