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 |
That's normal when the kernel can't find a file system on the specified partition.
Have you actually installed any flavor of Linux on this system? |
Quote:
yesterday. I installed Debian on the 1 TB HDD last week.(dev/sdb1) |
You should read http://slackbook.org/html/index.html first and understand some basic concept of unix.
First all, how many hard disks you are planning to use, how is each disk partitioned? physical disk 1 from bios, usually called /dev/sda physical disk 2 from bios, usually called /dev/sdb your dvd player might be called /dev/sdc or /dev/cdrom partition1 on first disk; called /dev/sda1 partition2 on second disk called /dev/sdb2 Do you even know where is your old Slackware installed at? if you know, then mount it to /mnt, and find your way to lilo.conf file and then using vi editor find line says Code:
boot =/dev/sdX #change x to slackware hard disk. Code:
image = /boot/vmlinuz lilo -A /dev/sdx# <active the slackware partion lilo -M /dev/sdx mbr < update physical disk mbr record run plain lilo again just make sure every thing is in order, no errors. |
Quote:
It would be helpful to know the exact partition layout of your hard drives. Could you post the output from fdisk -l /dev/sda and fdisk -l /dev/sdb? Just boot from the Slackware DVD, select a language and press Enter at the login prompt. You will then find yourself at a command prompt from where you can run fdisk |
My Slackware filesystem is gone/hosed.
I booted w/o the Slackware DVD and typed F11 several times to boot to the 1 TB HDD. Debian is the first os in the Grub Menu and Slackware is the second choice. There is no sign of my 500 GB Toshiba HDD and the Slackware I installed on it- -::-I would like to know what happened to my Slackware os and what hosed it?-::- Code:
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. |
you can't have 2 OS on 2 different disk drive and both called /dev/sda1; when you add additional disk drive; driver letter changes and it might switch order.
never mind I misread your last comments about Slackware on /dev/sdb1 |
So you're saying that fdisk -l /dev/sda returns an error? And/or that there is no /dev/sda device node?
|
Quote:
Code:
unreliable CPU thermal sensor mointoring disabled Code:
det@debian:~$ fdisk -l/dev/sda1 |
Quote:
-:-I can't even see the 500 GB HDD from my Debian os under devices-:- |
issue the fdisk command as root in debian and what is the ouput of lspci
|
another thing is to check all cables to disk are seated correctly
|
there is space between -l and /dev/sda
you can use parted /dev/sda print to see partition table if you don't have fdisk/ and disk system using efi. |
Quote:
Quote:
|
Quote:
Code:
dt@debian:~$ sudo ls /dev/sda |
Quote:
Code:
dt@debian:~$ lspci |
Well, /dev/sda is clearly there, but fdisk doesn't seem able to access it.
The drive could very well be defective. Try: Code:
sudo smartctl -a /dev/sda |
Quote:
Code:
dt@debian:~$ sudo smartctl -a /dev/sda |
I guess you don't have smartmontools installed. You could apt-get install smartmontools or use a live distribution like System Rescue CD which has most of these tools included.
|
Quote:
I think I do have one- Code:
det@debian:~$ sudo apt-get install smartmontools |
Debian certainly has a smartmontools package available, so I don't know why apt-get can't find it.
|
run
Code:
sudo apt-get update |
I took a picture of Grub after I typed e for edit so you can see what I have.
|
Quote:
Code:
dt@debian:~$ sudo apt-get update |
what happens if you unplug the cable to the debian hard drive then try to boot the slackware drive, either directly or with the slackware dvd.
|
Quote:
--That would be my last thing on my list I would want to try-- I was very careful when I installed the new 1 TB HDD. I'm looking for the Rescue CD so I can see if the smartmontools are on the disk. |
Booting the 'System Rescue CD' I choose boot into a 64 bit Linux Graphical GUI with other choices.
What can I run for you in the Rescue Terminal in order for you to get the information you need to help me? @Ser Olmy: I downloaded the smartmontools from the link you posted; thanks. |
The Slackware partition's are there-
|
Quote:
Code:
det@debian:~$ sudo smartctl -a /dev/sda |
Quote:
|
Quote:
|
If in fact this drive is history I won't be able to install any distribution on it and the installer will fail.
I'll try to install Slackware again and see if it works. If not that I'll know (past experience) that the drive is done for- If the drive isn't done for than the only other thing I'm thinking is that; not being able to mount the /dev/sda2 partiton is because the kernel rolled over and died. Checking the cables is a good idea I'll look and see. I hate taking that case apart but it looks like the only other thing to try aside from seeing if a fresh install sticks. I hope the drive isn't history as I just purchased it 6 months ago. Would kernel panic cause a drive to go south? |
Quote:
As a final test, I would try the drive in another computer, just to discard hardware problems on the original system. |
I tried to install Slackware to the drive and no dice. After typing cfdisk to start partitioning I got:
Code:
FATAL ERROR:Cannot read disk drive Code:
Input/output Error (something about the drive, can't remember) -:- I don't think that HDD would fit in my Sony Vaio to try and see if it works.-:- |
Quote:
But with a USB hard disk enclosure, it would be possible. |
Quote:
I think you guys are right about the drive. I wiped the drive last night with Dariks Boot And Nook. And tried to install Slackware. It's not happening. The power supply plug is in the way to the 500 GB HDD. I played tug of war with the power supply for about 20 min's and can't get it. So...I'm going to have to wait for a friend of mine to take care of it and in the meantime I'll purchase an enclosure for it. I'll install Slackware alongside Mint maybe tomorrow- Can you recommend a zero fill application for drive that's giving me issue's? |
All times are GMT -5. The time now is 09:07 AM. |