Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: editing initrd image, from another distro< Next Oldest | Next Newest >
tikbalang Offline





Group: Members
Posts: 24
Joined: July 2006
Posted: Aug. 14 2008,17:01 QUOTE

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/).
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 14 2008,17:19 QUOTE

Depends entirely on how their initrd is done. Try it :)

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
tikbalang Offline





Group: Members
Posts: 24
Joined: July 2006
Posted: Aug. 14 2008,17:31 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Aug. 14 2008,18:53 QUOTE

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.
Back to top
Profile PM 
tikbalang Offline





Group: Members
Posts: 24
Joined: July 2006
Posted: Aug. 15 2008,01:43 QUOTE

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.
Back to top
Profile PM 
11 replies since Aug. 14 2008,17:01 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: editing initrd image

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code