Bug 750584

Summary: DVD media from FlashUSB does not find any packages
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16CC: anaconda-maint-list, jonathan, twillber, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-01 17:51:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
FAIL screenshot with: qemu-kvm -hda /md2/iso-copy/Fedora-16-Final.RC3-x86_64-DVD.iso -snapshot -hdb /tmp/test.qcow2 -m 2048 none

Description Jan Kratochvil 2011-11-01 16:50:02 UTC
Description of problem:
Booted Fedora-16-Final.RC3-x86_64-DVD.iso from flashdisk and everything is OK but - it downloads all the packages from net, nothing from the flashdisk.

Version-Release number of selected component (if applicable):
Fedora-16-Final.RC3-x86_64-DVD.iso

How reproducible:
Always.

Steps to Reproduce:
FAIL: qemu-kvm -hda Fedora-16-Final.RC3-x86_64-DVD.iso -snapshot -hdb /tmp/test.qcow2 -m 2048
FAIL: Lenovo X220 with FlashUSB disk created by:
      cat Fedora-16-Final.RC3-x86_64-DVD.iso >/dev/sdd
One can test it works with:
PASS: qemu-kvm -cdrom /md2/iso-copy/Fedora-16-Final.RC3-x86_64-DVD.iso -snapshot -hdb /tmp/test.qcow2 -m 2048 -boot d

Actual results:
No "Installation Repo" repository.
Trying to add one prints:
  No Media Found
  No installation media was found. Please insert
  a disc into your drive and try again.
When I mounted it to ctrl-alt-F2 to /mnt/cd by some
  mkdir /mnt/cd
  mount -r -tiso9660 /dev/sdc /mnt/cd
it also did not work:
  file:///mnt/cd
  Invalid Repository URL
  You must provide an HTTP, HTTPS, or FTP URL to a repository

Expected results:
Normal "Installation Repo" repository accessing the flashdisk

Additional info:

Comment 1 Jan Kratochvil 2011-11-01 16:51:21 UTC
Modern lightweight notebooks do not have any CD/DVD.

Comment 2 Jan Kratochvil 2011-11-01 16:52:27 UTC
Created attachment 531161 [details]
FAIL screenshot with: qemu-kvm -hda /md2/iso-copy/Fedora-16-Final.RC3-x86_64-DVD.iso -snapshot -hdb /tmp/test.qcow2 -m 2048

Comment 3 Chris Lumens 2011-11-01 17:34:04 UTC
anaconda knows how to look for packages automatically on CD and DVD media.  Otherwise, you either need to provide the askmethod or repo= parameter to point it at the device you want to use.  Since you're just doing a cat of the media over to a USB device, you're not getting the parameter added for you.

If you use livecd-iso-to-disk (yes, even for non-live media) it will set syslinux up for you to where this just works.

Comment 4 Jan Kratochvil 2011-11-01 17:49:23 UTC
(In reply to comment #3)
> If you use livecd-iso-to-disk (yes, even for non-live media) it will set
> syslinux up for you to where this just works.

Aha, OK, thanks for info.

I can't argue with a possible WONTFIX you may turn it to but it is a bug.
The packages are normally and easily available at the media (see /mnt/cd above), Anaconda could find them.

Comment 5 Chris Lumens 2011-11-01 17:51:22 UTC
We *could* find them, but we already provide so many methods of package installation that we're hesitant to make the code any more complicated.  This also requires complicating up the test matrix even further.  I have no intention of changing anything here any time soon.

Comment 6 Jan Kratochvil 2011-11-01 17:53:30 UTC
This is just needlessly discarding the hybrid feature of the CD.
I remember there were pushes for livecd-iso-to-disk instead of "cat" but I never understood why to use some special program when "cat" works the same.