LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-23-2005, 12:41 PM   #1
shanenin
Member
 
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 initrd.ing 2.6.8

or do I need to do

mkinitrd -o initrd.ing 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 12:52 PM.
 
Old 02-23-2005, 12:53 PM   #2
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
it really up to you.....you 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, 08:38 AM   #3
/bin/bash
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 08:41 AM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:41 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