From Fedora Project Wiki

(recommend to use FMW for Windows to create Windows installation medium)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Final|windows-dual-boot}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test verifies that installing Fedora onto a machine with a pre-existing Windows installation will result in a functioning dual-boot system.
|description=This test verifies that installing Fedora onto a machine with a pre-existing Windows installation will result in a functioning dual-boot system.
 
|setup=
Windows XP is the primary target, but Windows Vista, Windows 7 and Windows 2000 should also be tested.
# You must have a system with a typical, functioning Windows installation
#* Partition layout should be the same as the default layout created by a Windows installer or pre-installed by OEM. That usually consists of some small partition(s) at the beginning of the disk (recovery partition, system boot partition) and a single large NTFS partition spanning over the rest of the disk containing the Windows system itself.
|actions=
|actions=
# Start with a system with a typical, functioning Windows installation
# Use Fedora Media Writer for Windows to create Fedora installation media.
#* Partition layout: primary disk has one partition, NTFS formatted.
# Shrink the Windows partition and thus create sufficiently large free space at the end of the disk (at least 10 GB, more if you have lots of memory).
#* If possible, just use a factory restore disk or similar
#* There are multiple ways to achieve that. One of the favorite ones is to boot a LiveCD, install {{package|gparted}} and use this tool to shrink the Windows partition.
#* NOTE: The Windows XP installer may crash if you have Linux installed; you may need to wipe the disk first.
#* Reboot to Windows after shrinking the partition to make sure it still works properly.
# Boot the Fedora installer by whatever means are convenient (Install DVD is nice and easy)
#* Using an external shrinking tool is recommended, but this step can also be done as part of the installation (the installer is able to shrink NTFS partitions. If you want to know how, look [[QA:Testcase_Anaconda_autopart_%28shrink%29_install|here]]). However, that functionality is not guaranteed by the installer team and doesn't have to work as well as the dedicated partitioning tools.
# Advance to partitioning screen
# Boot the Fedora installer from your prepared medium.
# Choose "Shrink Current System"
# The partitioning screen should automatically set up Fedora to be installed into the remaining free space and no manual changes should be necessary. You can also adjust layout manually, if you want - use only the free space that you prepared for this purpose.
# Enable "Review and modify partition layout" checkbox
# Finish the installation
# Enter a target size (for the Windows partition) that leaves at least 10GB for Fedora (recommended size)
# Click "Next" and review partition details
# Advance to bootloader configuration screen and rename "Other" to "Windows" (if needed)
# Complete the installation with whatever package set you like
# Reboot system after installation and choose "Windows" from the GRUB menu
# Reboot system after installation and choose "Windows" from the GRUB menu
# After Windows boots successfully, reboot and choose Fedora from the GRUB menu
# After Windows boots successfully, reboot and choose Fedora from the GRUB menu
|results=
|results=
# Fedora installer should boot normally.
# Fedora installer should boot normally
# Partitioning screen should offer "Shrink Current System"
# The partitioning screen should automatically set up Fedora to be installed into the remaining free space and no manual changes should be necessary
# Choosing that option should pop up a box asking which partition to resize and the target size
# Installation should complete normally
# Partition details should show a typical Fedora partition layout and an NTFS partition both on the drive
# Bootloader configuration screen should have entries for both Fedora and "Other"
# Fedora installation should complete normally
# Bootloader should show both "Fedora" and "Windows" options
# Bootloader should show both "Fedora" and "Windows" options
# Bootloader should have reasonable timeout, to allow choosing the system to boot
# Bootloader should have reasonable timeout, to allow choosing the system to boot
# After rebooting into Windows, the system should run a disk check, which should complete without errors
# After rebooting into Windows, the system may run a disk check, which should complete without errors
# When rebooting back into Fedora, the system should boot normally
# When rebooting back into Fedora, the system should boot normally
}}
}}
[[Category:Installer Dual Boot Test Cases]]

Latest revision as of 15:22, 26 January 2017

Note.png
Associated release criterion
This test case is associated with the Fedora_40_Final_Release_Criteria#windows-dual-boot release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This test verifies that installing Fedora onto a machine with a pre-existing Windows installation will result in a functioning dual-boot system.

Setup

  1. You must have a system with a typical, functioning Windows installation
    • Partition layout should be the same as the default layout created by a Windows installer or pre-installed by OEM. That usually consists of some small partition(s) at the beginning of the disk (recovery partition, system boot partition) and a single large NTFS partition spanning over the rest of the disk containing the Windows system itself.

How to test

  1. Use Fedora Media Writer for Windows to create Fedora installation media.
  2. Shrink the Windows partition and thus create sufficiently large free space at the end of the disk (at least 10 GB, more if you have lots of memory).
    • There are multiple ways to achieve that. One of the favorite ones is to boot a LiveCD, install Package-x-generic-16.pnggparted and use this tool to shrink the Windows partition.
    • Reboot to Windows after shrinking the partition to make sure it still works properly.
    • Using an external shrinking tool is recommended, but this step can also be done as part of the installation (the installer is able to shrink NTFS partitions. If you want to know how, look here). However, that functionality is not guaranteed by the installer team and doesn't have to work as well as the dedicated partitioning tools.
  3. Boot the Fedora installer from your prepared medium.
  4. The partitioning screen should automatically set up Fedora to be installed into the remaining free space and no manual changes should be necessary. You can also adjust layout manually, if you want - use only the free space that you prepared for this purpose.
  5. Finish the installation
  6. Reboot system after installation and choose "Windows" from the GRUB menu
  7. After Windows boots successfully, reboot and choose Fedora from the GRUB menu

Expected Results

  1. Fedora installer should boot normally
  2. The partitioning screen should automatically set up Fedora to be installed into the remaining free space and no manual changes should be necessary
  3. Installation should complete normally
  4. Bootloader should show both "Fedora" and "Windows" options
  5. Bootloader should have reasonable timeout, to allow choosing the system to boot
  6. After rebooting into Windows, the system may run a disk check, which should complete without errors
  7. When rebooting back into Fedora, the system should boot normally