Somehow my grub got corrupted while updating my Pop!_OS System. I rewrote the partition, grub-install, boot-repair, I tried anything.
Well, I can boot by typing the following lines.
set prefix=(hd1,gpt3)/boot/grub set root=(hd1,gpt3) insmod normal normal But I can't get grub to do it automatically. It's not "that bad", but it's really annoying to type that down everytime I boot.
Is there any config File I can use to "automate" that stuff again? Thank you in advise!
**
EDIT: I tried update-grub, grub-install. Various methods, I just don't get it.
**
Here's some basic information:
Kernel: 5.19.0-76051900-generic
Partitions:
/dev/md0p3 / /dev/md0p4 /home /dev/md0p1 /boot/efi Here is a tree of my /boot directory:
. ├── config-5.18.10-76051810-generic ├── config-5.19.0-76051900-generic ├── efi │ ├── EFI │ │ ├── BOOT │ │ │ ├── bkpbootx64.efi │ │ │ └── bootx64.efi │ │ ├── pop │ │ │ ├── grub.cfg │ │ │ └── grubx64.efi │ │ ├── pop_os │ │ │ ├── grub.cfg │ │ │ └── grubx64.efi │ │ └── Pop_OS-f8340379-32a0-45b0-82fa-f157f426bd50 │ │ ├── cmdline │ │ ├── initrd.img │ │ ├── initrd.img-previous │ │ ├── vmlinuz.efi │ │ └── vmlinuz-previous.efi │ └── loader │ ├── entries │ │ ├── Pop_OS-current.conf │ │ └── Pop_OS-oldkern.conf │ └── loader.conf ├── grub │ ├── fonts │ │ └── unicode.pf2 │ ├── grub.cfg │ ├── grubenv │ ├── locale # Tons of locale-files │ │ └── zh_TW.mo │ ├── unicode.pf2 │ └── x86_64-efi │ #Tons of .mod files │ ├── xzio.mod │ ├── zfscrypt.mod │ ├── zfsinfo.mod │ ├── zfs.mod │ └── zstd.mod ├── grub.bak │ ├── grub.cfg │ └── grubenv ├── initrd.img -> initrd.img-5.19.0-76051900-generic ├── initrd.img-5.17.5-76051705-generic-nouveau ├── initrd.img-5.18.10-76051810-generic ├── initrd.img-5.19.0-76051900-generic ├── initrd.img.old -> initrd.img-5.18.10-76051810-generic ├── System.map-5.18.10-76051810-generic ├── System.map-5.19.0-76051900-generic ├── vmlinuz -> vmlinuz-5.19.0-76051900-generic ├── vmlinuz-5.18.10-76051810-generic ├── vmlinuz-5.19.0-76051900-generic └── vmlinuz.old -> vmlinuz-5.18.10-76051810-generic
grub.cfg. I see you have three copies of that (two is normal). Looks like maybe you have a duplicate in EFI, one of those is probably stale, and I'd bet the stale one is the default. Try changing your boot order; check file dates and maybe delete the duplicate (after changing boot order).sudo update-grubsudo grub-installIf UEFI & correct ESP - efi system partition is in fstab (check mount if changing) & you have been able to manually boot no extra mount or parameters required. I show a reinstall on my sytem: ubuntuforums.org/showthread.php?t=2478104 If not booted into system, you many need chroot or Boot-Repair.