On Wed, 2002-11-06 at 15:58, Sameer Kamat wrote: > I want to change the rescue.py file in stage2.img. I mounted stage2.img from > the Redhat/base directory. Since this is a cramfs I copied all the files to > another directory called stage2-copied. I then changed the rescue file in > use/lib/anaconda and compiled it using "python > /usr/lib/pyton2.2/compileall.py ." > I then created the cramfs again using "mkcramfs --verbose stage2-copied > stage2.img" and then copied this file back into the Redhat/base directory. > > When I boot off the CD it gives the error " The RedHat Linux CD was not > found in any of your CDROM drives. Please insert the RedHat Linux CD and > press OK to retry. " You probably didn't copy .buildstamp in the root of stage2.img. The timestamp in this file must match the similar stamp in the initrd. Cheers, Jeremy