Struck on grub rescue (coudn't boot)

i had fedora alongside manjaro . Today i decided to delete fedora so i deleted that partition using gparted and then i deleted 1 gb sized partition because i though it belonged to fedora and when i booted i had an error message

error : ../../grub-core/kern/disk.c:258: no such partition
Entering grub rescue

i tried ls in grub rescue and got the following output

hd0  (hd0,msdos1)

ls hd0 gave error : ../../grub-core/kern/disk.c:258: no such partition
and ls (hd0,msdos1) gave filesystem is ext2
so i tried to reinstall grub using the manjaro wiki
although i got this warning when installing grub it all went fine

warning: could not get file information for boot/grub/grub.cfg

but when i tried the command below

grub-install --force --target=i386-pc --recheck --boot-directory=/boot /dev/sda

it gave me the following error

Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `overlay'.

btw manjaro wiki talked about a boot partition and it doesnt exist in my drive so i dont have to apply any commands for that partition right?

below is the partition that i want to boot into its name is /dev/sda1

and when i tried this command manjaro-chroot -a
i got the following output

grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map
.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map
.
==> Mounting (ManjaroLinux) [/dev/sda1]
--> mount: [/mnt]
mount: /mnt: /dev/sda1 already mounted on /mnt.
mount: /mnt/sys: sys already mounted on /sys. ```

Are you sure that wasn’t your EFI or boot partition?

Are you sure you have a legacy boot installation? (edit: found a 5day old inxi which says you do:

)

Boot a live iso and post output of:

$ lsblk -f
$ fdisk -l

Also please mount your manjaro partition and post output of:

$ cat /path-to-mounted-manjaro/etc/fstab
1 Like
[manjaro@manjaro ~]$ lsblk -f
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                                                                         
└─sda1
     ext4   1.0         d62b0b2e-bfac-4cc0-8645-d4b67e3c6632   27.8G    62% /run/media/manjaro/d62b0b2e-bfac-4cc0-8645-d4b67e3c6632
sdb  iso966 Jolie MANJARO_KDE_2114
│                       2021-09-27-20-16-48-00                     0   100% /run/miso/bootmnt
├─sdb1
│    iso966 Jolie MANJARO_KDE_2114
│                       2021-09-27-20-16-48-00                              
└─sdb2
     vfat   FAT12 MISO_EFI
                        FC82-4342 
[manjaro@manjaro ~]$ sudo fdisk -l
Disk /dev/sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk model: Morebeck-V602 12
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: 0x03c0f6d6

Device     Boot   Start       End   Sectors  Size Id Type
/dev/sda1  *    1024000 180287487 179263488 85.5G 83 Linux


Disk /dev/loop0: 71.02 MiB, 74473472 bytes, 145456 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: 583.18 MiB, 611508224 bytes, 1194352 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: 1.8 GiB, 1932156928 bytes, 3773744 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/loop3: 735.85 MiB, 771596288 bytes, 1507024 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/sdb: 7.45 GiB, 8004304896 bytes, 15633408 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/sdb1  *         64 6772595 6772532  3.2G  0 Empty
/dev/sdb2       6772596 6780787    8192    4M ef EFI (FAT-12/16/32)

I’m not sure about that

and that 5 day old inxi output is the one so it means i do have legacy installation

there is no efi folder inside /sys/firmware so i think it is a no ( i checked inside dualboot pendrive)

there is no sys folder inside the partition i’m trying to boot is that normal?

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=d62b0b2e-bfac-4cc0-8645-d4b67e3c6632 /              ext4    defaults,noatime 0 1
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
/swapfile none swap defaults 0 0

I gave up😔 . i copied the files i needed to another external harddrive and re installed manjaro kde

Closed as OP re-installed.