From Fedora Project Wiki

(bootcamp doesn't seem to do what needed, disk utility does)
(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/)
 
(5 intermediate revisions by 2 users not shown)
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 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.
 +
 
 +
{{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.}}
  
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. Leave the Name "Untitled" and Format "Mac OS Extended" unchanged.
# 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)
+
#** 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=
 
|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]]

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.