Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-29-2006, 05:28 AM   #1
Registered: Apr 2005
Location: India
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
mounting the initrd image


how can i mount the initrd image... i have read on the internet that we can actually mount the initrd image and see the file inside it ... i am able to successfully mount the image but i dont see files in it.

mount -t ramfs -o loop initrd.img

any suggestions wud be helpful.

Thanks in Advance.
Old 09-29-2006, 06:16 AM   #2
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
there are many types of initrd. if your image a cpio.gz type of archive you can extract the files inside using:

# zcat initrd.img | while cpio -i; do :; done

i don't know how to do it with other image types.


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
Make new initrd image qewldude Fedora - Installation 3 02-15-2008 10:56 AM
Maximum size of initrd image ?? PeteRossi Slackware 5 03-26-2007 10:30 AM
changing contents of initrd image kushalkoolwal Debian 4 08-10-2006 10:05 PM
loading modules with an Initrd image? komuthan Slackware 4 12-07-2005 01:17 AM
What's initrd image? Nerox Linux - Newbie 2 08-25-2004 05:53 PM

All times are GMT -5. The time now is 02:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration