LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2005, 11:22 AM   #1
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Rep: Reputation: 30
Compiling FC3 Kernel


Hope someone can help me out here.
I've have compiled the FC3 kernel with the standard config but I keep getting this error when trying to boot. I'm sure that all the correct filesystems are included in the kernel config.

Code:
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (253,1)
In my grub.conf my rpm based kernel entry looks like this

Code:
title Fedora Core (2.6.11-1.27_FC3)
        root (hd0,2)
        kernel /vmlinuz-2.6.11-1.27_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.11-1.27_FC3.img
I'm just wondering what the
Code:
initrd /initrd-2.6.11-1.27_FC3.img
is, do I need to create one of these initrd files for my compiled kernel to make it boot correctly?

Paddy
 
Old 06-30-2005, 11:38 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Happens if you have not compiled your file system into the kernel. You can either recompile your kernel with file-system support built-in or you can just make initrd image using mkinitrd command. Search google for making initrd image on a fedora core system. I'm not at my machine so can't help you with exact commands.

Tux,
 
Old 06-30-2005, 06:41 PM   #3
paddyjoy
Member
 
Registered: Apr 2005
Location: Sydney
Distribution: FC5
Posts: 174

Original Poster
Rep: Reputation: 30
thanks for the help.

Paddy
 
  


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
FC3:Sound stopped working in all installed kernels after compiling 2.6.13-ck2 kernel whencat Linux - Software 1 09-09-2005 04:22 AM
DISCUSSION: DMA with FC3 on a GA-8TRS350MT motherboard with a custom 2.6.12 kernel - FC3 DVD playbac rylan76 LinuxAnswers Discussion 0 08-21-2005 06:18 PM
Error compiling PearPC under Mandrake 10.1 and FC3 mickyg Linux - Software 4 03-07-2005 06:27 PM
compiling kernel on FC3 AlekB Fedora 3 12-27-2004 05:32 PM
Compiling 2.4.20 kernel on FC3 zWaR Fedora 0 11-21-2004 04:11 PM


All times are GMT -5. The time now is 06:09 PM.

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