Still it fails. I tried the suggested commands in Restore_the_GRUB_Bootloader
in the EFi section.
manjaro-chroot produces error and does not mount the installed system. So after mounting the / partition to /mnt and the efi partition /mnt/boot/efi
cd /
for i in proc sys dev; do mount -o bind $i /mnt/$i; done
chroot /mnt/
created a /etc/resolv.conf file
executed pacman -Syu grub
The system upgraded to current succesfully.
Then grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Produces EFI variables are not supported on this system.
So back to outside of chroot modprobe efivarfs
re enter chroot and
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
back to
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
grub-mkconfig -o /boot/grub/grub.cfg
Now this produces:
[manjaro-mate /]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file …
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
[manjaro-mate /]#
I thought that this may have to do with the usbstick, so I shutdown and restart. BUT AGAIN right into Windoz10…
Back to usbstick and to the live session
[manjaro@manjaro-mate ~]$ sudo parted -l
Model: Kingston DataTraveler 102 (scsi)
Disk /dev/sda: 16.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 2541MB 2545MB 4194kB primary esp
Model: KBG30ZMV256G KIOXIA (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, esp
2 274MB 290MB 16.8MB Microsoft reserved partition msftres
3 290MB 151GB 150GB ntfs Basic data partition msftdata
5 151GB 151GB 537MB fat32 msftdata
6 151GB 153GB 2147MB linux-swap(v1) swap
7 153GB 256GB 102GB ext4
4 256GB 256GB 554MB ntfs Basic data partition hidden, diag
[manjaro@manjaro-mate ~]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 4.0 0 100% /run/miso/sfs/li
loop1 squashfs 4.0 0 100% /run/miso/sfs/mh
loop2 squashfs 4.0 0 100% /run/miso/sfs/de
loop3 squashfs 4.0 0 100% /run/miso/sfs/ro
sda iso9660 Joliet Ext MANJARO_MATE_2001 2020-05-14-17-25-18-00
├─sda1 iso9660 Joliet Ext MANJARO_MATE_2001 2020-05-14-17-25-18-00 0 100% /run/miso/bootmn
└─sda2 vfat FAT12 MISO_EFI AD68-2A04
nvme0n1
├─nvme0n1p1 vfat FAT32 SYSTEM 925E-C28E
├─nvme0n1p2
├─nvme0n1p3 ntfs Windows 428E01F98E01E5EF
├─nvme0n1p4 ntfs Windows RE tools D2B09121B0910CDB
├─nvme0n1p5 vfat FAT32 B9DD-CE37 510.7M 0% /mnt/boot/efi
├─nvme0n1p6 swap 1 12de25c7-a40e-443e-8298-77e15b587dea
└─nvme0n1p7 ext4 1.0 45eae8d4-77f1-4a61-bfda-3f05c7bf3bef 81.2G 8% /mnt
[manjaro@manjaro-mate ~]$ blkid
/dev/nvme0n1p1: LABEL=“SYSTEM” UUID=“925E-C28E” BLOCK_SIZE=“512” TYPE=“vfat” PARTLABEL=“EFI system partition” PARTUUID=“a15eefae-1da6-4ac1-9ec8-fac87f45d79d”
/dev/nvme0n1p3: LABEL=“Windows” BLOCK_SIZE=“512” UUID=“428E01F98E01E5EF” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“864e0635-b25d-47e4-9d0a-bc73789153fe”
/dev/nvme0n1p5: UUID=“B9DD-CE37” BLOCK_SIZE=“512” TYPE=“vfat” PARTUUID=“b9b39650-ab1a-df4c-a1ec-534df53f40e8”
/dev/nvme0n1p6: UUID=“12de25c7-a40e-443e-8298-77e15b587dea” TYPE=“swap” PARTUUID=“ad06c2f4-bf34-5d40-aa83-fd79de1c1b90”
/dev/nvme0n1p7: UUID=“45eae8d4-77f1-4a61-bfda-3f05c7bf3bef” BLOCK_SIZE=“4096” TYPE=“ext4” PARTUUID=“3e5bbaa8-1424-ae47-9f18-ec15855d9923”
/dev/nvme0n1p4: LABEL=“Windows RE tools” BLOCK_SIZE=“512” UUID=“D2B09121B0910CDB” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“b6728bf5-c5e7-4ddb-8052-fa59f5a73e98”
/dev/loop0: TYPE=“squashfs”
/dev/loop1: TYPE=“squashfs”
/dev/loop2: TYPE=“squashfs”
/dev/loop3: TYPE=“squashfs”
/dev/sda1: BLOCK_SIZE=“2048” UUID=“2020-05-14-17-25-18-00” LABEL=“MANJARO_MATE_2001” TYPE=“iso9660”
/dev/sda2: SEC_TYPE=“msdos” LABEL_FATBOOT=“MISO_EFI” LABEL=“MISO_EFI” UUID=“AD68-2A04” BLOCK_SIZE=“512” TYPE=“vfat”
[manjaro@manjaro-mate ~]$ efibootmgr -v
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0002,2001,0001,0000,2002,2004
Boot0000* EFI Hard Drive (KBG30ZMV256G KIOXIA) PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-08-0D-04-00-D2-92-45)/HD(5,GPT,b9b39650-ab1a-df4c-a1ec-534df53f40e8,0x11897800,0x100000)RC
Boot0001* Windows Boot Manager HD(1,GPT,a15eefae-1da6-4ac1-9ec8-fac87f45d79d,0x800,0x82000)/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.}…
Boot0002* manjaro HD(5,GPT,b9b39650-ab1a-df4c-a1ec-534df53f40e8,0x11897800,0x100000)/File(\EFI\manjaro\grubx64.efi)
Boot0003* USB Hard Drive (UEFI) - KingstonDataTraveler 102 (KingstonDataTraveler 102) PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x0,0x4bb7d0,0x2000)RC
Boot2001* EFI USB Device RC
Boot3001* Internal Hard Disk or Solid State Disk RC
What is so wrong with all this…???