Other Help Topics :: editing initrd image



is it possible to edit the initrd of another mini linux using DSL? i need to temporarily disable the splashscreen and edit the rc.S files of advanceCD (http://advancemame.sourceforge.net/).
Depends entirely on how their initrd is done. Try it :)
i renamed initrd.img to a .gz file and extracted only one file "initrd" using winrar. i then used winimage to open it and it did but un-editable. i can extract the files but i don't know how to pack it back. i don't know how to go about in linux.
It's probably a standard loopback image file.
I haven't used "winimage" - you could check their help/support.

In a Linux distro, you could do something like:
Code Sample
gunzip myfile.gz # extract the gzip'd myfile (I'm having my doubts that that file is gzip'd though...)
mkdir mount # create an empty temp dir for mounting
mount -o loop,rw myfile mount # mount it
pushd mount
# edit files as necessary
popd
umount mount # unmount it
gzip -9 myfile # gzip it back up


It could be a better idea to ask on their site, though.

advancemame site is almost dead. the author is not responding and the few users there use mostly windows. why do you say it's not gzipped? i just used gunzip for dos and it works if i rename it to a .gz.

i'll try it when i get back home.

as a sidenote, here is what i'm trying to do with advanceCD:
1. temporarily disable bootsplash image so i can see what's going on during bootup.
2. fix the unavailability of 2nd, 3rd, etc... terminals.
3. fix the gamescripts so user settings can be used to/from hd.

Next Page...
original here.