Red Hat Bugzilla – Bug 172834
anaconda unable to run with --method hd://foo/bar
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; nb-NO; rv:1.7.12) Gecko/20050920 Firefox/1.0.7
Description of problem:
While hacking around in the stage2 image, searching for a way to do a harddrive install from another system, I probably found a bug in anaconda. Explicitly, what I really try to do, is to install RHEL into a directory, like Debian's debootstrap. This may or may not be supported by RedHat, but the code lays there, and looks like it's more or less ready to be used.
When I run anaconda with --method hd://hda1/RedHat , it just spits a python traceback at me. I think this is the correct way of saying "Install from /dev/hda1, directory /RedHat".
# anaconda --text --noselinux --method hd://hda1/RedHat
Probing for video card: ATI Radeon 7000
Probing for monitor type: Unknown monitor
Probing for mouse type: No - mouse
Graphical installation not available... Starting text mode.
Traceback (most recent call last):
File "/usr/bin/anaconda", line 1040, in ?
i = string.index(tmpmethod, ":")
File "/usr/lib64/python2.3/string.py", line 145, in index
ValueError: substring not found
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Run the comand # anaconda --text --noselinux --method hd://hda1/RedHat
Actual Results: python spits traceback
Expected Results: The installer should continue, trying to install from /dev/hda1
That's not the correct syntax for hard drive -- you want something more like