From Fedora Project Wiki

(added other macOS versions as supported, and included alert that Apple Silicon is not supported per discussion here: https://lists.fedorahosted.org/archives/list/test@lists.fedoraproject.org/message/MHNR3GVLSJVSAFQSZEMXCDJA6Q7TPLER/)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= QA/TestCases/InstallDualbootMacOSX =
+
{{QA/Test_Case
 +
|description=This test verifies that installing Fedora onto a Mac will result in a functioning dual-boot system: Fedora and macOS.
  
== Description ==
+
This test sequence is known to work on any version of macOS from Sierra (macOS 10.12) to Big Sur (macOS 11), but should be compatible with older versions.
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.
 
  
OS X 10.5 (Leopard) is the primary target, since older releases don't have Boot Camp and we can't (yet) resize HFS+.
+
{{admon/important|No Apple Silicon Support|Fedora does not support the Apple Silicon M1-based Mac computers. Only Intel x86_64 Macs are capable of running Fedora at this time.}}
  
== Steps To Reproduce ==
+
|actions=
 +
# 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.
 +
# Start Disk Utility (/Applications/Utilities/Disk Utility)
 +
# 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. Leave the Name "Untitled" and Format "Mac OS Extended" unchanged.
 +
#* Click Apply. Click Partition. Then click Continue.
 +
# Create Fedora installation media
 +
#* Use Fedora Media Writer for macOS to create Fedora installation media.
 +
#** Download development versions from [https://github.com/MartinBriza/MediaWriter/releases github], and official versions from [https://getfedora.org getfedora.org].
 +
#* Reboot holding down the {{key press|Opt}} (or right {{key press|Alt}}) 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 hfs+ "Untitled" volume created earlier in macOS Disk Utility, click the Delete button (not Delete all)
 +
#* Click Reclaim space button to accept changes and return to the main menu
 +
# Click Begin Installation
 +
|results=
 +
# Fedora installer should boot normally, and complete installation without errors.
 +
# System should boot Fedora by default
 +
# 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.
  
1. Start with a system with a typical, functioning OS X installation
+
}}
* Partition layout: primary disk has one partition, HFS+ formatted.
+
[[Category:Installer Dual Boot Test Cases]]
* If possible, just use a factory restore disk or similar
 
1. Start Boot Camp (/Applications/Utilities/Boot Camp Assistant)
 
1. STUB: use Boot Camp to create a partition for Fedora (recommend at least 10GB)
 
1. STUB: more details about Boot Camp go here
 
1. Boot the Fedora installer by whatever means are convenient (Install DVD is nice and easy)
 
* Hold down 'C' key when booting to boot from CD/DVD
 
1. Advance to partitioning screen
 
1. Choose "Use free space on selected drives and create default layout"
 
1. Enable "Review and modify partition layout" checkbox
 
1. Click "Next" and review partition details
 
1. Advance to bootloader configuration screen and rename "Other" to "OS X" ''(FIXME does this happen with OSX / EFI?)''
 
1. Complete the installation with whatever package set you like
 
1. Reboot system after installation and boot into OS X
 
1. After OS X boots successfully, reboot and hold the Alt/Option key to bring up the OS chooser
 
1. Choose "Windows" from the menu to boot Fedora (sigh)
 
 
 
== Expected Results ==
 
 
 
1. Fedora installer should boot normally.
 
1. Partition details should show a typical Fedora partition layout and an HFS+ partition both on the drive
 
1. Bootloader configuration screen should have entries for both Fedora and "Other" ''(maybe? check this)''
 
1. Fedora installation should complete normally
 
1. OS X should boot normally and not notice the presence of the Fedora system at all
 
1. When rebooting back into Fedora, the system should boot normally.
 
 
 
[[Category:Installer Test Cases|InstallDualbootMacOSX]]
 

Latest revision as of 05:38, 8 February 2021

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 known to work on any version of macOS from Sierra (macOS 10.12) to Big Sur (macOS 11), but should be compatible with older versions.

Important.png
No Apple Silicon Support
Fedora does not support the Apple Silicon M1-based Mac computers. Only Intel x86_64 Macs are capable of running Fedora at this time.


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. Leave the Name "Untitled" and Format "Mac OS Extended" unchanged.
    • 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 Opt (or right Alt) 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 hfs+ "Untitled" volume created earlier in macOS Disk Utility, 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.