From Fedora Project Wiki

(update for Fedora 18)
Line 1: Line 1:
 
{{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
+
# 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).
#* Partition layout: primary disk has one partition, NTFS formatted.
+
#* 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.
#* If possible, just use a factory restore disk or similar
+
#* Reboot to Windows after shrinking the partition to make sure it still works properly.
#* NOTE: The Windows XP installer may crash if you have Linux installed; you may need to wipe the disk first.
+
#* 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). However, that functionality is not guaranteed by the installer team and doesn't have to work as well as the dedicated partitioning tools.
# Boot the Fedora installer by whatever means are convenient (Install DVD is nice and easy)
+
# Boot the Fedora installer using any available means
# Advance to partitioning screen
+
# 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.
# Choose "Shrink Current System"
+
# Finish the installation
# Enable "Review and modify partition layout" checkbox
 
# 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_Partitioning_Test_Cases]]
 
[[Category:Installer_Partitioning_Test_Cases]]

Revision as of 14:11, 4 January 2013

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. 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). However, that functionality is not guaranteed by the installer team and doesn't have to work as well as the dedicated partitioning tools.
  2. Boot the Fedora installer using any available means
  3. 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.
  4. Finish the installation
  5. Reboot system after installation and choose "Windows" from the GRUB menu
  6. 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