

And since the ESP is a FAT32 filesystem which is designed to be case-insensitive, the case of the names of directories and files under /mnt/boot/efi may vary. After that, a directory path like /mnt/boot/efi/EFI/ubuntu should now exist, assuming that traces of previous installation of Ubuntu's UEFI GRUB are still there. Mount the ESP to /mnt/boot/efi in the live medium.After that, /mnt/boot/efi and /mnt/boot/grub directories should now exist. Mount the /boot filesystem to /mnt/boot in the live medium.After that, /mnt/boot should now exist (among other things). Mount the root filesystem to /mnt in the live medium.
#CUSTOM MIOS INSTALLER REV 5 PASSWORD#
If you have not changed your password since that date. If your installation had /boot as a separate filesystem, you'll need three steps: On August 31, 2022, we implemented additional password rules that caused your previous password to expire. If it displays an error message "EFI variables are not supported on this system", you have most likely booted the system in legacy BIOS compatibility mode. You can verify the current boot mode by running sudo efibootmgr -v: if it outputs a list of boot settings, the system is booted in UEFI native mode.

And installing a UEFI version of GRUB requires access to UEFI NVRAM variables, which will only be available if the system is booted in native UEFI mode.
#CUSTOM MIOS INSTALLER REV 5 INSTALL#
What is in the remaining one?įirst, you'll need to boot your recovery live media using the same boot style (either BIOS or UEFI) as was used by the system you're trying to repair by default, the GRUB installer will auto-detect the type of bootloader to install according to the way the system is currently booted. Another might be a separate /boot filesystem. The remaining three partitions, sda1, sda4 and sda5 are all ext4. Because ESP exists on your disk, it indicates your system was previously booting in the native UEFI way. dev/sda2 seems to be your EFI System Partition (ESP), which should get mounted to /mnt/boot/efi. The "This GPT partition label contains no BIOS boot partition" message suggests that you may have booted your live media in legacy BIOS style, and as a result, you'll wind up trying to install a BIOS version of GRUB onto a GPT-partitioned disk. SOLUTION: I found the Culprit, I modified the FSTAB configuration with broken samba share link, everything is backed on. I got this when booting via UEFI, same as before, glitches and unable to select dpkg or anything. The problem is that I was following the procedure in this link askubuntu but I cannot since I do not have /mnt/boot/efi folder (I assume I did not have grub before?)ĮDIT: after successfully running all commands provided in answer, this is the result without pressing anything and launching the machine as is when booting I run it successfully but I still do not have access to Linux Mint cause it does not have a grub. I run a live medium to try to reinstall the boot method using bootloader since it appears to be the cause. Booting even in safe mode is impossible as the display starts to glitch. Yesterday after a boosted fan madness and unresponsive desktop, the laptop would not start again properly dpkg does not repair anything nor it is recognized when typed in the command line provided by the bricked laptop. I am to a dead end with a bricked laptop.
