Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-03-2006, 01:57 PM
|
#1
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Rep:
|
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
|
|
|
03-03-2006, 02:27 PM
|
#2
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
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...
|
|
|
03-03-2006, 03:08 PM
|
#3
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Original Poster
Rep:
|
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)
|
|
|
|
03-03-2006, 03:41 PM
|
#4
|
Member
Registered: Jan 2006
Location: Israel
Distribution: Windows Xp, Slackware
Posts: 316
Rep:
|
Could be Initrd missing ? (just throwing idea).
|
|
|
03-03-2006, 04:03 PM
|
#5
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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.
|
|
|
03-03-2006, 05:29 PM
|
#6
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Original Poster
Rep:
|
I always try to compile kernel with an inbuilt support rather than modules.
In my .configfile I have CONFIG_EXT2_FS=y
|
|
|
03-03-2006, 06:31 PM
|
#7
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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
|
|
|
03-04-2006, 07:14 AM
|
#8
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Original Poster
Rep:
|
cheers mate, CONFIG_BLK_DEV_IDEDISK option was not set. I've recompiled the kernel with this option set to 'y' and it worked!
|
|
|
03-04-2006, 07:20 AM
|
#9
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
Glad to hear it  And thanks for not commenting on what South Africa did to Australia in the 2nd one day international 
|
|
|
All times are GMT -5. The time now is 06:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|