LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2006, 01:57 PM   #1
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Rep: Reputation: 30
root file system support in 2.6.15


Hello!

Last time I recompiled kernel-2.6.15, I forgot to include the support for the root filesystem.
The only thing is that there is no such option as "root file system support". I have gone through all the options that I think may enable the root filesystem support, but I may have missed something out. Can anyone suggest which option may that be? Or, could it be something to do with the IDE support?

Thanks
 
Old 03-03-2006, 02:27 PM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
By "Root Filesystem Support" we mean to compile in support for whatever filesystem your root partition uses.

If you post the your /etc/fstab I can tell you what you need...
 
Old 03-03-2006, 03:08 PM   #3
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
Here is my /etc/fstab:

Quote:
/dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext2 defaults 1 1
/dev/hda2 /boot ext2 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto, owner, ro 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 have just recompiled my kernel again using Live cd and chroot command,
but it still comes back with the same message:

Quote:
VFS: Cannot open root device "303" or unknown-block(3,3)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount fs on unknown-block(3,3)
 
Old 03-03-2006, 03:41 PM   #4
IceChant
Member
 
Registered: Jan 2006
Location: Israel
Distribution: Windows Xp, Slackware
Posts: 316
Blog Entries: 3

Rep: Reputation: 30
Could be Initrd missing ? (just throwing idea).
 
Old 03-03-2006, 04:03 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You're using ext2 as your file system. In your .config file when configuring your kernel, did you select CONFIG_EXT2_FS=y - if it's CONFIG_EXT2_FS=m you'll need the initrd that IceChant mentions.
 
Old 03-03-2006, 05:29 PM   #6
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
I always try to compile kernel with an inbuilt support rather than modules.
In my .configfile I have CONFIG_EXT2_FS=y
 
Old 03-03-2006, 06:31 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It may be your IDE support then. I'm assuming that you're using IDE drives because of the hda stuff in /etc/fstab. What do you have for the following settings?
Code:
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
 
Old 03-04-2006, 07:14 AM   #8
hubabuba
Member
 
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193

Original Poster
Rep: Reputation: 30
cheers mate, CONFIG_BLK_DEV_IDEDISK option was not set. I've recompiled the kernel with this option set to 'y' and it worked!
 
Old 03-04-2006, 07:20 AM   #9
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Glad to hear it And thanks for not commenting on what South Africa did to Australia in the 2nd one day international
 
  


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
root file system vishalbutte Programming 3 02-20-2006 05:37 PM
Getting ACL support in file system? technician Slackware 1 04-08-2005 04:14 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM
Modifying kernel to support old ext file system mrogersii Linux - Hardware 1 12-09-2004 07:10 PM
NTFS file system support zokter Linux - General 7 10-20-2003 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration