Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-04-2004, 08:41 PM   #1
Registered: Aug 2003
Distribution: Slackware, Ubuntu
Posts: 158

Rep: Reputation: 30
Kernel problems, please advise.

I just reinstalled Slackware 9.1, so I could get a clean start on learning kernel building (maybe not the best option, but to late now).
It started pretty badly to begin with. Lilo didn't install correctly from the main install (easily fixed). ALL the kernels give me the same problem:

Please append a correct "root=" boot option
Kernel panic: VFS : unable to mount foot fs on unknown-block(22,6)

This message is for all the 2.4.22 kernels that are on the Slackware disks for IDE drives , I didn't try any of the SCSI-based kernels.
I made a bootdisk and that kernel seems to load linux just fine.

I am starting to learn how to compile Linux 2.6.x . When I compile it and update lilo, that kernel starts to give me the same problem.

ALL major Linux fs types are compiled directly into the 2.6 kernel: e2fs , e3fs and reiserfs.

It doesn't look like a problem with LILO , because, it loads the kernel. The kernel just panics during boot up.

I might clean up my partition table, it looks like cfdisk placed little unformated partitions across the drive (< 3 MB)

If you need anything like fstab, lilo.conf or anything else. Please post and I will post that information ASAP. I just dont want to clog up the post with information that is not needed.

A Slacker
Old 02-04-2004, 08:46 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well i guess to start you can post your lilo.conf
and give us your partition layout ..
Old 02-04-2004, 08:50 PM   #3
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
the installation gives a choice what kernel to install. If you choose to install the kernel from floppy and insert the bootdisk it should work.
More details about what hardware you are using please, what IDE and or SCSI controller and disks are you using ?
Old 02-04-2004, 10:39 PM   #4
Registered: Aug 2003
Distribution: Slackware, Ubuntu
Posts: 158

Original Poster
Rep: Reputation: 30
How would I find out what IDE controllers I have? My hardware setup as far as I know is not that uncommon. A couple IDE CDROM drives a IDE HD and a floppy drive.

Here is my lilo.conf and fstab:

# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
boot = /dev/hdc
#compact # faster, but won't work on all systems.
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz.old // Slack kernel
root = /dev/hdc6
label = Slack.old
image =/boot/bzImage // Compiled 2.6 kernel
root = /dev/hdc6 // Both don't work
label = 2.6

# Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hdc1
label = WindowsME
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hdc
# DOS bootable partition config ends

/dev/hdc6 / ext3 defaults 1 1
/dev/hdc1 /mnt/win vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/hdb /mnt/burner iso9660 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

I know, I should have put the hard drive on the first IDE bus.

This might be just a bad hard drive layout.

But mainly if I can fix the "root=" problem than I should be fine.

A Slacker

Last edited by nny0000; 02-04-2004 at 10:44 PM.
Old 02-05-2004, 02:41 AM   #5
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,890

Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
Looks like you need to get rid of the 'append=' line. ide=scsi is usually used for cdrom drives
Old 02-06-2004, 02:18 AM   #6
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
I have 2 thoughts, neither of which may be helpful. First, I'll assume that the double slashes and everything to the right of them is a comment, and not actually in your lilo.conf file. If they are in your file, you should remove them and uses the # symbol to mark a comment.

Second, in your /boot directory, do you actually have the new kernel named as "bzImage"? I'd expect the new kernel to just be named "vmlinuz" Can you post the results of running: ls -l /boot

That may help analysis of this issue -- J.W.


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 upgrade error advise needed andy18 Linux - Newbie 14 08-27-2004 12:44 PM
I need some Kernel Advise mst700 Linux - Newbie 9 07-06-2004 04:32 PM
advise upgrade kernel? robertn Mandriva 8 05-01-2004 03:07 PM
The Kernel hates me. Please advise. pembo13 Linux - Software 21 09-24-2003 05:43 PM
Laptop kernel recompile, attempt #2. Guru advise needed please.. Pcghost Linux - General 3 04-10-2003 05:15 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:07 AM.

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