LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel Panic after lilo update (https://www.linuxquestions.org/questions/slackware-14/kernel-panic-after-lilo-update-359873/)

aje 09-03-2005 01:22 PM

Kernel Panic after lilo update
 
Recently, I was dual booting slackware and win2k. To make a long story short, I got entirely fed up with win2k so I formatted the partition it was on, and continued to only use slackware. I then wanted to try to re-add win2k to my dual boot. I installed win2k and then booted from the slackware CD to update lilo. The first time I did this, lilo didn't change. I did something wrong somewhere, because I had the old lilo menu (that did not include win2k). I tried to update it again, this time manually editing lilo.conf. I installed lilo to the MBR and it seemed to work because next time I booted up, I was given a choice between win2k and slackware.


win2k boots fine from lilo, but when I try to boot slackware, it doesn't completely boot. I immediatley noticed that I wasn't using framebuffer support anymore. The text was large and ugly. Then I get to a kernel panic. The specific message I get is, "Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block (3,2)"

Has anyone seen something like this before? How can I correct this error?

samac 09-03-2005 01:30 PM

Did you remember to run /sbin/lilo (as root) after changing your /etc/lilo.conf ?

Samac

Zeistler 09-03-2005 01:31 PM

Go to the sourcecode directory of the kernel you are using and do a make menuconfig. Make sure that the filesystem where the kernel modules are stored is builtin, NOT a module. The filesystem where the modules are kept must be builtin or the kernel can't load them.

jailbait 09-03-2005 01:33 PM

removed incorrect answer

aje 09-03-2005 01:39 PM

I'm assuming I must use the install CD to do the make menuconfig. Should I chroot into the environment via "chroot /mnt/slackware /bin/bash" ?


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