Bug 463474

Summary: HD ISO install fails to find and mount DVD ISO
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, dcantrell, jturner
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: 2008-09-23 17:22:20 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:
Attachments:
Description Flags
Screenshot of tty3
none
anaconda.log none

Description James Laska 2008-09-23 16:40:09 UTC
Created attachment 317489 [details]
Screenshot of tty3

Unable to return to loader stage#2 selection screen

Steps to reproduce:
1) Format a system leaving a spare disk for ISO's

/dev/sdc1 contains an ext3 filesystem with 2 directories:
 /cdrom/*.iso all 7 cdrom iso images
 /dvd/*.iso 1 dvd iso image

2) Initiate an install
3) Select installation method: HD
4) Select the /dev/sdc1 partition and choose directory of '/dvd' ... select OK

Actual results:

See screenshot ... it doesn't seem to be doing the correct order of operations.  

Expected results:

Expected to find the images/install.img from the DVD ISO and proceed.  I would have expected it to:

 1) Mount /dev/sdc1
 2) Loopback mount /dev/sdc1/dvd/Fedora-10-Beta-x86_64-DVD.iso
 3) Loopback mount images/install.img onto /mnt/stage2

Additional information:

From a shell.gz in loader, I can manually mount the ISO, find the install.img, and mount that img.

Comment 1 James Laska 2008-09-23 17:18:03 UTC
Created attachment 317496 [details]
anaconda.log 

Using the procedure outlined at https://fedoraproject.org/wiki/Anaconda/Options

# grep iso /etc/fstab
/dev/sdc1 on /iso type ext3 (rw)

# find /iso -type f
/iso/dvd/Fedora-10-Beta-x86_64-DVD.iso
/iso/dvd/install.img
/iso/cdrom/Fedora-10-Beta-x86_64-disc4.iso
/iso/cdrom/Fedora-10-Beta-x86_64-disc7.iso
/iso/cdrom/Fedora-10-Beta-x86_64-disc3.iso
/iso/cdrom/Fedora-10-Beta-x86_64-disc2.iso
/iso/cdrom/Fedora-10-Beta-x86_64-disc1.iso
/iso/cdrom/Fedora-10-Beta-x86_64-disc5.iso
/iso/cdrom/install.img
/iso/cdrom/Fedora-10-Beta-x86_64-disc6.iso

I am now able to get a HD ISO install working.

Comment 2 James Laska 2008-09-23 17:20:00 UTC
Note from comment#1 ... the install.img was placed in: /iso/dvd/install.img *NOT* /iso/dvd/images/install.img as the  documentation suggests

Comment 3 Chris Lumens 2008-09-23 17:22:20 UTC
Oops, hdinstall.c was the only file that didn't get updated to look in images/,
so it's not behaving in the same manner as all other install methods.  Fixed
for post-beta.