i have just acquired a new laptop.
Naturally the first thing i did was to resize the Windows partition and install Linux Mint. That all went very smoothly and when finished, I rebooted.
That’s when the problems started.
Rebooting just brought me back into Windows. There was no sign of the normal GRUB menu. However, by using the function keys boot diagnostics (in my case pressing F9 during bootup) I was able to boot into Linux. So both OSs were working but I could only boot into Windows.
I eventually found a solution the would explicitly install GRUB. I followed the procedure and it worked.
in case the linked site above disappears for any reason, the commands are as follows –
Firstly, you need to boot into your Linux system. If your current bootloader is broken, you might have to use a live CD or USB of your Linux distribution.
Once you have booted into Linux, open a terminal window to execute the necessary commands.
Before installing GRUB, you need to identify the disk where you want to install it. To list the disks and partitions, use the command:
lsblk
or
sudo fdisk -l
In my case, the above told me the correct partition is at /dev/nvme0n1p1.
Install GRUB to the Master Boot Record (MBR) of the desired disk using:
sudo grub-install /"target"
where “target” is the result of the previous command. In my case the command was sudo grub-install /dev/nvme0n1p1
After installing GRUB, you need to generate the GRUB configuration file. Use the command:
sudo update-grub
Alternatively, you can use:
sudo grub-mkconfig -o /boot/grub/grub.cfg
That’s it! GRUB is now installed.
Reboot.