You are not logged in.

#1 2017-02-03 18:56:40

almalh
Member
Registered: 2017-02-03
Posts: 3

[SOLVED] Can't have both Ubuntu and Arch on the GRUB menu

So I've installed ArchLinux and, after installing GRUB, only ArchLinux shows up in the menu and if I use boot-repair from a Ubuntu LiveUSB, then both show up but ArchLinux cant boot (with this error:)

Kernel offset
End kernel panic. Not syncing: VFS.
Unable to mount root fs on unknown-block.

If I try the solution proposed here,I'm back to having only Arch show up on the GRUB menu (although it can boot).

How can I have both working?

EDIT: Thanks to Stewart Little for the solution: Installing the package os-prober in Arch allows the command "grub-mkconfig -o /boot/grub/grub.cfg" to find other OS's and add them to the menu.

Last edited by almalh (2017-02-06 14:25:42)

Offline

#2 2017-02-03 19:02:16

Stewart Little
Guest

Re: [SOLVED] Can't have both Ubuntu and Arch on the GRUB menu

What about installing os-prober? This detects other OSes.....

#3 2017-02-03 21:02:58

almalh
Member
Registered: 2017-02-03
Posts: 3

Re: [SOLVED] Can't have both Ubuntu and Arch on the GRUB menu

Not sure how I'm supposed to use that. Should I use it from Arch or from Ubuntu?

Offline

#4 2017-02-03 21:10:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Can't have both Ubuntu and Arch on the GRUB menu

https://wiki.archlinux.org/index.php/GRUB#Dual-booting

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-02-03 21:20:27

Stewart Little
Guest

Re: [SOLVED] Can't have both Ubuntu and Arch on the GRUB menu

@almalh - Please install it on the Arch Linux partition via

pacman -S os-prober

And then do the following command grub-mkconfig -o /boot/grub/grub.cfg - it should then be able to pick up the Ubuntu installation without any issues.If not you can discuss it further on this thread which you've started.

#6 2017-02-06 14:24:18

almalh
Member
Registered: 2017-02-03
Posts: 3

Re: [SOLVED] Can't have both Ubuntu and Arch on the GRUB menu

Worked like a charm, thanks a lot.

Offline

Board footer

Powered by FluxBB