yo. Today I installed EndeavourOS (HOLD ONTO YOUR HAT; THIS QUESTION IS ABOUT UBUNTU DON'T BAN IT), and whenever I tried starting my computer it booted into the EndeavourOS Bootloader (Grub, but different background). From there I couldn't start ubuntu. I wanted to go back to Ubuntu, so I inserted my Live USB, and deleted the partition with Endeavour Os, thinking everything would be fine, but NO. I tried restarting, and it entered Grub Rescue mode. Then I booted into my Live USB again and tried using Boot repair. Following Error:
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Then I tried using this answer, to try something else. I ran:
mount /dev/sda6 /mnt
>>
mount: /mnt: must be superuser to use mount.
and then I did sudo mount /dev/sda6 /mnt
>>
sudo: unable to allocate pty: No such device`
I tried some other stuff, but nothing worked. I couldn't find a solution to the first error, or to the second one.
Can anybody help me? Please. I wanna finish my homework.