From Fedora Project Wiki

(bootcamp doesn't seem to do what needed, disk utility does)
(update for recent versions of macOS and anaconda)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test verifies that installing Fedora onto a machine with a pre-existing Mac OS X installation will result in a functioning dual-boot system.
|description=This test verifies that installing Fedora onto a Mac will result in a functioning dual-boot system: Fedora and macOS.
 
This test sequence is based on macOS Sierra (10.12), but should be compatible with older versions.


OS X 10.5 (Leopard) is the primary target, since older releases don't have Boot Camp and we can't (yet) resize HFS+.
|actions=
|actions=
# Start with a system with a typical, functioning OS X installation
# Start with an "out of the box" Mac with a single volume
#* Partition layout: primary disk has one partition, HFS+ formatted.
#* This excludes Macs already using "Boot Camp" to support dual-booting with Windows.
#* If possible, just use a factory restore disk or similar
# Start Disk Utility (/Applications/Utilities/Disk Utility)
# Start Disk Utility (/Applications/Utilities/Disk Utility)
# Use Disk Utility to shrink the existing Mac OS partition
# Use Disk Utility to re-partition the drive
# Boot the Fedora installer from any media
#* Click on the drive icon, rather than the Mac volume; this makes the Partition button in the toolbar active
#* Hold down 'C' key when booting to boot from CD/DVD, or 'Right Alt/Option' key to see a boot selection
#* Click on the Partition button in the toolbar
# Advance to partitioning screen
#* Click on the + button to add a partition
# Use the free space to automatically create Fedora system layout
#* Use the interface to establish the desired size for the new partition. Setting Name to "DELETEME" and Format to "FAT" will make it easier to locate in the Fedora installer.
# Complete the installation with whatever package set you like
#* Click Apply. Click Partition. Then click Continue.
# Reboot system after installation and boot into OS X
# Create Fedora installation media
# After OS X boots successfully, reboot and hold the Alt/Option key to bring up the OS chooser
#* Use Fedora Media Writer for macOS to create Fedora installation media.
# Choose "Windows" from the menu to boot Fedora (sigh)
#* Reboot holding down the Option key, and choose the "Fedora Media" option in the boot manager. Boot Fedora.
# Advance to Destination Installation spoke
#* Select the proper disk
#* Select "Automatic configure partitioning"
#* Click Done, when the Installation Options appears, choose Reclaim Space
#* Locate and select the FAT volume created earlier in macOS Disk Utility (e.g. "DELETEME"), click the Delete button (not Delete all)
#* Click Reclaim space button to accept changes and return to the main menu
# Click Begin Installation
|results=
|results=
# Fedora installer should boot normally.
# Fedora installer should boot normally, and complete installation without errors.
# Partition details should show a typical Fedora partition layout and an HFS+ partition both on the drive
# System should boot Fedora by default
# Bootloader configuration screen should have entries for both Fedora and "Other" ''(maybe? check this)''
# Rebooting while holding the Option key, there should be Mac and Fedora options in the boot manager.
# Fedora installation should complete normally
#* Making a choice here should result in the system booting the chosen operating system. Test both.
# OS X should boot normally and not notice the presence of the Fedora system at all
#* GRUB menu will have options for Fedora and OS X; the OS X entries are known to be non-functional.
# When rebooting back into Fedora, the system should boot normally.
 
}}
}}
[[Category:Installer Dual Boot Test Cases]]
[[Category:Installer Dual Boot Test Cases]]

Revision as of 04:46, 26 January 2017

Description

This test verifies that installing Fedora onto a Mac will result in a functioning dual-boot system: Fedora and macOS.

This test sequence is based on macOS Sierra (10.12), but should be compatible with older versions.


How to test

  1. Start with an "out of the box" Mac with a single volume
    • This excludes Macs already using "Boot Camp" to support dual-booting with Windows.
  2. Start Disk Utility (/Applications/Utilities/Disk Utility)
  3. Use Disk Utility to re-partition the drive
    • Click on the drive icon, rather than the Mac volume; this makes the Partition button in the toolbar active
    • Click on the Partition button in the toolbar
    • Click on the + button to add a partition
    • Use the interface to establish the desired size for the new partition. Setting Name to "DELETEME" and Format to "FAT" will make it easier to locate in the Fedora installer.
    • Click Apply. Click Partition. Then click Continue.
  4. Create Fedora installation media
    • Use Fedora Media Writer for macOS to create Fedora installation media.
    • Reboot holding down the Option key, and choose the "Fedora Media" option in the boot manager. Boot Fedora.
  5. Advance to Destination Installation spoke
    • Select the proper disk
    • Select "Automatic configure partitioning"
    • Click Done, when the Installation Options appears, choose Reclaim Space
    • Locate and select the FAT volume created earlier in macOS Disk Utility (e.g. "DELETEME"), click the Delete button (not Delete all)
    • Click Reclaim space button to accept changes and return to the main menu
  6. Click Begin Installation

Expected Results

  1. Fedora installer should boot normally, and complete installation without errors.
  2. System should boot Fedora by default
  3. Rebooting while holding the Option key, there should be Mac and Fedora options in the boot manager.
    • Making a choice here should result in the system booting the chosen operating system. Test both.
    • GRUB menu will have options for Fedora and OS X; the OS X entries are known to be non-functional.