Sorry if this question has already been answered, but there is a lot of information online and I am not sure what to do.
What I want, is a system where I can boot into Ubuntu or Windows from my computer startup. I think this is done by using GRUB but I'm not sure.
Here is everything that I have:
I have 3 disks:
When I boot up my computer, it boots into GRUB and asks me what I want to boot up.
To get this to work originally, I had to change some stuff in /etc/default/grub
.
Here is what it looks like (top half only):
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
I changed GRUB_TIMEOUT_STYLE
from hidden
to menu
, and I changed GRUB_TIMEOUT
from 0
to 10
.
The GRUB menu though only shows Ubuntu
, Advanced Options for Ubuntu
, and 2 memory tests.
After that, I installed boot-repair
using:
$ sudo add-apt-repository ppa:yannubuntu/boot-repair
$ sudo apt-get update
$ sudo apt-get install -y boot-repair
and I ran it using $ boot-repair
, clicked Recommended Repair
, and it outputted:
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.
According to other answers, I think I need to create an unformatted partition and give it the flag bios_grub
, but I'm not sure.
Extra info:
$ neofetch
returns: neofetch.
$ sudo os-prober
returns: /dev/sdc1:Windows 7:Windows:chain
.
Sorry if this question ended up too long or if there is a really simple fix.
I am quite new to Ubuntu and still getting used to the way it works.
Thanks in advance :)