Grub won't show up after install

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
solanooliveira10
Level 1
Level 1
Posts: 1
Joined: Sun Dec 05, 2021 9:10 pm

Grub won't show up after install

Post by solanooliveira10 »

I tried to install mint, dual boot with windows 10, I used advanced partition option because I have ssd and hd. I put the grub in bios, but when trying to boot goes straight to windows boot recovery. I tried to reinstall grub by chroot and it didn't help.

That's my fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=1ad35ab7-b138-4e5d-8b8a-77e838a721e7 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=9CB5-055A /boot/efi vfat umask=0077 0 1
# /home was on /dev/sdb3 during installation
UUID=a720909e-0da9-43d5-bc16-64f223689eb6 /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=0bc47357-98b2-462e-9c60-214a16f3ee09 none swap sw
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
acerimusdux
Level 5
Level 5
Posts: 633
Joined: Sat Dec 26, 2009 3:36 pm

Re: Grub won't show up after install

Post by acerimusdux »

Well it looks like it's an efi system, rather than an older MBR system. I wouldn't know what can be done from the Windows recovery, but from a Mint USB live boot you can probably follow the instructions here:

https://linuxmint-installation-guide.re ... iboot.html

But to be sure it installs to the efi partition, rather than this:

Code: Select all

sudo mount /dev/sda4 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
I think I might try:

Code: Select all

sudo mount /dev/sda1  /opt
sudo mount /dev/sda4  /mnt
sudo grub-install --efi-directory=/opt  --root-directory=/mnt  /dev/sda
just to be absolutely sure it recognizes the efi partition and doesn't try to install an MBR. The only significance of opt and mnt here are that they are empty directories in the live boot that make for convenient places to mount the drives you need to install to.
Locked

Return to “Installation & Boot”