Is there some easy command line that will fix this? I don't know grub very well kitty-cri

For context I was reinstalling vlc, I guess I should have updated first

  • maccruiskeen [he/him]
    hexagon
    ·
    1 year ago

    There were some updates that I didn't do before reinstalling vlc. Anyways it's not recognizing 'grub-mkconfig' or 'mkconfig' as a command

    • PorkrollPosadist [he/him, they/them]
      ·
      1 year ago

      What you're looking at (at least in the screenshot you posted) is Grub. Grub has a command line of its own, but it is extremely limited. It is only capable of locating / booting kernels. grub-mkconfig is an ordinary program which can only be used after you've booted a functioning Linux system. This is why sovietknuckles recommends booting the installation media.

      • sovietknuckles [they/them]
        ·
        1 year ago

        @maccruiskeen@hexbear.net If you are booted into the installer, the grub-mkconfig command won't be found.

        For step 3, mounting the partitions, mount your computer's root partition to /mnt, then mount your computer's boot partition to /mnt/boot

        If you do that, step 4 is just arch-chroot /mnt.

        And then maybe grub-mkconfig will be found?

    • captcha [any]
      ·
      edit-2
      1 year ago

      If grub-mkconfig from inside an arch-chroot isn't working then double check what your boot loader actually is. Check pacman -Qs grub and pacman -Qs boot. If its something weird like systemd-bootd I'd be pissed at the manjaro team.

      If it looks like its grub and just the grub-mkconfig binary isn't installed then pacman -Ss to figure out what it is and download it. Maybe you did a partial update and it got lost.

      Also check if /etc/default/grub exists. You also just look under the hood in /boot