From Fedora Project Wiki

(Initial creation)
 
(Update for Fedora 18)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Install a Fedora guest from CDROM/DVD media
|description=
Install a Fedora guest from CDROM/DVD media


|setup=Fetch install media from http://get.fedoraproject.org/
|setup=
 
Install media listed on the main test day page. Live CD or DVD is sufficient.
F17 Alpha media can be grabbed directly here: http://download.fedoraproject.org/pub/fedora/linux/releases/test/17-Alpha/Live/x86_64/


|actions=
|actions=
Line 24: Line 24:
   $> virt-install --name fedoratestday --ram 1024 \
   $> virt-install --name fedoratestday --ram 1024 \
         --disk path=/var/lib/libvirt/images/fedoratestday.img,size=10 \
         --disk path=/var/lib/libvirt/images/fedoratestday.img,size=10 \
         --cdrom /path/to/my/media.iso --os-distro fedora17
         --cdrom /path/to/my/media.iso --os-distro fedora18


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
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


|results=
|results=

Revision as of 00:26, 1 November 2012

Description

Install a Fedora guest from CDROM/DVD media

Setup

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

How to test

virt-manager

  1. Run virt-manager (should autoconnect to qemu)
  2. Launch the 'New VM' wizard
  3. Enter any name, choose 'Local Install Media'
  4. Select the ISO that you downloaded.
  5. Manually set OS distro value to the version of Fedora being installed.
  6. Proceed with through the wizard, using the default suggested values.
  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 fedoratestday --ram 1024 \
        --disk path=/var/lib/libvirt/images/fedoratestday.img,size=10 \
        --cdrom /path/to/my/media.iso --os-distro fedora18

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

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