LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 10-27-2006, 09:07 AM   #1
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Rep: Reputation: 15
kernel panic on startup


I can only boot slack 11 from the cd using;
huge26.s root=/dev/sda2 noinitrd ro

then everything works fine. when I try to boot from lilo, i get;

kernel panic - not syncing VFS
UFS cant open root dev "802" or unknown block(8,2)
append correct "root=" boot option

I am running 2.6.17.13

what should I do? This is a fresh install, I can start over if I have too.
 
Old 10-27-2006, 10:11 AM   #2
oliv
LQ Newbie
 
Registered: Oct 2006
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by tim1348
I can only boot slack 11 from the cd using;
huge26.s root=/dev/sda2 noinitrd ro

then everything works fine. when I try to boot from lilo, i get;

kernel panic - not syncing VFS
UFS cant open root dev "802" or unknown block(8,2)
append correct "root=" boot option

I am running 2.6.17.13

what should I do? This is a fresh install, I can start over if I have too.
What is your /etc/lilo.conf? Are you trying to boot with the huge2.6s kernel? have you given the right root option in lilo? Have you installed the huge2.6 kernel? (to have a running system you have also to install the kernel modules packages but not the kernel headers: keep the headers of the 2.4 kernel, installed by default). If you want to boot with another kenel in the 2.6 series than the huge2.6 one, you will have to make an initrd (see /boot/README.inird).
 
Old 10-27-2006, 12:58 PM   #3
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Original Poster
Rep: Reputation: 15
Here is my lilo;
boot = /dev/sda
image = /boot/vmlinuz
root = /dev/sda2
label = linux
read-only

I installed the 2.6 kernel from the 2nd cd from the 'extra' directory, but I left the old 2.4 headers alone. I also installed the 2.6 modules as well. The huge26.s kernel was installed during setup.

Other than having to boot from the cd, the system runs great. I have it on a wireless network, can cruise the internet, installed afterstep, have sound, etc etc.

Am I supposed to append anything?
 
Old 10-27-2006, 01:43 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,203
Blog Entries: 3

Rep: Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430
Quote:
Originally Posted by tim1348
Here is my lilo;
boot = /dev/sda
image = /boot/vmlinuz
root = /dev/sda2
label = linux
read-only

I installed the 2.6 kernel from the 2nd cd from the 'extra' directory, but I left the old 2.4 headers alone. I also installed the 2.6 modules as well. The huge26.s kernel was installed during setup.

Other than having to boot from the cd, the system runs great. I have it on a wireless network, can cruise the internet, installed afterstep, have sound, etc etc.

Am I supposed to append anything?
Hi,

I hope that is only the stanza for the 'linux' you added for the 2.6. You should 'man lilo.conf' to get a understanding about lilo. If it is then you need to read the '/boot/README.initrd'. I am assuming that your error is VFS error, which means the filesystem support is not available. The initrd would be an easy way to get your system up and running.

Another suggestion would be to get some background information from one of the online reference in my sig.
 
Old 10-28-2006, 09:04 AM   #5
tim1348
Member
 
Registered: Oct 2006
Distribution: Slackware 11
Posts: 46

Original Poster
Rep: Reputation: 15
Ok, thanx, got it. I ran mkinitrd and reconfigured lilo. Now this rig boots like it should. Thanks for the help,

Tim
 
Old 11-06-2006, 02:44 PM   #6
daemonatheart
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
err, im not understanding the steps above, im still getting the kernel panic

VSF: cannot load root device "801" or 8:01

slackware 11
2.4 kernel

trying to boot with an USB External HDD
/dev/sda1
i cant boot through either the boot cd or lilo
tried running it with sata.i and scsi.s kernels...no go
also everytime i run the bootdisk to check thing's i have to use "cfdisk /dev/sda" just to see the hard drive to mount drive again...(not sure if this is normal :/ )

Last edited by daemonatheart; 11-06-2006 at 11:46 PM.
 
Old 11-08-2006, 07:28 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,203
Blog Entries: 3

Rep: Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430Reputation: 1430
Quote:
Originally Posted by daemonatheart
err, im not understanding the steps above, im still getting the kernel panic

VSF: cannot load root device "801" or 8:01

slackware 11
2.4 kernel

trying to boot with an USB External HDD
/dev/sda1
i cant boot through either the boot cd or lilo
tried running it with sata.i and scsi.s kernels...no go
also everytime i run the bootdisk to check thing's i have to use "cfdisk /dev/sda" just to see the hard drive to mount drive again...(not sure if this is normal :/ )
Hi,

First, you should start a new thread instead of hi-jacking a solved thread. You will get more response!

Read the /boot/README.initrd to get the idea of the initrd.
Also a search on LQ will get you several solved posts. A good one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
Kernel panic after startup Deffe Linux - General 3 10-06-2002 09:09 AM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration