LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 12-10-2007, 07:18 AM   #1
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Question How to create new initrd.gz (or initrd.img) file?


hi
Everyone

I want to create a new initrd.gz file on fc6.
I tried using this link : http://www.faqs.org/docs/evms/x3834.html
but i am failed to create initrd.gz.
Can anyone tell me steps (or link) for creating initrd.gz file.


Thanks n Regards
KKPal
 
Old 12-10-2007, 09:08 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Open the fc 'mkinitrd' script in your favorite text editor and study how it is done. The method depends on what distro and version you are running and what the initrd is supposed to do. The mkinitrd script that comes with your distro is probably the best place to start understanding how to create a basic initrd file.
 
Old 12-10-2007, 09:38 AM   #3
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 38
On Fedora or RHEL:

Code:
# mkinitrd /boot/initrd$(uname -r).img $(uname -r)
If you want to have .gz:

Code:
# gzip /boot/initrd$(uname -r).img

Last edited by brianmcgee; 12-10-2007 at 09:39 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
How to create initrd.img when compiling 2.6.16.20 for i386 on AMD 64 or whatever penguin123 Linux - Kernel 4 10-21-2008 08:00 PM
how do I create an initrd.img file? aquaboot Debian 2 11-07-2007 06:40 PM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-02-2007 12:24 AM
this initrd.img file??? hungrigerhaifisch Linux - Kernel 2 03-31-2007 06:50 PM
Initrd-x.x.x-x.img File bas12547 Linux - Software 1 07-05-2003 08:47 AM


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