Cyb3r
28 May 2022 13:11
1
Hello everyone! So I’ve kinda got myself into a little predicament recently. I currently dual-boot on my system between Windows and Manjaro KDE and I was getting quite low on storage space on my Manjaro partition so I decided to shrink my Windows partition to free up some space to allocate to my Manjaro partition. I was able to boot into a live environment and used the GNOME disks utility to resize my Manjaro partition with the unallocated space. After doing so, I rebooted my system to try and get back in however upon boot I was greeted with
error: file ‘/boot/grub/x86_64-efi/normal.mod’ not found.
Currently I’m in the grub rescue prompt now. Any help would be much appreciated.
reinstall grub from manjaro live usb… wollow this link
Cyb3r
28 May 2022 14:17
3
Thanks for the response! I’ve been on that page before, however I’m still relatively new to Linux and struggled a bit following along. I’m currently stuck on trying to access manjaro-chroot as sudo and it outputs:
ERROR: Can’t create chroot on non-directory
Any ideas?
did you used this command:
sudo manjaro-chroot -a
and copy the whole output here of that command
Cyb3r
28 May 2022 14:32
5
Yes, I did! Here’s the output:
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device map.
ERROR: No Linux partitions detected!
I’m not sure if its checking the wrong device, however I only have one storage device in my system and my Linux install is located on /dev/nvme0n1p5.
is that the whole output?
and this: grub-probe: error: cannot find a GRUB drive for /dev/sda1
that is for the usb, so you can ignore it
and is your disk encrypted?
Cyb3r
28 May 2022 14:44
7
That’s the whole output. And as far as I know, I don’t believe my disk is encrypted.
and whats the output from:
lsblk -f
Cyb3r
28 May 2022 14:56
9
Here’s the output:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squash 4.0 0 100% /run/miso/sfs/livefs
loop1 squash 4.0 0 100% /run/miso/sfs/mhwdfs
loop2 squash 4.0 0 100% /run/miso/sfs/desktopfs
loop3 squash 4.0 0 100% /run/miso/sfs/rootfs
sda iso966 Jolie MANJARO_KDEM_2121
2022-01-03-15-59-24-00 0 100% /run/miso/bootmnt
├─sda1 iso966 Jolie MANJARO_KDEM_2121
│ 2022-01-03-15-59-24-00
└─sda2 vfat FAT12 MISO_EFI 7B90-D77B
nvme0n1
├─nvme0n1p1
│ vfat FAT32 ESP 1C06-C590
├─nvme0n1p2
│
├─nvme0n1p3
│ ntfs Acer C6F007E9F007DF15
├─nvme0n1p4
│ ntfs Recovery DC9208F19208D1C6
└─nvme0n1p5
ext4 1.0 5a35ab7a-9309-444e-81fb-f82d05a3243f
use formatting, click this icon in the editor:</> and put the text inside
Cyb3r
28 May 2022 15:06
11
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squash 4.0 0 100% /run/miso/sfs/livefs
loop1 squash 4.0 0 100% /run/miso/sfs/mhwdfs
loop2 squash 4.0 0 100% /run/miso/sfs/desktopfs
loop3 squash 4.0 0 100% /run/miso/sfs/rootfs
sda iso966 Jolie MANJARO_KDEM_2121
2022-01-03-15-59-24-00 0 100% /run/miso/bootmnt
├─sda1 iso966 Jolie MANJARO_KDEM_2121
│ 2022-01-03-15-59-24-00
└─sda2 vfat FAT12 MISO_EFI 7B90-D77B
nvme0n1
├─nvme0n1p1
│ vfat FAT32 ESP 1C06-C590
├─nvme0n1p2
│
├─nvme0n1p3
│ ntfs Acer C6F007E9F007DF15
├─nvme0n1p4
│ ntfs Recovery DC9208F19208D1C6
└─nvme0n1p5
ext4 1.0 5a35ab7a-9309-444e-81fb-f82d05a3243f
Sorry about that.
post also output from:
test -d /sys/firmware/efi && echo efi || echo bios
sudo parted -l
Cyb3r
28 May 2022 15:10
13
test -d /sys/firmware/efi && echo efi || echo bios sudo parted -l
efi
those are 2 different commands:
sudo parted -l
sudo lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME
Cyb3r
28 May 2022 15:14
15
Oops. The first output was efi and here’s the second:
sudo parted -l ✔
Model: USB SanDisk 3.2Gen1 (scsi)
Disk /dev/sda: 30.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
2 3173MB 3177MB 4194kB primary esp
Model: HFM256GDJTNG-8310A (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 106MB 105MB fat32 EFI system partition boot, esp
2 106MB 123MB 16.8MB Microsoft reserved partition msftres
3 123MB 205GB 205GB ntfs Basic data partition msftdata
5 205GB 255GB 49.8GB ext4 root
4 255GB 256GB 1074MB ntfs Basic data partition hidden, diag
and the other command:
sudo lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME
Cyb3r
28 May 2022 15:18
17
sudo lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME 1 ✘
PATH PTTYPE PARTTYPE FSTYPE PARTTYPENAME
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/sda dos iso9660
/dev/sda1 dos 0x0 iso9660 Empty
/dev/sda2 dos 0xef vfat EFI (FAT-12/16/32)
/dev/nvme0n1 gpt
/dev/nvme0n1p1 gpt c12a7328-f81f-11d2-ba4b-00a0c93ec93b vfat EFI System
/dev/nvme0n1p2 gpt e3c9e316-0b5c-4db8-817d-f92df00215ae Microsoft reserved
/dev/nvme0n1p3 gpt ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 ntfs Microsoft basic data
/dev/nvme0n1p4 gpt de94bba4-06d1-4d40-a16a-bfd50179d6ac ntfs Windows recovery environment
/dev/nvme0n1p5 gpt 0fc63daf-8483-4772-8e79-3d69d8477de4 ext4 Linux filesystem
try this:
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
Cyb3r
28 May 2022 15:21
19
sudo mount /dev/nvme0n1p1 /mnt/boot/efi ✔ 29s
mount: /mnt/boot/efi: mount point does not exist.
dmesg(1) may have more information after failed mount system call.
and this:
sudo mount /dev/nvme0n1p1 /mnt