3

I want to have Dual Boot, the problem is that if I install Arch Linux after Ubuntu I don't know how to make that Arch Linux detect Ubuntu.

I partitioned Ubuntu in this way

enter image description here

In Arch I only create root partition, so the result is this

enter image description here

Then I did this:

 mkfs.ext4 /dev/sda4
 mount /dev/sda4 /mnt
 mkdir /mnt/boot
 mkdir /mnt/boot/EFI
 mount /dev/sda1 /mnt/boot/EFI

The result is

enter image description here

Close to finish the installation I did

pacman -S grub efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

But don't Found Ubuntu

Obs: I try making one EFI partition for Ubuntu and other EFI partition for Arch, I did the same process and nothing.

So what I need to do to add Ubuntu to Arch Linux grub. Thx

  • Did you install Arch in /dev/sda4 once you made a partition for it? – K7AAY Apr 28 '20 at 20:44
  • If u mean the pacstrap, genfstab etc yes – Mitsworth SCZD Apr 28 '20 at 20:49
0

You've done everything correctly, as far as I can see.

A couple of steps will solve the issue, as root (sudo):

# pacman -S os-prober
# os-prober

And, that's it. It's almost easier than Ubuntu; more elegant, certainly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.