Changes
Page history
a
authored
Aug 23, 2023
by
Alexander Douglas Yelovich
Show whitespace changes
Inline
Side-by-side
training/tutorial-installing-ubuntu-multi-boot-on-your-windows-computer.md
View page @
4aeaf3f6
# Tutorial: Installing Ubuntu
m
ulti-
b
oot on your
c
omputer
# Tutorial: Installing Ubuntu
M
ulti-
B
oot on your
Windows C
omputer
[[
_TOC_
]]
# Why Ubuntu?
See:
[
Explanation: What are Ubuntu, Linux, and ROS?
](
/training/explanation-what-are-ubuntu-linux-and-ros
)
# Why Dual Boot?
Dual booting is the process of modifying your hard drive so that multiple
operating systems can be run on the same machine. We opted for this method
of installing Ubuntu so that you can still use your old operating system for
everyday tasks while having the ability to use Ubuntu for club activities.
# Why not Virtual Machines?
If you are aware of what a virtual machine (VM) is, this is a reasonable
question. After all, VMs tend to be much easier to set up than a dual boot,
and your data is more likely to be protected in a VM setup compared to a
dual boot setup. After two-plus years of working with VMs, we decided that
too many GPU, peripheral device, and networking problems made VMs much more
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
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
set one up, although we will not be able to help you with VM-related problems
throughout the year (with some exceptions).
# Preparing your Current Setup for Ubuntu
*BE SURE THAT YOU HAVE BACKED UP ANY IMPORTANT DATA BEFORE PROCEEDING*
## Windows 10/11
See:
[
Preparing for Multi-Boot on Windows 10/11
](
/training/preparing-windows-for-multi-boot
)
## macOS
If you are running an Arm Mac, unfortunately there is not really a decent
virtualization option that we are aware of that utilizes hardware graphical
acceleration. We are currently looking into alternatives:
For Intel Mac users, see:
[
Preparing for Multi-Boot on macOS
](
/training/preparing-mac-for-multi-boot
)
# On Windows (Partitioning and Creating an Installer)
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
much easier.
1.
In Windows, open Disk Management by searching for it in the start menu.
2.
Right click the drive you want to install Ubuntu on (if you only have one drive then
choose the one with
`C:`
). For instance, in the picture below, since there is only one drive, I
would right click on the box that says
`Disk 0`
(on the far left).

*
Choose Shrink Volume
*
Enter the desired size for the Ubuntu installation. We suggest around 80 GiB with an absolute
minimum of 40 GiB.
*
There should now be a block in that row that says
`Unallocated`
.
3.
Download the Ubuntu 20.04 ISO from
[
here
](
https://releases.ubuntu.com/focal/ubuntu-20.04.6-desktop-amd64.iso
)
.
4.
Create a Bootable Installer for the Ubuntu ISO:
*
There are many ways to create a bootable installer, a decent choice is
[
Rufus
](
https://rufus.ie/en/
)
.
# On Ubuntu (The First Reboot and Installing)
5.
Reboot and enter the boot picker on your computer.
*
This is usually done by just repeatedly pressing one of
`Esc`
,
`Delete`
,
`F10`
, or
`F12`
keys
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
motherboard (if you are on a desktop) to figure out which key to press.
*
Once you enter your boot picker, select your USB drive.
*
You should enter another, similar looking screen, select
`Try or Install Ubuntu`
.
*
When prompted, choose
*
Install Ubuntu
*
Minimal Installation
*
Download Updates
*
Install Third Party Software
6.
Once you reach the screen for choosing the install location, choose
`Something Else`
.

*
On this screen, double click the free space you created back in Windows.
*
For size, enter 512 MiB.
*
For type, enter EFI
*
Choose Primary, and Beginnning of Space
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
...
...
...
...