The first OS on laptop was Windows 10. After that, I have added Manjaro. Manjaro has added a Grub menu, with entry’s for Manjaro and Windows. Now I want to switch to Arch. I have installed Arch on a separate partition. Arch has not added a entry in this grub menu, but this was expected. I have used update-grub from Manjaro, what added Arch to the menu.

But for some reason I can’t edit the menu from within Arch.

I have tried to understand Arch Wiki what I have to do, to edit this menu from Arch. Can someone please help me to get this to work? I have tried to add my EFI partition /dev/sda1 via fstab to /boot/efi like in Manjaro, but this doesn’t help to find the same menu with grub-customizer.

Any idea’s?

    • sudo_suOP
      link
      fedilink
      17 months ago

      df -h

      Manjaro:

      dev             7,8G       0  7,8G    0% /dev
      run             7,8G    1,9M  7,8G    1% /run
      /dev/sdb3        68G     50G   15G   78% /
      tmpfs           7,8G       0  7,8G    0% /dev/shm
      tmpfs           7,8G    9,0M  7,8G    1% /tmp
      /dev/sdb4       587G    272G  285G   49% /mnt/games
      /dev/sda1       296M     56M  241M   19% /boot/efi
      tmpfs           1,6G    100K  1,6G    1% /run/user/1000
      

      Arch:

      dev             7,8G       0  7,8G    0% /dev
      run             7,8G    1,7M  7,8G    1% /run
      efivarfs        128K     46K   78K   38% /sys/firmware/efi/efivars
      /dev/sdb5        69G     21G   45G   32% /
      tmpfs           7,8G       0  7,8G    0% /dev/shm
      tmpfs           7,8G    8,6M  7,8G    1% /tmp
      /dev/sdb4       587G    272G  285G   49% /mnt/games
      /dev/sda1       296M     56M  241M   19% /boot/efi
      tmpfs           1,6G    108K  1,6G    1% /run/user/1000
      /dev/sdb2       1,2T    796G  332G   71% /mnt/volume
      
      • sudo_suOP
        link
        fedilink
        37 months ago

        I got it to work…

        I have used the command grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id="Arch Linux" before, but without success. This didn’t worked before. But now…

        I have no idea, whats changed. Anyhow. Im happy.

  • @Heavybell@lemmy.world
    link
    fedilink
    English
    27 months ago

    I’m a gentoo user, so I don’t know how either manjaro or arch lay out their partitions. But in my case, the grub.cfg (menu) file is actually on the root partition, in /boot. The efi partition contains only the grub loader, which I presume knows where to look for grub.cfg because that’s how grub2-setup installed it.

    It’s possible you have a similar issue. Your manjaro partition may have a /boot dir which is where grub.cfg is located. Even if your arch partition also has /boot it won’t matter if the grub loader doesn’t read it.

    • @thanksforallthefish
      link
      27 months ago

      You’re correct. /boot is the location for grub.cfg for a vanilla manjaro install and a grub using arch install