LinuxQuestions.org
Review your favorite Linux distribution.
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 02-26-2005, 01:33 PM   #1
chris318
Member
 
Registered: Feb 2005
Distribution: Slack
Posts: 122

Rep: Reputation: 18
initrd


I've built a 2.6.10 kernel and included "ram disk support and support for initial ram disk (initrd) support into the kernel", not as modules. Now when I make an initrd image with say "mkinitrd -c -k 2.6.10 -m fbcon:i810fb" and then put it in grub like:


title 2.6.10 custom
root (hd0,0)
kernel /boot/vmlinuz-2.6.10c root=/dev/hda1 ro
initrd /boot/initrd.gz

When it gets to the point of mounting my hda1 reiserfs it says something like: not syncing: VFS: fs could not be loaded on block (whatever).

The thing is I've built my ide and reiserfs into the kernel so I don't know what's up with that. By the way, I can boot the kernel without the initrd line in grub since ide and reiserfs is built into the kernel:

title 2.6.10 custom
root (hd0,0)
kernel /boot/vmlinuz-2.6.10c root=/dev/hda1 ro

Works fine. I'm scratching my head here.
 
Old 02-27-2005, 05:28 PM   #2
chris318
Member
 
Registered: Feb 2005
Distribution: Slack
Posts: 122

Original Poster
Rep: Reputation: 18
I solved my own problem. My hard drive is using Reiserfs so I made ext2 filesystem a module, but the initrd image is using an ext2 filesystem so I hade to compile the ext2 in the kernel as well.
 
  


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
what is initrd? PinRojas Linux - Newbie 2 06-16-2005 12:18 PM
Do I even need an initrd? chadman Linux - General 3 02-20-2005 10:53 PM
Initrd????? rm6990 Linux - Software 5 10-15-2004 04:32 AM
initrd tekbuz Debian 2 08-04-2004 01:34 PM
using initrd? e1000 Linux - General 4 02-19-2004 08:21 PM


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