[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Linux Kernel  |  Topic: Kernel Panic: VFS: Unable to mount root fs on unknown-block
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: Kernel Panic: VFS: Unable to mount root fs on unknown-block  (Read 2284 times)
0 Members and 1 Guest are viewing this topic.
Agent007
Linux Noob !
*
Offline Offline

Posts: 17


View Profile
« on: August 13, 2005, 06:57:00 AM »

I have installed Fedora Core 3 and installed all features. I have not found sources of kernel. I have downloaded the latest stable sources of kernel from www.kernel.org .
I have compiled it.

make mrproper
make xconfig (configuration was made)
make dep
Command “make dep” answered that this is not necessary.
make clean
make bzImage
make modules
make modules install

I have copied bzImage to /boot/vmlinuz
I have made chages in grub.conf
When I restarted I have got the following Error:
kernel panic - not syncing : VFS: unable to mount root FS on unknown-block (0, 0)



What I have noticed is that no initrd.img file was generated in compilation folder

I am not sure system.map is proper
What is for system.map and how it should be created or when it is created

EXTRAVERSION is not added to for the image and to any files

I think that problem is in it.

What do you think guys. Any body faced with this situation.

What for is initrd.img?

What for is bootspalsh. Can initrd.img be replace with bootsplash somehow?

Why Command “make dep” answered that this is not necessary?

Thanks in advance
Logged
xyz
New Member

Offline Offline

Posts: 2


View Profile
« Reply #1 on: June 11, 2007, 08:17:53 AM »

can you give your grub.conf file?
Logged
xyz
New Member

Offline Offline

Posts: 2


View Profile
« Reply #2 on: June 11, 2007, 08:21:03 AM »

initrd can be generated by

mkinitrd  <initrd file name > <Kernel version>
e.g
mkinitrd  initrd-TEST 2.6.10


for installing modules

make modules_install is necessary ...if you are bulilding cfs as module
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #3 on: June 13, 2007, 03:28:06 AM »

Hi,
Follow mentioned below steps from the scratch:

make mrproper
make oldconfig--------------------------------> This step is also necessary
make xconfig  -------> Be sure here to enable support for ext2 and ext3
make dep
make clean
make bzImage
make modules
make modules_install   -------> it should be make modules_install not make modules install
make install ------------------> This step is also necessary

After that reboot the system and then tell me.......about that..

Thanks
Gaurav
« Last Edit: June 13, 2007, 03:30:39 AM by gauravbajaj » Logged
dragoncity99
LST CareTaker
Experienced
*****
Offline Offline

Posts: 494


View Profile
« Reply #4 on: December 26, 2007, 02:02:21 AM »

Ah a common problem when compiling a new kernel for a fresh start. Used to happen to me too on Red Hat based distros Smiley

1. What for is initrd.img?
Initial ramdisk  file is a binary file consists of a small kernel modules that you want to load before switching into your real root partition (ramdisk here as it runs on ur RAM). Red Hat always do this with for their filesystems (biasly referring to ext3 most of the time). So you will need 2 load kernel module (ext3) before VFS can use it mount that partition.

What for is bootspalsh. Can initrd.img be replace with bootsplash somehow?
Bootsplash is a new toy in your linux where when you boot your linux, you dont see those kernel log messages showing hardware detection but a nice splash screen with cool pictures and progress bar.

Bootsplash project tis here. I used to re-compile the kernel to support bootsplash on slackware. Smiley
--> http://bootsplash.org/Welcome_to_the_graphical_world_of_Linux

Why Command “make dep” answered that this is not necessary?
Depends on which kernel version you compile. And when u run it.
1. I presume u r compiling a kernel 2.6.x

2. If not you have just recompiled and ran once "make dep". So if you do so again without any change to existing binaries, you will get this message.
« Last Edit: December 26, 2007, 02:11:56 AM by dragoncity99 » Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
USB Camera unable to mount in MDK9.2 Other Devices iainagray 5 3265 Last post September 20, 2004, 10:08:17 PM
by sashijoseph
Kernel Panic Linux Kernel sathish 4 3153 Last post January 06, 2005, 06:09:02 AM
by gauravbajaj
Kernel update not working - kernel panic Linux Kernel sathish 5 3456 Last post June 02, 2005, 04:44:33 AM
by vivek
Kernel Panic : Aiee Killing Interrupt Handler Linux Kernel apm79 0 1313 Last post August 29, 2005, 06:18:51 AM
by apm79
Kernel Panic Linux Kernel DexteII 5 1102 Last post September 28, 2006, 01:20:17 PM
by Ricky
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 07:47:20 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 12
Total: 12
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc