Bug 172834

Summary: anaconda unable to run with --method hd://foo/bar
Product: Red Hat Enterprise Linux 4 Reporter: Ingvar Hagelund <ingvar>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-12 04:22:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ingvar Hagelund 2005-11-10 11:19:11 UTC
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
    return s.index(*args)
ValueError: substring not found



Version-Release number of selected component (if applicable):


How reproducible:
Always

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

Additional info:

Comment 1 Jeremy Katz 2005-11-12 04:22:08 UTC
That's not the correct syntax for hard drive -- you want something more like
 --method hd:hda:/RedHat