Exception in preinstallconfig stage

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

 



Hello

I am trying to create my own redhat 9 CD with my own kernel. Currently I
have manged to be able to boot from the CD, it partitions the hardisk
automatically, creates a raid1, formates and then starts to install
the base image to harddisk. Just when the bar is at 100% I get the
following exception:

   Traceback (most recent call last):
     File "/usr/bin/anaconda", line 739, in ?
       intf.run(id, dispatch, configFileData)
     File "/usr/lib/anaconda/text.py", line 459, in run
       dispatch.gotoNext()
     File "/usr/lib/anaconda/dispatch.py", line 157, in gotoNext
       self.moveStep()
     File "/usr/lib/anaconda/dispatch.py", line 225, in moveStep
       rc = apply(func, self.bindArgs(args))
     File "/usr/lib/anaconda/packages.py", line 599, in doPreInstall
       if method.systemMounted (id.fsset, instPath, id.hdList.selected()):
     File "/usr/lib/anaconda/image.py", line 121, in systemMounted
       isys.lochangefd("/tmp/loop", self.loopbackFile)
     File "/usr/lib/anaconda/isys.py", line 109, in lochangefd
       _isys.lochangefd(loop, targ)
   SystemError: (22, 'Invalid argument')

   Local variables in innermost frame:
   device: /tmp/loop
   targ: 18
   file: /mnt/sysimage//rhinstall-stage2.img
   loop: 17

I have checked both /tmp/loop and /mnt/sysimage//rhinstall-stage2.img
do exist:

  ls -al /mnt/sysimage//rhinstall-stage2.img

  -rwxr-xr-x     1 root        0        48799744 Sep   4 15:34 /mnt/sysimage/rhinstall-stage2.img

  ls -al /tmp/loop

  brw-------     1 root        0          7,   0 Sep   4 15:34 /tmp/loop

(The ls part was copied by hand)

It would be very helpful if I could get this to work. But I am clueless
what I am doing wrong and any help or advice would be greatly appreciated!

Please tell me if I need to provide more information.

Thanks,
Holger




[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