From Fedora Project Wiki

m (Convert to QA/Test_Case template)
(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/)
(7 intermediate revisions by 3 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 Boot Camp (/Applications/Utilities/Boot Camp Assistant)
# Use Disk Utility to re-partition the drive
# STUB: use Boot Camp to create a partition for Fedora (recommend at least 10GB)
#* Click on the drive icon, rather than the Mac volume; this makes the Partition button in the toolbar active
# STUB: more details about Boot Camp go here
#* Click on the Partition button in the toolbar
# Boot the Fedora installer by whatever means are convenient (Install DVD is nice and easy)
#* Click on the + button to add a partition
#* Hold down 'C' key when booting to boot from CD/DVD
#* Use the interface to establish the desired size for the new partition. Leave the Name "Untitled" and Format "Mac OS Extended" unchanged.
# Advance to partitioning screen
#* Click Apply. Click Partition. Then click Continue.
# Choose "Use free space on selected drives and create default layout"
# Create Fedora installation media
# Enable "Review and modify partition layout" checkbox
#* Use Fedora Media Writer for macOS to create Fedora installation media.
# Click "Next" and review partition details
#** Download development versions from [https://github.com/MartinBriza/MediaWriter/releases github], and official versions from [https://getfedora.org getfedora.org].
# Advance to bootloader configuration screen and rename "Other" to "OS X" ''(FIXME does this happen with OSX / EFI?)''
#* 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.
# Complete the installation with whatever package set you like
# Advance to Destination Installation spoke
# Reboot system after installation and boot into OS X
#* Select the proper disk
# After OS X boots successfully, reboot and hold the Alt/Option key to bring up the OS chooser
#* Select "Automatic configure partitioning"
# Choose "Windows" from the menu to boot Fedora (sigh)
#* 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]]

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.