Grub not showing when Dual Booted with Windows 10 (Worked fine before)

The $esp partition in fstab is nowhere, or I just missed it.
Is it sda2? Check contents for a Manjaro folder.

1 Like

I...don't see it.

I'll post the output of fdisk -l as reference:

Disk /dev/sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: SanDisk SD6SF1M1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B5883739-6A69-4E38-A3DB-6CC37951D993

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1230847   1228800   600M Windows recovery environment
/dev/sda2    1230848   1845247    614400   300M EFI System
/dev/sda3    1845248   2107391    262144   128M Microsoft reserved
/dev/sda4    2107392 248078732 245971341 117.3G Microsoft basic data
/dev/sda5  248080384 250068991   1988608   971M Windows recovery environment


Disk /dev/sdb: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: HGST HTS721010A9
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E435D0CE-7E41-47C6-A6B7-52D33AD95FDE

Device          Start        End    Sectors   Size Type
/dev/sdb1        2048 1616543743 1616541696 770.8G Microsoft basic data
/dev/sdb2  1923743744 1953523711   29779968  14.2G Windows recovery environment
/dev/sdb3  1616543744 1667743743   51200000  24.4G Linux filesystem
/dev/sdb4  1667743744 1668792319    1048576   512M Linux filesystem
/dev/sdb5  1668792320 1669840895    1048576   512M Microsoft basic data
/dev/sdb6  1669840896 1678032895    8192000   3.9G Linux swap
/dev/sdb7  1678032896 1923743743  245710848 117.2G Linux filesystem

Partition table entries are not in disk order.




Disk /dev/sdc: 7.27 GiB, 7794589696 bytes, 15223808 sectors
Disk model: Cruzer Blade    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors Size Id Type
/dev/sdc1  *         64 4094111 4094048   2G  0 Empty
/dev/sdc2       4094112 4102303    8192   4M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 20 KiB, 20480 bytes, 40 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 88.69 MiB, 92983296 bytes, 181608 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 88.49 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

It's probably your problem. You might have made a change in partitions in WinOS, which changed UUID.
Check the contents of sda2 for Manjaro.

1 Like

tree -P /dev/sda2 | grep -i manjaro gives nothing

Use without filter

tree -P /dev/sda2

and post

efibootmgr -v

You are probably going to need this tutorial

1 Like
BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0007,0000,0005,0006
Boot0000* Windows Boot Manager	HD(2,GPT,6c1e69ef-4f92-4e96-a9d6-43cad68fc3a4,0x12c800,0x96000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0005* UEFI: IP4 Qualcomm Atheros PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(448a5b42d946,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0006* UEFI: IP6 Qualcomm Atheros PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(448a5b42d946,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0007* UEFI: SanDisk Cruzer Blade 1.27	PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(1,0)/HD(1,MBR,0x0,0x3e78a0,0x2000)..BO

This one worked! Now Manjaro shows up in the boot manager. I think this one fixed it for me!

BootCurrent: 0007
Timeout: 0 seconds
BootOrder: 0002,0001,0007,0000,0005,0006
Boot0000* Windows Boot Manager	HD(2,GPT,6c1e69ef-4f92-4e96-a9d6-43cad68fc3a4,0x12c800,0x96000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0001* manjaro	HD(5,GPT,b8e93b92-c2df-4bc4-a6fe-fe0142cfa9f9,0x6377c000,0x100000)/File(\EFI\manjaro\grubx64.efi)
Boot0002* manjaro	HD(1,GPT,e96be2ac-8d29-4a00-ba2d-c829a4c55c73,0x800,0x12c000)/File(\EFI\Manjaro\grubx64.efi)
Boot0005* UEFI: IP4 Qualcomm Atheros PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(448a5b42d946,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0006* UEFI: IP6 Qualcomm Atheros PCIe Network Controller	PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(448a5b42d946,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0007* UEFI: SanDisk Cruzer Blade 1.27	PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(1,0)/HD(1,MBR,0x0,0x3e78a0,0x2000)..BO

2 Likes

You have to make your fstab right. Proper UUID for $esp (sda2?).

I'm sorry, but how do you do that? /etc/fstab still shows the same thing, as you said. Also, there were 2 Manjaro Outputs in efibootmgr. Any ideas for removing the duplicate?

If you have installed grub at sda2, then change UUID of /boot/efi in your fstab with that of sda2, as showed in your posted info.

Can it be /boot? The output of fstab says that it is an ext4 filesystem, wheras /boot/efi is vfat, so it is from the usb??

You haven't reported what actions you have done and this makes our cooperation difficult, if not frustrating :disappointed:

Post

tree -P /dev/sda2

If there is a Manjaro folder there, then you can safely change the UUID of /boot/efi in fstab with sda2 UUID.
To delete an entry in EFI , use efibootmgr -o 0123 replacing 0123 with the respective entry you want to remove, as shown with efibootmgr -v.

1 Like

The output of tree -P /dev/sda2 is the complete Filesystem. There isn't any folder named Manjaro, but If that's what Manjaro is supposed to have, it is it /dev/sda2? I'll assume that's the case then

Also, I'm really sorry for making things difficult for you :frowning:. I'll try to improve on that

I thought sda2 was a vfat partition, most possibly the $esp (supposed to be /boot/efi).
How did you come up with grub installation and having EFI entries? Please inform what you have done.

I'll post my history after you linked that link to me.

9969  sudo inxi -SMDPuoaxxxz
 9970  fdisk -l
 9971  sudo fdisk -l
 9972  lsblk
 9973  sudo blkid
 9985  tree -P /dev/sda2 | grep -i "manjaro"
 9989  tree -P /dev/sda2t
 9996  efibootmgr -v
 9997  sudo grub-install /dev/sda
 9998  sudo update-grub
 9999  sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi\nsudo efibootmgr -c -d /dev/sda -p 1 -L "manjaro" -l "\EFI\Manjaro\grubx64.efi"
10000  efibootmgr -v
10001  cat /etc/fstab
10002  tree -P /dev/sda2 | grep -i "manjaro"

Post

ls -lR /boot/efi/EFI/?anjaro
lsblk -f

for ls -lR /boot/efi/EFI/?anjaro, i get:


/boot/efi/EFI/Manjaro:
total 132
-rwxr-xr-x 1 root root 135168 Aug 27 05:06 grubx64.efi

And /dev/sda2 in fdisk -l:

/dev/sda2    1230848   1845247    614400   300M EFI System

lsblk -f

NAME  FSTYPE LABEL      UUID                                 FSAVAIL FSUSE% MOUNTPOINT

sda                                                                             
├─sda1 ntfs     WinRE tools E40EB8550EB8230A                                    
├─sda2 vfat     SYSTEM      CABA-32D4                                           
├─sda3                                                                          
├─sda4 ntfs     OS_Install  F064BF3864BF0100                                    
└─sda5 ntfs                 848EEB6C8EEB5568                                    
sdb                                                                             
├─sdb1 ntfs     Data        78CEC2AFCEC2654A                                    
├─sdb2 ntfs     BIOS_RVY    A4A8C48EA8C46102                                    
├─sdb3 ext4                 cf35e4f8-09f3-40a3-95cd-b2f79caa0873    4.8G    75% /
├─sdb4 ext4                 f78b4f06-c02b-4724-ba51-faca11a370ae  397.8M    11% /boot
├─sdb5 vfat                 AE2B-F733                             510.7M     0% /boot/efi
├─sdb6 swap                 cf490047-737e-4dfc-93b9-3164dd0080de                [SWAP]
└─sdb7 ext4                 cc7641fa-966d-42cc-af18-756f130c96b8   99.2G     8% /home
sdc    iso9660  M1804       2019-03-12-09-50-33-00                              
├─sdc1 iso9660  M1804       2019-03-12-09-50-33-00                              
└─sdc2 vfat     MISO_EFI    F464-EFAB                                           
sr0 

Post

ls /boot/efi/EFI/Manjaro
ls /boot/efi/EFI/BOOT
blkid | grep UUID
lsblk -f
  1. ls /boot/efi/EFI/Manjaro
    grubx64.efi

  2. ls /boot/efi/EFI/BOOT
    bootx64.efi

  3. sudo blkid | grep UUID

/dev/sda1: LABEL="WinRE tools" UUID="E40EB8550EB8230A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="e96be2ac-8d29-4a00-ba2d-c829a4c55c73"
/dev/sda2: LABEL="SYSTEM" UUID="CABA-32D4" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6c1e69ef-4f92-4e96-a9d6-43cad68fc3a4"
/dev/sda4: LABEL="OS_Install" UUID="F064BF3864BF0100" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="d2d510fa-af77-4c9d-98cc-5f69026ee7ad"
/dev/sda5: UUID="848EEB6C8EEB5568" TYPE="ntfs" PARTUUID="6ca727bb-7ac1-4095-a86a-2372e375d6be"
/dev/sdb1: LABEL="Data" UUID="78CEC2AFCEC2654A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="006e0268-e586-400c-a6c1-6ae170dbf9ec"
/dev/sdb2: LABEL="BIOS_RVY" UUID="A4A8C48EA8C46102" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="58e3dc22-b1d3-4299-a871-596f364be71b"
/dev/sdb3: UUID="cf35e4f8-09f3-40a3-95cd-b2f79caa0873" TYPE="ext4" PARTUUID="361a875d-c7f6-4347-8539-2ae281685969"
/dev/sdb4: UUID="f78b4f06-c02b-4724-ba51-faca11a370ae" TYPE="ext4" PARTUUID="92f0a104-f10c-4cab-9bb0-185c991bcd0f"
/dev/sdb5: UUID="AE2B-F733" TYPE="vfat" PARTUUID="b8e93b92-c2df-4bc4-a6fe-fe0142cfa9f9"
/dev/sdb6: UUID="cf490047-737e-4dfc-93b9-3164dd0080de" TYPE="swap" PARTUUID="4ce3fe0d-dca9-4dba-9cb7-81a74c530756"
/dev/sdb7: UUID="cc7641fa-966d-42cc-af18-756f130c96b8" TYPE="ext4" PARTUUID="68b6fb6d-769d-4e41-9088-e2dc99f7a57c"
/dev/sdc1: UUID="2019-03-12-09-50-33-00" LABEL="M1804" TYPE="iso9660"
/dev/sdc2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="F464-EFAB" TYPE="vfat"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="b6f35e40-a1db-43b2-823f-d75847d7bd55"

  1. lsblk -f
sda                                                                             
├─sda1 ntfs     WinRE tools E40EB8550EB8230A                                    
├─sda2 vfat     SYSTEM      CABA-32D4                                           
├─sda3                                                                          
├─sda4 ntfs     OS_Install  F064BF3864BF0100                                    
└─sda5 ntfs                 848EEB6C8EEB5568                                    
sdb                                                                             
├─sdb1 ntfs     Data        78CEC2AFCEC2654A                                    
├─sdb2 ntfs     BIOS_RVY    A4A8C48EA8C46102                                    
├─sdb3 ext4                 cf35e4f8-09f3-40a3-95cd-b2f79caa0873    4.8G    75% /
├─sdb4 ext4                 f78b4f06-c02b-4724-ba51-faca11a370ae  397.8M    11% /boot
├─sdb5 vfat                 AE2B-F733                             510.7M     0% /boot/efi
├─sdb6 swap                 cf490047-737e-4dfc-93b9-3164dd0080de                [SWAP]
└─sdb7 ext4                 cc7641fa-966d-42cc-af18-756f130c96b8   99.2G     8% /home
sdc    iso9660  M1804       2019-03-12-09-50-33-00                              
├─sdc1 iso9660  M1804       2019-03-12-09-50-33-00                              
└─sdc2 vfat     MISO_EFI    F464-EFAB                                           
sr0 

Forum kindly sponsored by Bytemark