Changing the default startup to MacOS in Ubuntu can be a useful option if you frequently switch between operating systems on your computer. By setting MacOS as the default startup option, you can save time and avoid manually selecting the operating system every time you start your computer.
In this article, we will guide you through the process of changing the default startup to MacOS in Ubuntu. Please note that this guide is intended for entry-level users and assumes that you have basic knowledge of using Ubuntu.
Step 1: Install and Configure rEFInd Boot Manager
The first step is to install and configure the rEFInd boot manager. This boot manager allows you to choose the default operating system at startup.
- Open the Terminal by pressing
Ctrl + Alt + Ton your keyboard. - Enter the following command to add the rEFInd repository:
- Press
Enterto confirm adding the repository. - Update the package list by entering the following command:
- Install rEFInd by entering the following command:
- During the installation, you will be prompted to select the partitions where rEFInd should be installed. Choose the partition where Ubuntu is installed.
- After the installation is complete, restart your computer.
sudo add-apt-repository ppa:rodsmith/refind
sudo apt update
sudo apt install refind
Step 2: Set MacOS as the Default Startup Option
Now that you have installed rEFInd, you can set MacOS as the default startup option.
- When your computer restarts, you will see the rEFInd boot manager screen.
- Use the arrow keys on your keyboard to select the MacOS option.
- Press
Enterto boot into MacOS. - Once you are in MacOS, open a Terminal window.
- Enter the following command to set MacOS as the default option in rEFInd:
- Restart your computer.
sudo efibootmgr -o 80
After following these steps, MacOS should be set as the default startup option in Ubuntu. Whenever you start your computer, it will automatically boot into MacOS without requiring any manual selection.
Step 3: Reverting Back to Ubuntu as the Default Startup Option
If you ever want to revert back to Ubuntu as the default startup option, you can follow these steps:
- Boot into Ubuntu.
- Open a Terminal window.
- Enter the following command to set Ubuntu as the default option in rEFInd:
- Restart your computer.
sudo efibootmgr -o 0
After restarting your computer, Ubuntu will be set as the default startup option.
Conclusion
Changing the default startup to MacOS in Ubuntu can be a convenient option for users who frequently switch between operating systems. By following the steps outlined in this article, you can easily set MacOS as the default startup option in Ubuntu.
References
| Reference | Link |
|---|---|
| rEFInd Boot Manager | https://www.rodsbooks.com/refind/ |
| Ubuntu Documentation | https://help.ubuntu.com/ |