LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
mounting the initrd image


Hey...

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, 05:16 AM   #2
konsolebox
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:09 AM.

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