Bug 750584 - DVD media from FlashUSB does not find any packages
Summary: DVD media from FlashUSB does not find any packages
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 16
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-01 16:50 UTC by Jan Kratochvil
Modified: 2012-08-13 16:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-01 17:51:22 UTC
Type: ---


Attachments (Terms of Use)
FAIL screenshot with: qemu-kvm -hda /md2/iso-copy/Fedora-16-Final.RC3-x86_64-DVD.iso -snapshot -hdb /tmp/test.qcow2 -m 2048 (26.27 KB, image/png)
2011-11-01 16:52 UTC, Jan Kratochvil
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.