[SOLVED] Kernel Panic: could not find kernel image
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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
lablel = debian
I didn't have sound at the first boot of Debian nor at all the other previous boots either.
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.
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.
That's not the Linux console, it's the bootloader prompt. You can specify the name of one of the kernel images on the DVD and various parameters, but you cannot run commands.
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.
The Live Slackware DVD I'm booting with is Slackware 14.1-
Can anything be done at this point or do I need to re-install?
Maybe your disk has older version Slackware, it is best and easy just reinstall with new Slackware.
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.
That's not the Linux console, it's the bootloader prompt. You can specify the name of one of the kernel images on the DVD and various parameters, but you cannot run commands.
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.
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?
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.
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.
Booting the Live Slackware DVD now....
I'll post what I see in lilo.conf so you can see it, bb-
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-
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:
Boot from the DVD
At the boot prompt, type huge.s root=/dev/sda1 rdinit= ro and press Enter
Wait as the kernel loads and the system boots
Log in and troubleshoot the boot issue
If step 3 doesn't get you to the login prompt, try specifying /dev/sda2 as the root file system. If it still doesn't work, make a note of any error messages and return here.
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:
Boot from the DVD
At the boot prompt, type huge.s root=/dev/sda1 rdinit= ro and press Enter
Wait as the kernel loads and the system boots
Log in and troubleshoot the boot issue
If step 3 doesn't get you to the login prompt, try specifying /dev/sda2 as the root file system. If it still doesn't work, make a note of any error messages and return here.
I tried steps 1-3 and never make it to log in. I also tried /dev/sda2 as well--
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
udf jfs sfs ocfs2 btrfs
Kernel panic-not syncing: vfs Unable to mount root fs on unknown-block (8,1)
Call Trace
dum_stack +0x9d/0x1b
panic +0xc2/0x1ba
mount_block_root+0x2aa/0x2bg
Mount_root+0x9d/0xa0
prepare_namespac+0x16c/0x1a4
kernel_init_freeable+0x1d1/0x1df
? do_early_param+0x88/0x88
? rest_init+0x80/0x80
ret_from_fork+0x7c/0xbo
? rest_init+0x80/0x80
The prompt is flashing as well as the lights on the keyboard and the keyboard is temporarily not working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.