Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-23-2005, 11:41 AM   #1
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
mkinitrd what kernel version?

I was going to make a ram disk using the mkinitrd command. I am not sure about the kernel version info I need to include
here is my example
mkinitrd -o 2.6.8

or do I need to do

mkinitrd -o 2.6.8-0223

do I need to include my extraversion info(0223) from my kernel make file?

Last edited by shanenin; 02-23-2005 at 11:52 AM.
Old 02-23-2005, 11:53 AM   #2
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
it really up to can name it what you want as long as you have .img at the end of the name

just make sure when you copy it to /boot and edit /boot/grub/menu.lst file the name is exactly as you named it
Old 03-06-2005, 07:38 AM   #3
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
It's true that you can name the image anything you want to call it but the kernel version should match the module tree. Look in /lib/modules and if your module tree is 2.6.8-0223 then that is what you have to use in mkinitrd. The module tree should match the output of the command uname -r so that is another way you could check.

Last edited by /bin/bash; 03-06-2005 at 07:41 AM.


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
mkinitrd ? anti.corp Slackware 1 11-27-2005 01:51 PM
quick mkinitrd command help imagineaxion Mandriva 2 10-24-2004 02:13 AM
mkinitrd vmniza Linux - General 1 03-10-2004 02:05 AM
mkinitrd welsh2000836 Debian 2 08-31-2003 11:03 AM
mkinitrd DavidPhillips Linux - General 0 12-20-2001 12:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:15 PM.

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
Open Source Consulting | Domain Registration