-   ROCK (
-   -   Rocks installation screens (

aryanet 11-07-2010 02:23 AM

Rocks installation screens
Hi there,
I want to change the installation screens which shown in firefox during installing rocks cluster.
I've found that these files are located in rocks-screens-5.3-0.x86_64.rpm. so I have extracted them and modified them and then rebuild them into that rpm again. Finally I have made a ISO DVD from that. But when I want to install my modified rocks no changes happens.
I can see the changed files in the rpm on the burned DVD, but the installation is the same as before.

So my question is where are the installation screens (html, css and image) files located in the rocks iso image?

Thanks in advance,

Simon Bridge 11-07-2010 04:03 AM

Have you tried mounting the ISO image and looking?
Is it possible that firefox is using cached versions of the pages?

aryanet 11-07-2010 10:58 AM


Originally Posted by Simon Bridge (Post 4151716)
Have you tried mounting the ISO image and looking?
Is it possible that firefox is using cached versions of the pages?

Yes, I have mounted the ISO image and checked out the content of the rpm which I have modified before. No problem found...
How the firefox can cache the pages while it is running from the DVD? I think it's not possible. However, how can I clear the cache? :)

Would you tell me where are the installation screens located?
By the way, what is the "rocks-screens-5.3-0.x86_64.rpm"???

Help me PLZ...

Simon Bridge 11-09-2010 12:24 AM

You can explicitly reload the page by clicking refresh.
When programs run from DVD, they use a RAMdisk in the place of a physical HDD. This allows dataswapping and caching. Thus you need much more RAM to run a program from DVD than if you run it from HDD.

You have checked the content of the rpm you modified, but have you checked anywhere else?

I would not normally expect html installation pages to be archived in an rpm. Unless the pages are intended to be installed to HDD as a first step, and then loaded by firefox to install the rest.

That would actually create your symptoms - if the system you are installing to already has had an installation, then the existing install screens may not get overwritten. Try your install iso to a virgin system or look through your HDD for a copy of the install screen pages. (Where does firefox say it is loading the install pages from?)

aryanet 11-09-2010 02:14 AM

Thanks for your advices Simon!
I think I have found the problem. These installation files are located in rocks-anaconda-updates-5.3-1.x86_64.rpm. I extracted the content of this rpm. It has a file named updates.img. So I tried to mount it to see what does it contain. Woow! all of the installation screens was there.

So I need to modify this image file and then pack it in updates.img again. Whould you tell me how can I do this?


Simon Bridge 11-09-2010 02:52 AM

If I read you correctly, updates.img is a standard iso image?
In which case the tool for hacking this would be genisoimg or growisoimg. I used to copy the content of an ISO to a working directory, make the changes there, then make a new image from that.

All times are GMT -5. The time now is 02:37 PM.