LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 11-23-2009, 03:36 AM   #1
kamalsivadas
LQ Newbie
 
Registered: Apr 2009
Distribution: slackware
Posts: 10

Rep: Reputation: 0
kernel not mounting file system when compiled


Hi,
I am trying to compile kernel 2.6.30.2 on slackware 13. Everything went fine. Finally when I tried to boot from new kernel I am getting error message like 'kernel panic: VFS: unable to mount root fs on hda1'. My /etc/lilo.conf is like this:
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
image = /boot/bzImage-2.6.30.2
root = /dev/hda1
label = Linux-test
read-only
My first os is booting correctly. I have compiled second one with ext3 support and my file system is ext3. Then I created initrd for ext3 and added in /etc/lilo.conf. Now its booting. But its not showing files in /dev/hda1. Can any one tell where I am going wrong.
 
Old 11-23-2009, 03:42 AM   #2
vishesh
Member
 
Registered: Feb 2008
Location: india
Distribution: Fedora,RHEL,Ubuntu
Posts: 413

Rep: Reputation: 48
Can you output of dmesg command.

Thanks
 
Old 11-23-2009, 10:42 AM   #3
kamalsivadas
LQ Newbie
 
Registered: Apr 2009
Distribution: slackware
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your replay. My problem is I cant save output of dmesg(in compiled kernel) since I am working on ram fs(initrd). I have no way to mount persistent fs. But by seeing dmesg output I can tell you that my kernel is not switching back to /dev/hda1 from initrd.
Please tell me why it is happening like this.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie: which file allow me to review my new setting, after kernel has compiled? sirpelidor Linux - Newbie 2 12-30-2006 11:52 PM
Which compiled kernel has been used to boot system? aliamiri Linux - General 2 05-02-2006 10:17 AM
Mounting file system in a file with mount Denes Programming 6 11-11-2005 12:04 PM
help Compiled kernel destroyed system-config-packages database bvknapp Fedora 1 03-03-2005 11:06 AM
mounting a binary file thats not on any file system!?!!? aXoneX Linux - General 7 10-26-2004 02:21 AM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration