Kernel Panic: could not find kernel image
Hi:
My 64-bit AMD desktop is in kernel panic mode. I tried using the Live Slackware DVD and at the prompt I typed: mount /dev/sda1 /mnt. The konsole than returned: Could not find kernel image. So I tried typing huge.s to see if it would boot the kernel. Do I have to complete a fresh installation of Slackware? The screen went to black and than displayed this message: |
mismatch kernel and glibc or missing file system modules to read disk.
you probably trying boot from older Slackware cd/dvd to boot later versions Slackware root disk. |
Here's some more details about the circumstances:
This desktop has 2 hard drives. The 500 GB HDD Western Digital is what I installed Slackware to over the summer. The new drive that I just installed last week is a Seagate 1 TB HDD and I installed Debian on it. The first installation of Debian failed. It would take me to a log-in, I'd log in the screen flashed black and took me directly back to log-in again. Due to the failure I re-installed Debian again and the second install worked properly. Before I installed Debian I edited the lilo.conf file with a argument letting LILO know about Debian: Code:
other = /dev/sdb I booted into Slackware yesterday and the video's would play for a minute but crash. After rebooting into Slackware I'm stuck in kernel panic mode. I put the Slackware DVD in the CDROM drive and shut down the tower. Once the Slackware DVD boots I don't know what to try at this point. |
Quote:
Can anything be done at this point or do I need to re-install? |
Quote:
Have you tried booting the system by following the onscreen instructions? Those that start with "In a pinch, you can boot your system from here..."? If you type huge.s root=/dev/sda1 rdinit= ro (note the space after rdinit=), the bootloader will load the "huge.s" kernel from the DVD, which in turn will try to mount /dev/sda1 as the root file system. If you installed Slackware to a partition other than /dev/sda1, modify the command line accordingly. |
Quote:
Live DVD is not same as installation DVD, if you arleady has live DVD then you already has a working slackware, you just need lsblk to see all disk, and then use mount command to chose disk to mount. |
Quote:
If I recall correctly it's kernel 3.10. but I don't remember the extension- I haven't booted the system by following the onscreen instructions because the on screen instructions take me directly into a fresh installation. Do you mean that there should not be a space after rdinit= it should look like this instead? Code:
huge.s root=/dev/sda1 rdinit=ro |
Quote:
Quote:
Code:
huge.s root=/dev/sda1 rdinit= ro |
Ok, thanks; Ser Olmy:-
At the bootloader prompt I'll type it the way you've posted it in code tags. Once it boots the installed Slackware os what should I do from there? (aside from looking in /var/log to find out what's going on) |
The error message says the kernel can't mount root, so you should check /etc/lilo.conf and make sure the root directive specifies the right partition. It looks like the current setting is /dev/sda2, actually.
If you make any changes to lilo.conf, remember to run lilo afterwards to apply the changes to the bootloader. |
Quote:
I'll post what I see in lilo.conf so you can see it, bb- |
Quote:
|
I tried to look at the /etc/lilo.conf at the boot prompt but that's not working.
After a few min's it appeared to boot the kernel image and now I'm being asked for info. on the keyboard- Code:
$ Enter 1 to select a keyboard map. |
Then you must have tried to run some sort of command from the boot prompt, which obviously didn't work. Eventually the default kernel booted with no options, leading you straight to the installer. That is not what you wanted.
This is what you need to do:
|
Quote:
After the kernel loads this is what I have: Code:
No filesystem could mount root tried: reiserts ext3 ext 2 ext4 vfat msdos iso96 60 ntfs romfs |
All times are GMT -5. The time now is 08:02 AM. |