Results 1 to 7 of 7
i have initrd-2.6.19.1.img.
How to extract initrd image in FC6...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-15-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 20
Extracting initrd image
i have initrd-2.6.19.1.img.
How to extract initrd image in FC6
- 01-15-2007 #2
create initrd using mkinitrd command.
Code:mkinitrd /boot/initrd-<version>.img <version>
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-15-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 20
Extracting initrd image
little confuse ??????????????????///
initrd image is just cpio-gzip archive. So how to extract it
so that i can get following files
bin
dev
etc
init
lib ....
......
i want to analyz init shell script
- 01-15-2007 #4either you didn't ask correct question OR i didn't get that correctly.
Originally Posted by anando.1980
execute this
Code:gunzip < /boot/initrd.img | cpio -i --make-directories
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-22-2007 #5Just Joined!
- Join Date
- Feb 2007
- Location
- Palermo, Italy
- Posts
- 4
Hi all. This is my first post on this forum.
I tryed to extract the initrd.img on my FC6 with the command
now I'd like to edit the init file and then create again the initrd.img. How to create again initrd.img?Code:gunzip < /boot/initrd.img | cpio -i --make-directories
Thanks a lot !
- 02-22-2007 #6
hi tonyda,
Welcome to the LinuxForums.
Code:find ./ | cpio -H newc -o > initrd.cpio gzip initrd.cpio mv initrd.cpio.gz initrd.img
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-22-2007 #7Just Joined!
- Join Date
- Feb 2007
- Location
- Palermo, Italy
- Posts
- 4
Ok, it works! Thank you Casper.
This is a very good Forum!
Bye



