I can't boot into my system after deleting a GPT part of my disk and clone it with clonezilla

so what is this then?

i dont even know if to install grub for bios or grub for efi…

It’s an SSD I use for video storage while I edit it.

so lets reinstall grub for the sdc:

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

any errors?

Installing for i386-pc platform.
grub-install: error: cannot open directory `/boot/grub/i386-pc': No such file or directory

are you sure manjaro is on the sdc?

100% sure

dont know what to do, reinstalling didnt worked…
post output from:
cat /etc/fstab
blkid

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
/dev/mapper/root-imag

Does not return anything.

well thats a problem… also the fstab is empty … have no idea what happened, or how to fix it…
are you chrooted?
is it encrypted?
can you access data on your manjaro?

Not right now.

It isn’t.

I can

are you kidding me… were you running the reinstall command from chroot?

I was. Is that bad?

no you should run the grub reinstall from chroot…
so chroot and post output from:
cat /etc/fstab
blkid

1 Like
# /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=3aaddde2-0c49-4517-a237-3653c52bb908                /                                           ext4    noatime                           0 1 
tmpfs                                                    /tmp                                        tmpfs   noatime,mode=1777                 0 0 
/dev/disk/by-uuid/7acfdcff-3b26-4ef7-99ce-bee9516d1514   /mnt/7acfdcff-3b26-4ef7-99ce-bee9516d1514   auto    nosuid,nodev,nofail,x-gvfs-show   0 0 
/dev/disk/by-uuid/D65248D45248BB4F                       /mnt/D65248D45248BB4F                       auto    nosuid,nodev,nofail,x-gvfs-show   0 0 
/dev/disk/by-uuid/18b311dc-2cab-4886-a5de-2cb0bbe0cd5d /mnt/18b311dc-2cab-4886-a5de-2cb0bbe0cd5d auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/loop1: TYPE="squashfs"
/dev/nvme0n1p1: LABEL="FS" UUID="18b311dc-2cab-4886-a5de-2cb0bbe0cd5d" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="61c0f66d-01"
/dev/sdd2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="C80E-8B3F" BLOCK_SIZE="512" TYPE="vfat"
/dev/sdd1: BLOCK_SIZE="2048" UUID="2022-08-16-12-52-10-00" LABEL="MANJARO_KDE_2137" TYPE="iso9660"
/dev/sdb1: UUID="33e3e4c4-00f3-4887-96d8-7cba21e8e7ad" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="808555af-01"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/sdc1: UUID="3aaddde2-0c49-4517-a237-3653c52bb908" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="fb8e62e6-01"
/dev/nvme1n1p1: LABEL="Speedy" BLOCK_SIZE="512" UUID="D65248D45248BB4F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="4c50de92-c777-4111-8321-28b397b80dc3"
/dev/sda1: LABEL="HDD" UUID="7acfdcff-3b26-4ef7-99ce-bee9516d1514" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="7777f5f8-16af-42c2-ac50-23acacbb14ef"
/dev/loop3: TYPE="squashfs"

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

Worked now. I might have not been chrooted :sweat:

:unamused:
so now run:
mkinitcpio -P && update-grub
and post output from it here

==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: 'default'
  -> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64.img
==> Starting build: 4.14.280-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
install: cannot stat '/lib/modules/4.14.280-1-MANJARO/modules.builtin.modinfo': No such file or directory
depmod: WARNING: could not open modules.builtin.modinfo at /tmp/mkinitcpio.pk0RXB/root/lib/modules/4.14.280-1-MANJARO: No such file or directory
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: 'fallback'
  -> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64-fallback.img -S autodetect
==> Starting build: 4.14.280-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
install: cannot stat '/lib/modules/4.14.280-1-MANJARO/modules.builtin.modinfo': No such file or directory
depmod: WARNING: could not open modules.builtin.modinfo at /tmp/mkinitcpio.8iejBs/root/lib/modules/4.14.280-1-MANJARO: No such file or directory
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.76-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.76-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful

i see something related to 4.14 kernel…
so post output from:
mhwd-kernel -li
and also post output from:
update-grub

Currently running: 5.15.60-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux414
   * linux515

Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-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
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

remove the end of life kernel:
pacman -Rs linux414
if there are no errors, reboot and see if it helped