LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-31-2004, 09:55 AM   #1
Jango
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
Unhappy Error: Cannot open root device


Hi,
I just compiled 2.4.6 kernel. The first time everything went ok, the second time, I wanted to remove something and correct a problem (sound and usb) and while rebooting I got this error

VFS: Cannot open root device "302" or unknown block (3,2)
Please append a correct "root=" boot option
Kernel panic: VFS : unable to mount root FS on unknoiwn block (3,2)

Let me say I compiled ext3 (my file systes) not as module, static.
The other kernel image on the laptop is working with no booting problem...

This is my grub file:

Code:
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Linux (This image is OK and working:))
title GNU/Linux-Deb
root (hd0,1)
kernel /vmlinuz root=/dev/hda2
initrd /initrd.img

#My compiled version non working :(
title GNU/Linux-2.6.4(My)
root (hd0,1)
kernel /vmlinuz-tzu root=/dev/hda2

# For booting Windows NT or Windows95
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos
Any suggestion, ideas how to compile the kernel in a different way?
 
Old 03-31-2004, 11:09 AM   #2
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Which kernel is not booting? You have a 2.6.4 in lilo and said you just compiled 2.4.6, just want to clarify?

Maybe check your ide settings in the kernel. I made some things modules that should have really been static and had the same problem.

Here is a snip of my .config showing IDE settings.

cat /usr/src/linux/.config | grep IDE

# CONFIG_PARIDE is not set
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
# Please see Documentation/ide.txt for help/info on IDE drives
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
# IDE chipset support/bugfixes
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_VIDEO_DEV is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_TRIDENT is not set
# CONFIG_SND_TRIDENT is not set
 
  


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
VFS: Cannot open root device error pandorazbox Slackware 9 03-31-2008 08:00 PM
VFS: Cannot open root device muerte42200 Linux - Newbie 6 01-21-2005 04:43 AM
VFS: Cannot open root device 08:01 rddreamz Red Hat 0 05-09-2004 11:40 AM
VFS: Cannot open root device Mamour Linux - Software 8 04-20-2004 02:21 PM
Cannot open root device r2bit Linux - Software 1 01-08-2004 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration