Grep is your friend. loader2/cdinstall.c . -Connie Sieh Fermi National Accelerator Laboratory On Wed, 8 Oct 2003, Alexander Rau wrote: > Thanks for the tip. > > I went into image.py and changed the folder descriptors to match my folder > tree (instead of /RedHat/ I put /mydistro/). > > However looking at the code you sent the error message I should receive > would be something like this: > > ---------------------Wrong CDROM--------------------------- > - > - > - That's not the correct mydistro CDROM. - > - > - > ------------------------------------------------------------------- > > Isn't it? > > However I am getting: > > ------------------------CD Not Found--------------------------- > - > - > - The mydistro CD was not found in any - > - of your CDROM drives. Please insert - > - the mydistro CD and press OK to retry. - > - > - > ------------------------------------------------------------------- > > Which script is responsible for this message? > > Thanks > > AR > > > > ----- Original Message ----- > From: "csieh" <csieh@xxxxxxxx> > To: "Alexander Rau" <alex@xxxxxx> > Cc: <anaconda-devel-list@xxxxxxxxxx> > Sent: Wednesday, October 08, 2003 11:07 AM > Subject: Re: what variables impact CD not found > > > It may be time that you looked at the source for anaconda. In image.py > you will find the code that checks that the proper cd is in the cdrom > drive. From anaconda 9.0(slightly edited to decrease size) > > Connie Sieh > Fermi National Accelerator Laboratory > > ----------------------------------------------------------------------- > f = open("/mnt/source/.discinfo") > newStamp = f.readline().strip() > try: > descr = f.readline().strip() > except: > descr = None > try: > arch = f.readline().strip() > except: > arch = None > try: > discNum = getDiscNums(f.readline().strip()) > except: > discNum = [ 0 ] > f.close() > if (newStamp == timestamp and > arch == iutil.getArch() and > needed in discNum): > done = 1 > self.currentDisc = discNum > if not done: > self.messageWindow(_("Wrong CDROM"), > _("That's not the correct %s CDROM.") > % (productName,)) > ---------------------------------------------------------------------------- > - > > >