- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: initrd
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 10:34 PM
09-28-2005 10:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2005 10:46 PM
09-28-2005 10:46 PM
Re: initrd
I am not sure you are asking about /boot/initrd.gz file ?
on my system I can:
cd /tmp
cp /boot/initrd_2.6.11-mm1.gz
gzip -d initrd_2.6.11-mm1.gz
mount -o loop /tmp/initrd_2.6.11-mm1 /mnt/
replace you initrd file name with my initrd_2.6.11-mm1.gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 12:11 AM
09-29-2005 12:11 AM
Re: initrd
it is not a bz or tgz file
file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 12:41 AM
09-29-2005 12:41 AM
Re: initrd
did you try this ?
mount -o loop xx.initrd /mnt/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 01:24 AM
09-29-2005 01:24 AM
Re: initrd
if it shows as data file then it is more likely that it is not having any filesystem in it, there is no point in trying to mount it in -oloop method.
I think the name initrd is given just to confuse you. Which application is creating file by this extension?
FYI: If the initrd contains the filesystem then when you put 'file
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 05:41 PM
09-29-2005 05:41 PM
Re: initrd
mount: you must specify the filesystem type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:10 PM
09-29-2005 06:10 PM
Re: initrd
So it clearly means that you are trying to mount a file which is not having any file system in it, the name initrd is given just to confuse you.
Which application is using this type of file?
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 11:50 PM
09-29-2005 11:50 PM
SolutionTo check, you can use the 'file' command:
file initrd-2.4.22-1.2199.5.legacy.nptl.img
initrd-2.4.22-1.2199.5.legacy.nptl.img: gzip compressed data, from Unix, max compression
(this is on my fedora-core-1 machine).
The instructions Slawomir were pretty close.
So, either rename it to .gz, then uncompress it, or do it in pipes:
gzip -cd < initrd.img > loop-mount.img
mount -oloop loop-mount /mnt
and away you go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2005 05:37 PM
10-16-2005 05:37 PM