There were times when I forgot chroot, but I did after. I did it earlier, and I have exactly the same feedback as on this previous message:
Ciceron:
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-insta[quote="Ciceron, post:18, topic:25750, full:true"]
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.
Note
If you get something like
EFI variables are not supported on this system.
Then install the efibootmgr
, dosfstools
and grub
packages and try steps 4 and 5 again.
If it still doesnât work, then try exiting the chroot environnment by typing exit , then loading the efivarfs module:
sudo modprobe efivarfs
and IN THE CHROOT
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
And if you get something like
grub-install: error: failed to get canonical path of `unionâ.
means that probably you forgot to chroot.
Boot0000* manjaro
Installation finished. No error reported.
But after reboot > Grub rescue
When I boot UEFI HDD (windows), do not start and go to the next one, before I had grub rescue as for manjaro.
Good so far. First guess from above was that grub couldnât find a kernel. Did you run sudo update-grub
after sudo grub-install
?
IN CHROOT
Is the kernel correctly installed? Reinstall itâŚ
Of course, thatâs was missing!
[manjaro@manjaro ~]$ sudo modprobe efivarfs
[manjaro@manjaro ~]$ sudo manjaro-chroot -a
==> 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 /]# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
[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: adding a relocation entry for 0x129b8.
grub-install: info: adding a relocation entry for 0x129c8.
grub-install: info: adding a relocation entry for 0x129d0.
grub-install: info: adding a relocation entry for 0x129e0.
grub-install: info: adding a relocation entry for 0x129e8.
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_msdos.mod.
grub-install: info: kernel_img=0x556f42223870, kernel_size=0x1e000.
grub-install: info: the core size is 0x22738.
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,msdos2.
grub-install: info: executing efibootmgr --version </dev/null >/dev/null.
grub-install: info: executing modprobe -q efivarfs.
grub-install: info: executing efibootmgr -c -d /dev/nvme0n1 -p 2 -w -L manjaro -l \EFI\manjaro\grubx64.efi.
BootCurrent: 000F
Timeout: 2 seconds
BootOrder: 0000,000F,000D,000E
Boot0008* CD/DVD Drive
Boot000D* Hard Drive
Boot000E* CD/DVD Drive
Boot000F* UEFI: ASUS BW-16D1HT
Boot0000* manjaro
Installation finished. No error reported.
[manjaro /]# sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.7-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.7-x86_64.img
Found initrd fallback image: /boot/initramfs-5.7-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
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
and⌠Grub recue after reboot
The last line above says:
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
Could that be a problem?
I will redo everything with a reinstallation of the kernel.
No, thatâs a known glitch of the memtest86+ part of update-grub. Itâs harmless
Do you get some error message why are you being thrown to rescue mode?
Yes! Please give us a boot log
journalctl -b -0 > boot.0.log && curl --upload-file boot.0.log https://aptget.xyz && rm boot.0.log
1 Like
Hey @megavolt , very handy that service! The command can be simplified a bit though:
journalctl -b -0 | curl --upload-file - https://aptget.xyz/boot.0.log
(It took some tries to find that )
Anyway, do you have access to to system log in rescue mode? If I understand it correctly, rescue mode is when grub can not boot the Linux system: " GRUB 2 is unable to find the grub folder or its contents are missing/corrupted. The grub folder contains the GRUB 2 menu, modules and stored environmental data."
1 Like
Your computer is correctly booting your UEFIâs Manjaro entry. Grub is installed, but it throws you to rescue mode. It seems that usually that is caused by a faulty /boot/grub folder. Can you show that folder from chroot?
ls -al /boot/grub
Can you also upload the full grub-install report (from chroot and with efivars enabled):
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck --verbose 2>&1 | curl --upload-file - https://aptget.xyz/grub-install
I updated the system to be able to reinstall the kernel, but:
[manjaro /]# sudo mhwd-kernel -i linux58
:: Synchronizing package databases...
core 169.2 KiB 289 KiB/s 00:01 [#####################################################] 100%
extra 2013.0 KiB 287 KiB/s 00:07 [#####################################################] 100%
community 6.2 MiB 289 KiB/s 00:22 [#####################################################] 100%
multilib 194.3 KiB 297 KiB/s 00:01 [#####################################################] 100%
error: no targets specified (use -h for help)
[manjaro /]# sudo mhwd-kernel -li
Currently running: 4.4.33-1-MANJARO (linux44)
The following kernels are installed in your system:
* linux414
* linux419
* linux54
* linux57
* linux58
[manjaro /]# sudo mhwd-kernel -i linux57
:: Synchronizing package databases...
core 169.2 KiB 290 KiB/s 00:01 [#####################################################] 100%
extra 2013.0 KiB 285 KiB/s 00:07 [#####################################################] 100%
community 6.2 MiB 288 KiB/s 00:22 [#####################################################] 100%
multilib 194.3 KiB 301 KiB/s 00:01 [#####################################################] 100%
error: no targets specified (use -h for help)
[manjaro /]# ls -al /boot/grub
total 48
drwxr-xr-x 5 root root 4096 Sep 20 13:19 .
drwxr-xr-x 5 root root 4096 Sep 20 13:19 ..
drwxr-xr-x 2 root root 4096 Aug 30 2019 fonts
-rw------- 1 root root 12300 Sep 20 13:19 grub.cfg
-rw-r--r-- 1 root root 1024 Sep 6 2019 grubenv
drwxr-xr-x 3 root root 4096 Aug 30 2019 themes
drwxr-xr-x 2 root root 12288 Sep 19 23:45 x86_64-efi
http://aptget.xyz/oMii6/grub-install
I remember talking about âchallengeâ when talking about my problem, I didnât think so much!
Your grub-install report seems fine and I think it is copying correctly the files needed by grub to boot, so the question is why are you been thrown to rescue mode? Do you get some error message at boot that can explain that?
When you are in grub rescue mode, what do you whet with ls
command?
error : No such partition
entering rescue mode...
grub rescue :
i try
In grub resue with âlsâ i have :
(hd0,msdos1) (hd1,msdos1) (hd2,msdos1,2,3and4)
and with âsetâ i have found
âext2 partitionâ (hd0,msdos3)/boot/grub
after i did:
set boot=(hd0,msdos3)
set prefix=(hd0,msdos3)/boot/grub
insmod normal
error : no such partition
ps: sorry, on android box
1 Like
I think your nvme drive is hd2. So EFI partition is (hd2,msdos2) and your Manjaro root partition is (hd2,msdos4). Try to confirm that the grub directory can be reached with
ls (hd2,msdos4)/boot/grub
You can try to boot your linux manually with the help of this guide: Grub2/Troubleshooting - Community Help Wiki
Letâs see where it leads
I would try to search where the grub partition is:
ls (hd0,1)/
ls (hd1,1)/
âŚetc
if you found the the correct partition then:
set the root partition:
set root=(hd0,1)
set the boot partition:
set prefix=(hd1,1)/boot/grub
then try to load the modules:
insmod normal
if everything goes well, then:
normal
to start the grub menu