a authored by Alexander Douglas Yelovich's avatar Alexander Douglas Yelovich
# Tutorial: Installing Ubuntu multi-boot on your computer # Tutorial: Installing Ubuntu Multi-Boot on your Windows Computer
[[_TOC_]] [[_TOC_]]
# Why Ubuntu? # On Windows (Partitioning and Creating an Installer)
See: [Explanation: What are Ubuntu, Linux, and ROS?](/training/explanation-what-are-ubuntu-linux-and-ros) Note that if you have a separate drive from your Windows installation, then we highly
recommend using that drive for Ubuntu, even if it is not an SSD. This will make your life
# Why Dual Boot? much easier.
Dual booting is the process of modifying your hard drive so that multiple 1. In Windows, open Disk Management by searching for it in the start menu.
operating systems can be run on the same machine. We opted for this method 2. Right click the drive you want to install Ubuntu on (if you only have one drive then
of installing Ubuntu so that you can still use your old operating system for choose the one with `C:`). For instance, in the picture below, since there is only one drive, I
everyday tasks while having the ability to use Ubuntu for club activities. would right click on the box that says `Disk 0` (on the far left).
![Disk Management Prompt](../uploads/training/diskmgmt.png)
# Why not Virtual Machines? * Choose Shrink Volume
* Enter the desired size for the Ubuntu installation. We suggest around 80 GiB with an absolute
If you are aware of what a virtual machine (VM) is, this is a reasonable minimum of 40 GiB.
question. After all, VMs tend to be much easier to set up than a dual boot, * There should now be a block in that row that says `Unallocated`.
and your data is more likely to be protected in a VM setup compared to a 3. Download the Ubuntu 20.04 ISO from [here](https://releases.ubuntu.com/focal/ubuntu-20.04.6-desktop-amd64.iso).
dual boot setup. After two-plus years of working with VMs, we decided that 4. Create a Bootable Installer for the Ubuntu ISO:
too many GPU, peripheral device, and networking problems made VMs much more * There are many ways to create a bootable installer, a decent choice is [Rufus](https://rufus.ie/en/).
of a hinderance than a native "bare-metal" Linux installation. Obviously since
we do not expect you to uproot your operating system choice and completely # On Ubuntu (The First Reboot and Installing)
switch over to Linux, we decided to officially support a dual boot solution.
If you are really comfortable with VMs, then you are welcome to go ahead and 5. Reboot and enter the boot picker on your computer.
set one up, although we will not be able to help you with VM-related problems * This is usually done by just repeatedly pressing one of `Esc`, `Delete`, `F10`, or `F12` keys
throughout the year (with some exceptions). while your computer is starting up. There usually is a small splash screen when you start your
computer telling you which key to press. You can look up the model of your computer or
# Preparing your Current Setup for Ubuntu motherboard (if you are on a desktop) to figure out which key to press.
* Once you enter your boot picker, select your USB drive.
*BE SURE THAT YOU HAVE BACKED UP ANY IMPORTANT DATA BEFORE PROCEEDING* * You should enter another, similar looking screen, select `Try or Install Ubuntu`.
* When prompted, choose
## Windows 10/11 * Install Ubuntu
* Minimal Installation
See: [Preparing for Multi-Boot on Windows 10/11](/training/preparing-windows-for-multi-boot) * Download Updates
* Install Third Party Software
## macOS 6. Once you reach the screen for choosing the install location, choose `Something Else`.
![Ubuntu Formatting](../uploads/training/ubuntu-partition.png)
If you are running an Arm Mac, unfortunately there is not really a decent * On this screen, double click the free space you created back in Windows.
virtualization option that we are aware of that utilizes hardware graphical * For size, enter 512 MiB.
acceleration. We are currently looking into alternatives: * For type, enter EFI
* Choose Primary, and Beginnning of Space
For Intel Mac users, see: [Preparing for Multi-Boot on macOS](/training/preparing-mac-for-multi-boot) 7. Repeat Step 6 with the following exceptions:
* For size, enter twice the amount of RAM available in your computer (If you do not know,
type `Control-Alt-T` and then at the prompt type: `lshw -c memory`. The memory entry is the
amount of RAM in your computer. Type `exit` to return to the original window).
* Select End of Space for the location
* For type, choose `swap area`.
8. Repeat Step 6 with the following exceptions:
* For size just use the default entry (which should be the rest of the free space)
* For type choose `ext4`.
* For the mount point choose `/`.
9. Continue and fill in account details, and then the installation should begin. Once it is done
your computer should restart and then you should see a screen that looks like the start of the
installation. This is the grub bootloader. Whenever you want to boot into Ubuntu, select the
`Ubuntu` option, and whenever you want to boot into Windows choose the `Windows Boot Manager`
option.
## Linux ## Linux
... ...
......