Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-26-2004, 03:40 PM   #1
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
mkinitrd kernel-related question

This is sort of a strange question and I guess I just wanted a little more clarification on it...

I have been using Slackware now for a while and have gone through several successful kernel builds using the great posts in the Slackware forum to help me out. I was assisting a co-worker today in updating the kernel on a SuSE 8.2 box from the 2.4.20 (SuSEfied) kernel to the latest stable, 2.4.25. We went through the process as it is documented here in the Slack section and all went well. I modded the GRUB settings so that I created a new entry and pointed to the correct vmlinuz version.

We then rebooted and that's when the fun started. When I selected the new kernel, things started scrolling by like normal and then suddenly the process stopped with the line "Kernel Panic: VFS: could not mount root fs on 03:06" (or something to that degree). After doing a little research on the web, I found a post on linuxforums where it was suggested that the "initrd" file is specific to the kernel image and that a new kernel image would need a new initrd by use of "mkinitrd". So, I tried it out, altered my GRUB configuration to point to the new initrd file and VOILA! I had a successfully booting 2.4.25 kernel.

So, now to my questions:

1) Is the use of "mkinitrd" SuSE specific?

2) When I build kernels in Slack, does a new initrd automagically get created in the process?

Thanks for any help.
Old 03-26-2004, 11:14 PM   #2
Crazy Travis
Registered: Feb 2004
Location: Knoxville TN
Distribution: gentoo
Posts: 104

Rep: Reputation: 15
I think know fedora likes mkinitrd and I suspect redhat 9 does to. I never had to do anything with the initrd on slack except for the bootsplash which doesn't involve mkinitrd


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
Can't mkinitrd for Kernel (when compiling) LordOfer Linux - Newbie 3 04-02-2005 11:20 AM
kernel 2.6.6 mkinitrd problem ziox Linux - Software 0 07-13-2004 07:48 PM
mkinitrd problems (compiling new kernel) qsir1 Linux - Software 5 03-01-2004 09:40 AM
module related question when compiling kernel taoweijia Linux - Newbie 1 02-10-2004 04:31 PM
mkinitrd doesnt exist in slackware? Newbie kernel compile question! nmoog Slackware 3 01-08-2004 06:22 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration