Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-02-2008, 10:31 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Question help mounting/extracting my initrd

I have been tinkering with a gentoo*-based mini distro. I updated the kernel and made some customizations but I have been totally unable to mount/extract the inital ramdisk (from /boot/initrd.img). I honestly don't know if this file is old style (mounted block device) or new style (gzipped cpio). I tried every method I could find and I was unable to mount or extract this initrd image!

If you're able to extract or mount this image, please let me know how you did it, so I can give it a try here! Also, let me know how to un-do it, that is how to reassemble the image so I can put it back into service.

Thank you in advance!!!

* I posted this same question to the Gentoo forums, but since this is more of a generic linux question (being about initrd) I figured it was worth a try asking here too, especially since this has been such a stumper for me!
Old 04-02-2008, 10:32 PM   #2
LQ Newbie
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I forgot to post the download URL! Here is the link to my initrd that I am currently unable to mount/extract (even though it works just fine!!)
Old 04-03-2008, 12:18 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The file command doesn't recognize the file. Read through the mkinitrd program to find out how it was produced.
Old 04-03-2008, 09:41 AM   #4
LQ Newbie
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
It was supposedly created using standard gentoo tools. It works just fine, I'm just not able to actually extract or mount it! I'm totally baffled by why I can't get in!


help, initrd

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 new initrd.gz (or initrd.img) file? kkpal Programming 2 12-10-2007 08:38 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
mounting the initrd image d0tc0mguy Linux - Newbie 1 09-29-2006 05:16 AM
trouble loopback mounting initrd.img -pls help metagroboliser Fedora 3 04-23-2006 07:15 PM
Mounting boot/initrd.img Law1213 Linux - Software 10 01-25-2005 02:37 PM > Forums > Linux Forums > Linux - Software

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