So, I’ve been having some bugs when I turn on my PC since I installed my GPU, and I figured a possible reason might be that it uses bios instead of uefi, although my motherboard supports uefi.

So I’ve been trying to change that, following the instructions from this reddit comment, cross-referenced with relevant arch wiki articles, all from the archiso key I used to install the OS in the first place. But I’m having trouble with the second-to last step: Mounting the newly created partition at /efi. I added the line

PARTLABEL=esp /efi fat32 defaults 0 2 In /etc/fstab Then I created the /efi directory and tried doing mount /dev/nvme0n1p4 /efi I get an error message telling me it can’t find an ext4 filesystem I don’t know why it’s expecting an ext4, several tutorials agreed it had to be a fat32. Then I try mount -t fat32 /dev/nvme0n1p4 /efi And get mount: /efi: unknown filesystem type ‘fat32’

So… Is it impossible to mount a fat32 system from the arch installation device ? If so, what’s the workaround? If not, is it something else I’m doing wrong?

This had taken me my whole afternoon, and in hindsight I would’ve saved more time reinstalling the whole system. This is not off the table, but the fact that I might be really close to success kinda dissuades me from doing that…

OS: Arch Linux x86_64 Kernel: 6.6.8-arch1-1

    • loaExMachina@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      Thank you ! However, now I’m getting a “bogus number of reserved sectors” error. A problem with the partition I made I guess…

        • loaExMachina@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          Thank you again. I got this when I try to run it. screen picture

          I tried once with only the esp partition and once with the who’e device, but same result. It’s also the same without the -r option. I tried using e2fsk as suggested by the output, but it also doesn’t work (without option or with -b it just displays the help page, with the -c option and either number it says “no such file or directory” and it won’t accept a non-numeric argument).

          If at this point you are tired of helping me, I completely understand; and I still have the option of reinstalling (the home is on its own partition and I’ve got a backup anyway, so I wouldn’t lose too much). Regardless, I am grateful for the help you’ve provided so far!

          • lemmyreader@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            8 months ago

            From the errors it seems like the partition is damaged, maybe beyond repair. Good that you are able to restore from backup.

    • loaExMachina@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 months ago

      I tried that. But yeah, seems like the partition was damaged. The tools I used were gdisk to convert my partition table from mbr to gpt and parted to make this partition in particular. But I think I did the first part wrong. Regardless, at this point I just assumed the whole thing was corrupted and I did a clean reinstall. Thank you for answering tho!