Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Slackware Linux Help
Reload this Page VFS: Cannot open root device "301" or unknown-block(3,1)
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Slackware Linux Help For help and Discussion about Slackware linux

Reply
 
Thread Tools Display Modes
Old 02-26-2008   #1 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 2
VFS: Cannot open root device "301" or unknown-block(3,1)

Hi, I just installed the latest stable kernel (2.6.24.2) mainly for its VM support and sound (got a new motherboard, M2N32, and the sound doesn't work now). My main partition is ext2fs and I have definitely compiled ext2 support into my kernel, but every time I boot off of it, I get:

VFS: Cannot open root device "301" or unknown-block(3,1)
Please append a correct "root=" boot option; here are the available partitions:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)

It looks like it can't read the file system, but I've got ext2 and the drivers are there. I've never run into this installing a new kernel before, and I'm just upgrading from 2.6.21.4. Some of the normal configuration options in the kernel I noticed that were extremely standard (and usually automatically selected for inclusion) were NOT included by default in this new kernel config. That makes me wonder if I've missed something, but I've been through the menu almost 10 times now. I have all the IDE and ext2fs support as well as any extras that may remotely be causing this error, but alas, no luck.

Also, I've heard about using an initrd, but that seems to be for loading modules at boot and since I have support compiled into the kernel, I'm guessing I don't need it.

Any ideas would be warmly welcome.
haha326 is offline   Reply With Quote
Old 02-26-2008   #2 (permalink)
Just Joined!
 
Join Date: Feb 2008
Posts: 1
IDE/ATA2 support to sort 301 error

I had exactly the same problem trying to install the vanilla 2.6.24.2 kernel onto an old Slackware 10 box.

The initrd bit is a complete red-herring (although some people do suggest it is the fix). Initrd is only of use if you need to load modules vital to the system boot e.g. if you have the root file system driver compiled as a module. Which neither of us has done.

The problem is actually that the 2.6.24.2 vanilla kernel does not include the IDE/ATA2 disk support option by default, it's just blank, the assumption must be that everyone is using SCSI or SATA (which "looks" like SCSI) nowadays. Recompile your kernel and make sure the IDE/ATA2 option (found in device drivers->ATA/ATAPI/MFM/RLL Support) is included in your kernel build. That along with the (root) filesystem driver compiled into the kernel should get you sorted.

One other thing I included in my 2.6.24.2 build (don't think it is necessary) was support for PCBIOS (MSDOS Partition tables) under the Advanced Partition Selection (in Partition Types).

Good luck.
monsgrapius is offline   Reply With Quote
Old 04-25-2008   #3 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 1
Talking

Quote:
Originally Posted by monsgrapius View Post
One other thing I included in my 2.6.24.2 build (don't think it is necessary) was support for PCBIOS (MSDOS Partition tables) under the Advanced Partition Selection (in Partition Types).

Good luck.
I had the exact same problem and this really helped me out. I had forgotten to enable it, and I couldn't figure out what was wrong. Once I enabled it everything went smoothly =)

Thank you very much for the tip!
feinoM is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
SLES 10/OES 2 Problem irishlep84 Servers 5 02-04-2008 03:36 PM
Help auto mounting cdrom in GNOME valerij Debian Linux Help 3 12-28-2007 05:12 PM
boot dir. is full jolan Redhat / Fedora Linux Help 6 10-07-2007 01:36 PM
http server raghupal Redhat / Fedora Linux Help 2 11-30-2006 10:48 AM
All ptys in use h4cks4w Mandriva Linux Help 3 02-22-2005 05:15 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 10:33 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0