10
submitted 10 months ago by laskobar@feddit.de to c/archlinux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] Heavybell@lemmy.world 2 points 10 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@literature.cafe 2 points 10 months ago

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

this post was submitted on 11 Dec 2023
10 points (100.0% liked)

Arch Linux

7173 readers
41 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS