[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: what variables impact CD not found



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 fnal gov>
> To: "Alexander Rau" <alex rau ca>
> Cc: <anaconda-devel-list redhat com>
> 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,))
> ----------------------------------------------------------------------------
> -
> 
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]