From Fedora Project Wiki

(Update for f21)
(Add some media links)
Line 9: Line 9:


=== Test OS detection on your media ===
=== Test OS detection on your media ===
{{admon/warning | OS detection doesn't work with Fedora 21 Alpha Workstation media | For more details, see bug 1145264 }}


This will determine if the virt tools/libosinfo can detect an OS from your ISO media or CDROM. Feel free to try this with as many ISOs as you've got kicking around, and file a bug against libosinfo if the output doesn't match the expected results.
This will determine if the virt tools/libosinfo can detect an OS from your ISO media or CDROM. Feel free to try this with as many ISOs as you've got kicking around, and file a bug against libosinfo if the output doesn't match the expected results.


{{admon/warning | OS detection doesn't work with Fedora 21 Alpha Workstation media | For more details, see bug 1145264 }}
* Pre-release landing page, has torrents etc: https://fedoraproject.org/get-prerelease
 
* Server DVD: https://dl.fedoraproject.org/pub/fedora/linux/releases/test/21-Alpha/Server/x86_64/iso/Fedora-Server-DVD-x86_64-21_Alpha.iso
* Workstation Live CD: https://dl.fedoraproject.org/pub/fedora/linux/releases/test/21-Alpha/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-21_Alpha-1.iso
* <code>sudo virt-install --test-media-detection /path/to/your/media.iso</code>
* <code>sudo virt-install --test-media-detection /path/to/your/media.iso</code>



Revision as of 16:49, 24 September 2014

Description

Install a Fedora guest from CDROM/DVD media, either physical media or ISO file.

Setup

  • Install media listed on the main test day page. Live CD or DVD is sufficient.

How to test

Test OS detection on your media

OS detection doesn't work with Fedora 21 Alpha Workstation media
For more details, see bug 1145264

This will determine if the virt tools/libosinfo can detect an OS from your ISO media or CDROM. Feel free to try this with as many ISOs as you've got kicking around, and file a bug against libosinfo if the output doesn't match the expected results.

virt-manager

  1. Run virt-manager (should autoconnect to qemu)
  2. Launch the 'New VM' wizard
  3. Choose 'Local Install Media'
  4. Select your ISO media.
  5. If virt-install detected your media in the above step, verify the UI automatically selects the same distro.
  6. Proceed through the wizard, using the default suggested values. On the final page, use the VM name: test-day-vm
  7. Start the install, and perform the install as you would on a normal machine.

virt-install

An example virt-install invocation looks like:

 $> virt-install --name test-day-vm --ram 2048 --disk size=10 \
        --cdrom /path/to/my/media.iso --os-variant fedora21

If virt-install detected your media in the above step, the --os-variant value isn't strictly required.

Also for virt-install, the ISO media needs to be in a location that is accessible by the 'qemu' user, otherwise the emulator won't be able to access it. A good place to put the iso is /var/lib/libvirt/images

Expected Results

  1. Guest installations start and perform without any issues.
  2. Guest is bootable after install completes.