From Fedora Project Wiki
Initial setup
- Prepare installation media available at {URL} according to instructions from Installation Guide
- Optionally install virtualization support in Fedora:
# yum -y install @virtualization # service libvirtd start # cp $FEDORA_ISO /var/lib/libvirt/images/Fedora.iso
- To start virtual machine you can use this command:
# virt-install --accelerate -n test-machine101 -r 1024 -f /var/lib/libvirt/images/test-machine101.img -s 21 -c /var/lib/libvirt/images/Fedora.iso
- You can destroy virtual machine right after execution of a test case with these commands:
# virsh destroy test-machine101 # virsh undefine --remove-all-storage test-machine101
Installation on bios/firmware RAID
Setup
- You need a machine with bios/firmware RAID supported by dmraid or MD. Linux MD driver supports Intel Matrix RAID technology, dmraid supports following products:
- asr : Adaptec HostRAID ASR (0,1,10)
- ddf1 : SNIA DDF1 (0,1,4,5,linear)
- hpt37x : Highpoint HPT37X (S,0,1,10,01)
- hpt45x : Highpoint HPT45X (S,0,1,10)
- isw : Intel Software RAID (0,1,5,01)
- jmicron : JMicron ATARAID (S,0,1)
- lsi : LSI Logic MegaRAID (0,1,10)
- nvidia : NVidia RAID (S,0,1,10,5)
- pdc : Promise FastTrack (S,0,1,10)
- sil : Silicon Image(tm) Medley(tm) (0,1,10)
- via : VIA Software RAID (S,0,1,10)
- dos : DOS partitions on SW RAIDs
- you need multiple hard drives connected to controller supporting RAID setup,
- setup arbitary RAID level in your firmware.
Action
- Boot the installation media on prepared machine,
- finish the installation by choosing default options.
Expected Results
- Installation starts up properly,
- RAID device is recognized and used,
- system is installed without issue, it boots up,
- system is installed on RAID and not underlying devices.
Cleanup
N/A
Installation on iSCSI
- Run any test case from QA:ISCSI_Installation_Test_plan
Default LVM with encryption
Setup
- Run the installation on bare metal or virtual machine.
- To start virtual machine, run:
# virt-install --accelerate -n test-machine101 -r 1024 -f /var/lib/libvirt/images/test-machine101.img -s 21 -c /var/lib/libvirt/images/Fedora.iso
Action
- In INSTALLATION DESTINATION choose default layout with LVM,
- select encryption and put passphrase,
- complete the installation.
Expected Results
- Default partitioning layout is created,
- partitions are encrypted,
- installer asks for passphrase,
- system requests passphrase during boot,
- systems starts without issue with passphrase.
Cleanup
- To destroy virtual machine run:
# virsh destroy test-machine101 # virsh undefine --remove-all-storage test-machine101
Reuse /home on LVM
Setup
- Do an installation with separate /home partition placed on LVM logical volume.
- To start virtual machine, run:
# virt-install --accelerate -n test-machine101 -r 1024 -f /var/lib/libvirt/images/test-machine101.img -s 21 -c Fedora.iso
- start up installed system, store some data in /home
- change the boot order to boot up again from installation media,
- start the installation again.
Action
- Select custom partitioning in INSTALLATION DESTINATION,
- assign existing home logical volume to /home mount point, do not format partition,
- create & assign other required mount points (/, /boot, ...), complete the partitioning,
- complete the installation and start up installed system.
Expected Results
- Existing home logical volume is visible in installer,
- it is possible to assign mount point to this volume,
- it is possible to disable formatting,
- installation is completed,
- systems starts up,
- data in /home partition still exist.
Cleanup
- To destroy virtual machine run:
# virsh destroy test-machine101 # virsh undefine --remove-all-storage test-machine101
More disks
Setup
Action
Expected Results
Cleanup
Separate mountpoints
Setup
- Run the installation on bare metal or virtual machine.
- To start virtual machine, run:
# virt-install --accelerate -n test-machine101 -r 1024 -f /var/lib/libvirt/images/test-machine101.img -s 21 -c Fedora.iso
Action
- In INSTALLATION DESTINATION choose custom partitioning
- Create following layout:
- create /boot,
- create /, use encryption for it,
- create /usr,
- create /home, use encryption for it,
- create /var,
- create swap, use encryption for it,
- complete the installation and start the system.
Expected Results
- Defined disk layout is created,
- installer asks for a passphrase,
- installation is completed,
- installed systems starts and asks for a passphrase to unlock encrypted disks,
- login is possible,
- disk layout on installed system is in accordance with installation setup, all filesystems are mounted, swap is enabled.
Cleanup
- To destroy virtual machine run:
# virsh destroy test-machine101 # virsh undefine --remove-all-storage test-machine101