LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-12-2005, 03:04 PM   #1
mangolicious
Member
 
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Rep: Reputation: 15
what is initramfs and how can I edit one?


I realize that initrd and initramfs are not the same thing. initramdisk(initrd) just a gzipped ext2 filesystem. They're easy to edit. Initramfs is similar in that it is also compressed using gzip but other than that it's completely different. So then the question is what is the difference, and how do I change/edit/customize one?
 
Old 03-14-2005, 12:54 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
try
http://lwn.net/Articles/14776/
 
Old 03-16-2005, 10:27 PM   #3
mangolicious
Member
 
Registered: Sep 2004
Location: Nowhere Special (if you don't get it, rent Blazing Saddles)
Distribution: Gentoo Linux
Posts: 63

Original Poster
Rep: Reputation: 15
Thanks, Simon Bridge, for that article. It really pointed me in the right direction. I figured out that to extract the contents of an initramfs you do the following:

Code:
# mount /boot
# mkdir /tmp/initramfs
# cd /tmp/initramfs
# gzip -dc /boot/*initramfs filename here* | cpio -i
that extracts the contents of /boot/*initramfs filename here* to /tmp/initramfs
 
  


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
waiting for checking for initramfs, SLOW boot Rocker Linux - General 1 09-25-2004 07:47 AM
edit plus enochemu Linux - Software 2 09-06-2004 06:37 AM
Trying to understand how a boot loader handles initrd/initramfs/ramdisk ... cyril Linux - Software 0 04-08-2004 05:10 AM
need to edit!!! scammeh^ Linux - Newbie 5 11-16-2003 07:27 AM
Which do I need to edit? Do-Ping Linux - Software 4 04-04-2003 01:34 PM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
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