more on bootloaderInfo.py line 645, runGrubInstall OSError: [error 2] No such

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

 



Aftter some experimentation I find that the anaconda 11.4.0.82 in my 07-16-08 f9-i386 revisor download image is very sensitive in how it behaves with respect the kickstart bootloader line.
If the line is:
       bootloader --location=mbr --driveorder=sda,sdb,sdc --append="rhgb quiet"
then, the bootloader install hangs and the last few lines of the log are:
19:38:21 CRITICAL: anaconda 11.4.0.82 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.5/site-packages/rhpl/executil.py", line 81, in execWithRedirect
    os.execv(command, argv)
  File "/usr/lib/booty/bootloaderInfo.py", line 645, in runGrubInstall
  File "/usr/lib/booty/bootloaderInfo.py", line 690, in installGrub
  File "/usr/lib/booty/bootloaderInfo.py", line 1229, in installGrub
  File "/usr/lib/booty/bootloaderInfo.py", line 925, in writeGrub
  File "/usr/lib/booty/bootloaderInfo.py", line 1108, in write
  File "/usr/lib/booty/bootloaderInfo.py", line 1216, in write
  File "/usr/lib/anaconda/bootloader.py", line 236, in writeBootloader
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
  File "/usr/lib/anaconda/dispatch.py", line 131, in gotoNext
  File "/usr/lib/anaconda/text.py", line 702, in run
  File "/usr/bin/anaconda", line 1062, in <module>
OSError: [Errno 2] No such file or directory

19:38:21 INFO    : in run, screen = <snack.SnackScreen instance at 0xb786038c>
However, if the bootloader line is:
       bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
then, it does NOT hang, but, instead comes up with "OK, Save, Debug" offer window and the last few log lines are quite different as in:
01:55:24 CRITICAL: anaconda 11.4.0.82 exception report
Traceback (most recent call first):
  File "/usr/lib/booty/bootloaderInfo.py", line 939, in grubbyDiskName
    return "hd%d" % self.drivelist.index(name)
  File "/usr/lib/booty/bootloaderInfo.py", line 944, in grubbyPartitionName
    return "(%s,%d)" % (self.grubbyDiskName(name), partNum)
  File "/usr/lib/booty/bootloaderInfo.py", line 746, in writeGrub
    f.write('#          root %s\n' % self.grubbyPartitionName(bootDevs[0]))
  File "/usr/lib/booty/bootloaderInfo.py", line 1108, in write
    justConfig | (not self.useGrubVal))
  File "/usr/lib/booty/bootloaderInfo.py", line 1216, in write
    chainList, defaultDev, justConfig, intf)
  File "/usr/lib/anaconda/bootloader.py", line 236, in writeBootloader
    justConfigFile, anaconda.intf)
  File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 131, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/text.py", line 702, in run
    anaconda.dispatch.gotoNext()
  File "/usr/bin/anaconda", line 1062, in <module>
    anaconda.intf.run(anaconda)
ValueError: list.index(x): x not in list

Also, rming the driveorder prat (which is how I did things with f8 and f7) results int the first (hang) type error.
Also, using the same image to do a CDROM interactive text install again results in the same hang error.

Maybe the f9 anaconda is suppose to behave with this sensitivty, but it seems strange.

Any help greatly appreciated in advance.

Floyd,

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux