Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This time i am giving the details what i exactly want to do
Quote:
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..
Thank you
I know it's boring to read all of the above stuff but i hope u'll find some way for doing this
And you think that writing pidgin English will help?You are also print-literate - but you are refusing to write as if you are.
I am sorry, I cannot make head nor tail of this.
It looks like you want to remaster the fedora install disk so it will install a custom kernel you have created. Is this correct?
There are tools for remastering install DVDs from minor changes all the way up to creating your own distribution. Google for them.
I must say that this was a great answer. I am just asking for help on ELF 32-bit LSB so, 386, v1 (SYSV), stripped and you are telling me to look to other sources for help.. So nice of you. Thank you.
With due respect i must say that you seem to be a senior member and i have already said that i am sorry for my language as i am having english as my second language. You have suggested a very nice thing to google for tools but i must say that i don't have that much time. I would have been greatful if you would have given me url's of some basic tools for doing this.
The whole thing is if you have ever tried to modify initrd.img that you must have encountered /sbin/init and /sbin/loader.
These are ELF 32-bit LSB so, 386, v1 (SYSV), stripped. I am able to read the information using readelf(i am using redhat 9 for this). Now i just want to edit the loader script so that i can tell the script to try to load which module. If you can get me some info on how to modify this, i shall be thankful. Sorry for the rude behaviour.
If you want to install a driver for fedora core to use, you can create a driver disk and use that. You don't need to add this to the initrd in the fedora install media.
If automatically loaded drivers are consistently wrong, you can override hardware detection for that kind of device.
The only reason for remastering the install CD (i.e. editing its initrd.img) is to create your own distribution. This is usually done to add functionality to a live CD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.