Originally Posted by Simon Bridge
You can't - the DVD is read-only. You have to transfer the files to writable memory, edit them there, and burn a new disk.
I think i wasn't able to make it clear wat i want. Da thing is i am a computer literate. I know dat it's read only.
I have got Fedora 6's iso on my system from which i have got the initrd.img from the isolinux folder and i have also gunzipped the initrd.img and then extracted all the file using 'cpio'. I have also compiled a new kernel so dat it can support my laptop's most components but i want to edit the /sbin/init and /sbin/loader (it loads all the modules from /modules/modules.cgz). It's an ELF 32 bit LSB executable.
I tell you the thing here... I have compiled the new kernel with built-in support for isa-pcmcia using 3c574_cs(my pcmcia card uses this module). The newly created kernel just works fine as i have got 2 more distributions already running on my laptop but when i use the newly built kernel for installation of fedora 6, it's /sbin/loader scripts overrides dat built-in support for my card in my kernel and tries to load modules for it. (i know cause during installation i switch to other terminals as well so that i can know what modules are loading).. I have tried to make it work by removing the modules(pcmcia_core.o, 3c574_cs.o) from the /modules/modules.cgz but still it ain't working.
One more thing i want to know where is that information which tells the installation process(initrd.img of isolinux folder) if we are showing it the path to correct distribution's iso's. I mean can i edit redhat's /isolinux/initrd.img (cause it is properly inserting modules for my pcmcia card, i have installed redhat from that..) so that it sees fedora6 iso's as the iso's from which linux should be installed..
I have tried it by changing a few file like .buildstamp .profile but i am not able to find a cure for this.
The thing that is killing me is how to open /sbin/init and /sbin/loader. I have read those using readelf but it only gives some sort of information. I want to edit that loader so that it doesn't tries to load modules for my pcmcia card as i have compiled the support in the kernel..
I know it's boring to read all of the above stuff but i hope u'll find some way for doing this