The Manjaro partition is not recognized

Hi all,

I bring you here a little challenge I think!

for info: Dual boot win 10 / Manjaro

Here is the situation:

As a result of improper handling, my nvme lost all of its partitions.
After several boot attempts and other grub restoration, I run the live cd to recover my partitions with testdisk; success, but with some problems.
First, windows is dead, a large part of the files are missing (partial formatting, bad handling), it’s not my main OS, so it’s okay.
So, reinstallation of win10 hoping to be able to restore the GRUB later, and that’s where I block, because I can’t manage it, my Manjaro partition which is easily accessible from the file system, n ’ is not recognized as OS, so I can’t seem to reinstall the GRUB.
Here is what I have:

    [manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
    Installing for x86_64-efi platform.
    EFI variables are not supported on this system.
    EFI variables are not supported on this system.
    grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.

Sorry for my bad English.

Hello!

Please add the output of:

inxi -Fazy
sudo parted -l
efibootmgr -v

Thanks :wink:

inxi -Fazy
/usr/bin/inxi: illegal option -- a
Error 7: One of the options you entered in your script parameters: -Fazy
is not supported.The option may require extra arguments to work.
For supported options (and their arguments), check the help menu: inxi -h

[manjaro@manjaro ~]$ sudo parted -l
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  500GB  500GB  primary  ntfs


Model: ATA WDC WD10EARS-22Y (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1000GB  1000GB  primary  ntfs         boot


Model: ATA WDC WD10EALS-00Z (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size   Type     File system  Flags
 1      1049kB  175GB   175GB  primary  ntfs         boot
 2      175GB   1000GB  825GB  primary  ntfs


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Model: ASUS BW-16D1HT (scsi)                                              
Disk /dev/sr0: 1607MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos
Disk Flags: 

Number  Start  End    Size   Type     File system  Flags
 2      459kB  130MB  130MB  primary               esp


Model: Unknown (unknown)
Disk /dev/nvme0n1: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  473MB  472MB  ntfs               msftdata
 2      473MB   578MB  105MB  fat32              boot, esp
 3      595MB   124GB  124GB  ntfs               msftdata
 4      124GB   250GB  126GB  ext4               msftdata

[manjaro@manjaro ~]$ efibootmgr -v
BootCurrent: 000D
Timeout: 2 seconds
BootOrder: 000D,0001,000A,000C
Boot0001* Hard Drive	BBS(HD,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0200)..GO..NO..........K.I.N.G.S.T.O.N. .S.K.C.2.0.0.0.M.8.2.5.0.G...................\.,.@.r.d.=.X..........A...........................&.(#........6..Gd-.;.A..MQ..L.5.0.0.2.6.B.7.2.8.2.3.C.7.0.2.B........BO..NO..........W.D.C. .W.D.1.0.E.A.R.S.-.2.2.Y.5.B.1...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.V.A.D.5.7.5.0.8.8.9........BO..NO..........S.T.3.5.0.0.4.1.8.A.S...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .V.9.V.M.S.P.H.B........BO..NO..........W.D.C. .W.D.1.0.E.A.L.S.-.0.0.Z.8.A.0...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.T.A.0.R.4.2.8.2.8.1........BO
Boot0008* CD/DVD Drive	BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . .B.W.-.1.6.D.1.H.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.E.K.I.N.H.7.0.I.5.9. .0. . . . . . . . ........BO
Boot000A* CD/DVD Drive	BBS(CDROM,,0x0)/VenHw(5ce8128b-2cec-40f0-8372-80640e3dc858,0300)..GO..NO..........A.S.U.S. . . . .B.W.-.1.6.D.1.H.T...................\.,.@.r.d.=.X..........A.................................>..Gd-.;.A..MQ..L.E.K.I.N.H.7.0.I.5.9. .0. . . . . . . . ........BO
Boot000C* Windows Boot Manager	HD(2,GPT,6e2f4c3b-6377-8f44-a8ce-d98137f0af4c,0xe1800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)..BO
Boot000D* UEFI: ASUS    BW-16D1HT	PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x1)/Sata(0,65535,0)/CDROM(1,0x38,0xf800)..BO

You seem to be booted in BIOS mode. You should boot your USB media in UEFI mode. You have to check your BIOS/UEFI settings to see how to do that or check if your boot menu gives the option to boot the USB in UEFI mode.

I am on live dvd.

I just checked, the dvd is already booting in UEFI.

That is strange… how old is the dvd?

lsb_release -r

Have you run manjaro-chroot -a before running grub-install ?

It seems not:

Manjaro XFCE 16.10.3

yes

That version really really too old. Use a current version (at least 20.0.3). Manjaro is a rolling release. Things change fast. Or at least the Architect Version, with that you can install grub also.

ok, i will do that. thx

I got this feedback just after booting on manjaro kde live.

mount: /new_root: wrong fs type; bad option, bad superblock on overlay, missing codepage, or helper program, or other error.
bailling out, you are on your own. Good luck.

sh: can't acces tty; job control turned off

I guess this is your boot partition:

and this your root partition:

For what ever reason it is flagged as Microcheese Winblows Partition (msftdata). You need to remove that flag. Did winblows overwrite your root partition?

I think so, I was on win10 when there was an unwanted formatting of the disk. After that the disk was blank and I had to recover the partitions with testdisk.
Do I have to do this with testdisk or can I do this with garted? What do I put in place of msfdata, EFI? for both partitions, win10 and manjaro?
thx

Sure you can do this with gparted with rightclick on the partition and manage flags.

I would also recommend to check it with:

fsck.ext4 -ycf /dev/nvme0p4
[manjaro@manjaro ~]$ fsck.ext4 -ycf /dev/nvme0n1p4
e2fsck 1.43.3 (04-Sep-2016)
Checking for bad blocks (read-only test): done                                                 
/dev/nvme0n1p4: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Inode 5111937 extent tree (at level 2) could be narrower.  Fix? yes

Pass 1E: Optimizing extent trees
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/nvme0n1p4: ***** FILE SYSTEM WAS MODIFIED *****
/dev/nvme0n1p4: 592624/7684096 files (1.2% non-contiguous), 19473536/30720041 blocks

But flag is already msfdata…

R-E-M-O-V-E the flag :smiley: The root partition don’t need any flags, because you have a boot partition.

O-K! :sweat_smile: I thought it was necessary to replace it with another.

1 Like

I redo an installation of GRUB, here is the return.
I made cuts because it was really very long!

[manjaro@manjaro ~]$ sudo manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p4]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/mnt/Windows]
mount: special device /dev/disk/by-uuid/90A457A0A457881C does not exist
 --> mount: [/mnt/mnt/HDD_500Go_interne]
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
 --> mount: [/mnt/mnt/Stockage]
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sdb1': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

[manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck --verbose
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: info: /dev/nvme0n1p2 is not present.
grub-install: info: Looking for /dev/nvme0n1p2.
grub-install: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p2.
grub-install: info: /dev/nvme0n1p2 starts from 923648.
grub-install: info: opening the device hostdisk//dev/nvme0n1.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/nvme0n1 is 488397168.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/nvme0n1 is 488397168.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-install: info: no LDM signature found.
---------
grub-install: info: Partition 0 starts from 2048.
grub-install: info: Partition 1 starts from 923648.
grub-install: info: /dev/nvme0n1p2 is present.
grub-install: info: Looking for /dev/nvme0n1p2.
grub-install: info: /dev/nvme0n1 is a parent of /dev/nvme0n1p2.
grub-install: info: /dev/nvme0n1p2 starts from 923648.
grub-install: info: opening the device hostdisk//dev/nvme0n1.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/nvme0n1 is 488397168.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/nvme0n1 is 488397168.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: no LVM signature found.
grub-install: info: Partition 0 starts from 2048.
grub-install: info: Partition 1 starts from 923648.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/nvme0n1 is 488397168.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/regexp.mod' -> `/boot/grub/x86_64-efi/regexp.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/f2fs.mod' -> `/boot/grub/x86_64-efi/f2fs.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/parttool.mod' -> `/boot/grub/x86_64-efi/parttool.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/raid5rec.mod' -> `/boot/grub/x86_64-efi/raid5rec.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/macbless.mod' -> `/boot/grub/x86_64-efi/macbless.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/pbkdf2_test.mod' -> `/boot/grub/x86_64-efi/pbkdf2_test.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/lsmmap.mod' -> `/boot/grub/x86_64-efi/lsmmap.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/lsacpi.mod' -> `/boot/grub/x86_64-efi/lsacpi.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/linux16.mod' -> `/boot/grub/x86_64-efi/linux16.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/mmap.mod' -> `/boot/grub/x86_64-efi/mmap.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/bitmap_scale.mod' -> `/boot/grub/x86_64-efi/bitmap_scale.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/crc64.mod' -> `/boot/grub/x86_64-efi/crc64.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/read.mod' -> `/boot/grub/x86_64-efi/read.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/gzio.mod' -> `/boot/grub/x86_64-efi/gzio.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/video_bochs.mod' -> `/boot/grub/x86_64-efi/video_bochs.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/afsplitter.mod' -> `/boot/grub/x86_64-efi/afsplitter.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/iso9660.mod' -> `/boot/grub/x86_64-efi/iso9660.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/cmp.mod' -> `/boot/grub/x86_64-efi/cmp.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/ntfscomp.mod' -> `/boot/grub/x86_64-efi/ntfscomp.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/zfs.mod' -> `/boot/grub/x86_64-efi/zfs.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/echo.mod' -> `/boot/grub/x86_64-efi/echo.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/json.mod' -> `/boot/grub/x86_64-efi/json.mod'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi/usbserial_ftdi.mod' -> `/boot/grub/x86_64-efi/usbserial_ftdi.mod'.
-------------
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/nvme0n1.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: scanning hostdisk//dev/nvme0n1 for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/nvme0n1.
grub-install: info: no LVM signature found.
grub-install: info: Partition 0 starts from 2048.
grub-install: info: Partition 1 starts from 923648.
grub-install: info: grub-mkimage --directory '/usr/lib/grub/x86_64-efi' --prefix '(,gpt4)/boot/grub' --output '/boot/grub/x86_64-efi/core.efi'  --dtb '' --format 'x86_64-efi' --compression 'auto'  'ext2' 'part_gpt' 
.
grub-install: info: the total module size is 0x4700.
grub-install: info: reading /usr/lib/grub/x86_64-efi/kernel.img.
grub-install: info: locating the section .text at 0x0.
grub-install: info: locating the section .rodata at 0xe000.
grub-install: info: locating the section .rodata.str1.8 at 0xe880.
grub-install: info: locating the section .rodata.str1.1 at 0xf1df.
grub-install: info: locating the section .data at 0x106c0.
grub-install: info: locating the section .module_license at 0x11a10.
grub-install: info: locating the section .bss at 0x11a20.
grub-install: info: locating  at 0x1000 (0x1000).
grub-install: info: locating  at 0xf000 (0xf000).
grub-install: info: locating  at 0xf880 (0xf880).
grub-install: info: locating  at 0x101df (0x101df).
grub-install: info: locating  at 0x116c0 (0x116c0).
grub-install: info: locating  at 0x12a20 (0x12a20).
grub-install: info: locating  at 0x12a10 (0x12a10).
grub-install: info: locating  at 0x1000 (0x1000).
grub-install: info: locating grub_strlen at 0xc5d0 (0x1000).
grub-install: info: locating grub_net_poll_cards_idle at 0x1e980 (0x12a20).
grub-install: info: locating grub_efi_finish_boot_services at 0x4fc0 (0x1000).
grub-install: info: locating grub_disk_get_size at 0x88d0 (0x1000).
grub-install: info: locating grub_file_progress_hook at 0x1e6c0 (0x12a20).
grub-install: info: locating grub_efidisk_fini at 0x1750 (0x1000).
grub-install: info: locating grub_puts_ at 0xb990 (0x1000).
grub-install: info: locating grub_millisleep at 0x6f90 (0x1000).
grub-install: info: locating grub_fs_autoload_hook at 0x1e708 (0x12a20).
................
grub-install: info: dealing with the relocation section .rela.text for .text.
grub-install: info: relocating an R_X86_64_PC32 entry to 0x11a39 at the offset 0x3.
grub-install: info: relocating an R_X86_64_PC32 entry to 0x11a2a at the offset 0xa.
grub-install: info: relocating an R_X86_64_PC32 entry to 0xa139 at the offset 0x13.
grub-install: info: relocating an R_X86_64_64 entry to 0x12a38 at the offset 0x3c.
grub-install: info: relocating an R_X86_64_64 entry to 0x11aa at the offset 0x54.
grub-install: info: relocating an R_X86_64_64 entry to 0xc600 at the offset 0x76.
grub-install: info: relocating an R_X86_64_64 entry to 0x12aa0 at the offset 0x8e.
grub-install: info: relocating an R_X86_64_64 entry to 0x6320 at the offset 0x132.
grub-install: info: relocating an R_X86_64_64 entry to 0x10a0 at the offset 0x162.
grub-install: info: relocating an R_X86_64_64 entry to 0xc600 at the offset 0x182.
grub-install: info: relocating an R_X86_64_64 entry to 0x12aa0 at the offset 0x18d.
grub-install: info: relocating an R_X86_64_64 entry to 0x49e0 at the offset 0x2b2.
grub-install: info: relocating an R_X86_64_64 entry to 0x65d0 at the offset 0x2c6.
grub-install: info: relocating an R_X86_64_64 entry to 0x4af0 at the offset 0x2e2.
grub-install: info: relocating an R_X86_64_64 entry to 0x5350 at the offset 0x302.
grub-install: info: relocating an R_X86_64_64 entry to 0x6b20 at the offset 0x331.
grub-install: info: relocating an R_X86_64_64 entry to 0xf880 at the offset 0x352.
grub-install: info: relocating an R_X86_64_64 entry to 0xa370 at the offset 0x363.
............
grub-install: info: translating the relocation section .rela.text.
grub-install: info: adding a relocation entry for 0x103c.
grub-install: info: adding a relocation entry for 0x1054.
grub-install: info: adding a relocation entry for 0x1076.
grub-install: info: adding a relocation entry for 0x108e.
grub-install: info: adding a relocation entry for 0x1132.
grub-install: info: adding a relocation entry for 0x1162.
grub-install: info: adding a relocation entry for 0x1182.
grub-install: info: adding a relocation entry for 0x118d.
grub-install: info: adding a relocation entry for 0x12b2.
grub-install: info: adding a relocation entry for 0x12c6.
grub-install: info: adding a relocation entry for 0x12e2.
...............
grub-install: info: adding 48 padding fixup entries.
grub-install: info: writing 528 bytes of a fixup block starting at 0x12000.
grub-install: info: reading /usr/lib/grub/x86_64-efi/fshelp.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/ext2.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/part_gpt.mod.
grub-install: info: kernel_img=0x55877e88c880, kernel_size=0x1e000.
grub-install: info: the core size is 0x22700.
grub-install: info: writing 0x25000 bytes.
grub-install: info: grub-mkimage --directory '/usr/lib/grub/x86_64-efi' --prefix '' --output '/boot/grub/x86_64-efi/grub.efi'  --dtb '' --format 'x86_64-efi' --compression 'auto'  'ext2' 'part_gpt' 
.
grub-install: info: the total module size is 0x46f0.
grub-install: info: reading /usr/lib/grub/x86_64-efi/kernel.img.
grub-install: info: locating the section .text at 0x0.
grub-install: info: locating the section .rodata at 0xe000.
grub-install: info: locating the section .rodata.str1.8 at 0xe880.
grub-install: info: locating the section .rodata.str1.1 at 0xf1df.
grub-install: info: locating the section .data at 0x106c0.
grub-install: info: locating the section .module_license at 0x11a10.
grub-install: info: locating the section .bss at 0x11a20.
grub-install: info: locating  at 0x1000 (0x1000).
grub-install: info: locating  at 0xf000 (0xf000).
grub-install: info: locating  at 0xf880 (0xf880).
grub-install: info: locating  at 0x101df (0x101df).
grub-install: info: locating  at 0x116c0 (0x116c0).
grub-install: info: locating  at 0x12a20 (0x12a20).
grub-install: info: locating  at 0x12a10 (0x12a10).
grub-install: info: locating  at 0x1000 (0x1000).
grub-install: info: locating grub_strlen at 0xc5d0 (0x1000).
grub-install: info: locating grub_net_poll_cards_idle at 0x1e980 (0x12a20).
grub-install: info: locating grub_efi_finish_boot_services at 0x4fc0 (0x1000).
grub-install: info: locating grub_disk_get_size at 0x88d0 (0x1000).
grub-install: info: locating grub_file_progress_hook at 0x1e6c0 (0x12a20).
.............
grub-install: info: dealing with the relocation section .rela.text for .text.
grub-install: info: relocating an R_X86_64_PC32 entry to 0x11a39 at the offset 0x3.
grub-install: info: relocating an R_X86_64_PC32 entry to 0x11a2a at the offset 0xa.
grub-install: info: relocating an R_X86_64_PC32 entry to 0xa139 at the offset 0x13.
grub-install: info: relocating an R_X86_64_64 entry to 0x12a38 at the offset 0x3c.
grub-install: info: relocating an R_X86_64_64 entry to 0x11aa at the offset 0x54.
grub-install: info: relocating an R_X86_64_64 entry to 0xc600 at the offset 0x76.
grub-install: info: relocating an R_X86_64_64 entry to 0x12aa0 at the offset 0x8e.
grub-install: info: relocating an R_X86_64_64 entry to 0x6320 at the offset 0x132.
grub-install: info: relocating an R_X86_64_64 entry to 0x10a0 at the offset 0x162.
grub-install: info: relocating an R_X86_64_64 entry to 0xc600 at the offset 0x182.
grub-install: info: relocating an R_X86_64_64 entry to 0x12aa0 at the offset 0x18d.
grub-install: info: relocating an R_X86_64_64 entry to 0x49e0 at the offset 0x2b2.
grub-install: info: relocating an R_X86_64_64 entry to 0x65d0 at the offset 0x2c6.
grub-install: info: relocating an R_X86_64_64 entry to 0x4af0 at the offset 0x2e2.
grub-install: info: relocating an R_X86_64_64 entry to 0x5350 at the offset 0x302.
grub-install: info: relocating an R_X86_64_64 entry to 0x6b20 at the offset 0x331.
grub-install: info: relocating an R_X86_64_64 entry to 0xf880 at the offset 0x352.
grub-install: info: relocating an R_X86_64_64 entry to 0xa370 at the offset 0x363.
...............
grub-install: info: translating the relocation section .rela.text.
grub-install: info: adding a relocation entry for 0x103c.
grub-install: info: adding a relocation entry for 0x1054.
grub-install: info: adding a relocation entry for 0x1076.
grub-install: info: adding a relocation entry for 0x108e.
grub-install: info: adding a relocation entry for 0x1132.
grub-install: info: adding a relocation entry for 0x1162.
grub-install: info: adding a relocation entry for 0x1182.
grub-install: info: adding a relocation entry for 0x118d.
grub-install: info: adding a relocation entry for 0x12b2.
grub-install: info: adding a relocation entry for 0x12c6.
grub-install: info: adding a relocation entry for 0x12e2.
grub-install: info: adding a relocation entry for 0x1302.
grub-install: info: adding a relocation entry for 0x1331.
grub-install: info: adding a relocation entry for 0x1352.
grub-install: info: adding a relocation entry for 0x1363.
grub-install: info: adding a relocation entry for 0x1382.
................
grub-install: info: adding 48 padding fixup entries.
grub-install: info: writing 528 bytes of a fixup block starting at 0x12000.
grub-install: info: reading /usr/lib/grub/x86_64-efi/fshelp.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/ext2.mod.
grub-install: info: reading /usr/lib/grub/x86_64-efi/part_gpt.mod.
grub-install: info: kernel_img=0x55877e88c880, kernel_size=0x1e000.
grub-install: info: the core size is 0x226f0.
grub-install: info: writing 0x25000 bytes.
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/boot/efi/EFI/manjaro/grubx64.efi'.
grub-install: info: Registering with EFI: distributor = `manjaro', path = `\EFI\manjaro\grubx64.efi', ESP at hostdisk//dev/nvme0n1,gpt2.
grub-install: info: executing efibootmgr --version </dev/null >/dev/null.
grub-install: info: executing modprobe -q efivarfs.
EFI variables are not supported on this system.
grub-install: info: executing efibootmgr -c -d /dev/nvme0n1 -p 2 -w -L manjaro -l \EFI\manjaro\grubx64.efi.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.

So as you can see here… the problem is not grub, but efibootmgr. So it is related to you UEFI. Check your UEFI.

Is your windows hibernated or in fastboot mode? That could block grub and efibootmgr.

The problem is that since the reinstallation of the grub, windows does not start, I arrive on the blue repair page …
And I had shut down windows normally.