Editing grub Menü dual boot not working

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?

Heavybell,
@Heavybell@lemmy.world avatar

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,

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

nitrolife,
@nitrolife@rekabu.ru avatar

Show df -h from Manjaro and Arch please.

laskobar,

df -h

Manjaro:


<span style="color:#323232;">dev             7,8G       0  7,8G    0% /dev
</span><span style="color:#323232;">run             7,8G    1,9M  7,8G    1% /run
</span><span style="color:#323232;">/dev/sdb3        68G     50G   15G   78% /
</span><span style="color:#323232;">tmpfs           7,8G       0  7,8G    0% /dev/shm
</span><span style="color:#323232;">tmpfs           7,8G    9,0M  7,8G    1% /tmp
</span><span style="color:#323232;">/dev/sdb4       587G    272G  285G   49% /mnt/games
</span><span style="color:#323232;">/dev/sda1       296M     56M  241M   19% /boot/efi
</span><span style="color:#323232;">tmpfs           1,6G    100K  1,6G    1% /run/user/1000
</span>

Arch:


<span style="color:#323232;">dev             7,8G       0  7,8G    0% /dev
</span><span style="color:#323232;">run             7,8G    1,7M  7,8G    1% /run
</span><span style="color:#323232;">efivarfs        128K     46K   78K   38% /sys/firmware/efi/efivars
</span><span style="color:#323232;">/dev/sdb5        69G     21G   45G   32% /
</span><span style="color:#323232;">tmpfs           7,8G       0  7,8G    0% /dev/shm
</span><span style="color:#323232;">tmpfs           7,8G    8,6M  7,8G    1% /tmp
</span><span style="color:#323232;">/dev/sdb4       587G    272G  285G   49% /mnt/games
</span><span style="color:#323232;">/dev/sda1       296M     56M  241M   19% /boot/efi
</span><span style="color:#323232;">tmpfs           1,6G    108K  1,6G    1% /run/user/1000
</span><span style="color:#323232;">/dev/sdb2       1,2T    796G  332G   71% /mnt/volume
</span>
laskobar,

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • archlinux@lemmy.ml
  • ethstaker
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • InstantRegret
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • cisconetworking
  • GTA5RPClips
  • kavyap
  • mdbf
  • megavids
  • tester
  • osvaldo12
  • tacticalgear
  • khanakhh
  • everett
  • modclub
  • anitta
  • Leos
  • cubers
  • normalnudes
  • provamag3
  • JUstTest
  • lostlight
  • All magazines