You are not logged in.

#26 2024-01-15 14:55:22

Zaphkiel224z
Member
Registered: 2024-01-11
Posts: 28

Re: XBOOTLDR, mounting to /efi and 100mb efi in Dual boot [SOLVED]

Head_on_a_Stick wrote:

An alternative would be to use /boot/grub/custom.cfg in Arch to boot Ubuntu using the symlinks in the Ubuntu root filesystem that always point to the current kernel version, something like this should work:

menuentry 'Ubuntu' {
   search --fs-uuid --set=root $uuid
   linux /vmlinuz ro quiet root=UUID=$uuid
   initrd /initrd.img
}

Replace $uuid with the filesystem UUID of the Ubuntu root partition and add any desired kernel command line options to the end of the linux line.

If you follow this approach the os-prober package in Arch should be removed to prevent multiple Ubuntu menuentries. EDIT: and reconfigure Arch's grub.cfg afterwards to remove the os-prober menuentries.

I'd rather keep it since I also have Windows that's, honestly more valuable to me than ubuntu.

Offline

#27 2024-01-15 15:00:11

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,386
Website

Re: XBOOTLDR, mounting to /efi and 100mb efi in Dual boot [SOLVED]

In which case you could either add a menuentry for Windows using the EFI system partition UUID in the search line and point the chainloder to /EFI/Microsoft/Boot/bootmgfw.efi or disable Ubuntu in os-prober by using the GRUB_OS_PROBER_SKIP_LIST option in /etc/default/grub.


Para todos todo, para nosotros nada

Offline

#28 2024-01-17 00:15:14

Zaphkiel224z
Member
Registered: 2024-01-11
Posts: 28

Re: XBOOTLDR, mounting to /efi and 100mb efi in Dual boot [SOLVED]

Head_on_a_Stick wrote:

In which case you could either add a menuentry for Windows using the EFI system partition UUID in the search line and point the chainloder to /EFI/Microsoft/Boot/bootmgfw.efi or disable Ubuntu in os-prober by using the GRUB_OS_PROBER_SKIP_LIST option in /etc/default/grub.

Thank you for your reply, I really appreciate that you and other people here have taken the time to help a newb like me. With that said... too much hassle. Maybe its the hyprland/wayland or the limited (although quite fruitful) use of AUR or even the endless knowledge I gained by not bricking my arch on the first try, but Arch feels much better than Ubuntu. If I don't brick it in the next few weeks, I'm probably gonna nuke ubuntu altogether and try to sew its space to arch.

Offline

Board footer

Powered by FluxBB