Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I tried to install Manjaro and Ubuntu in a single HDD 250GB
But the grubs of the two distros are giving me headaches with the installations. I tried installing one distro first, the second one with sharing efi and swap, then updating the grub (sudo update-grub). But always I have problems, no matter if the first distro is manjaro or ubuntu.
But the grubs of the two distros are giving me headaches
Give more detail in the problem. Normally the distro installed last will be the grub menu you see when you turn on the system.
If there is a kernel update in the other distro you will need to reboot back into the distro that controls the grub menu and rerun the command that updates the grub boot menu. If it isn't working as it should another option is to create a custom menuentry that will load the grub.cfg configfile of the other distro in the /etc/grub/40_custom file.
post the ouput of
Code:
parted -l
Last edited by colorpurple21859; 09-09-2020 at 03:17 AM.
Did a test in a vm duel booting ubuntu and manjaro, I think I see what the problem is. The distros grub os-prober are not producing correct menu entries for booting the other system. A work around would be to create a /etc/grub.d/15_custom file in ubuntu with this in it:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Manjaro configfile"{
insmod part_gpt
insmod ext2
set root='hd0,gpt?'
configfile /boot/grub/grub.cfg
}
where the ? will be the partition number of Manjaro counting from one. You can make a copy of the /etc/grub.d/40_custom and rename it 15_custom
You will have to make it exectable with
Code:
sudo chmod +x /etc/grub.d/15_custom
Then run
Code:
sudo update-grub
What this does is produces a ubntu grub menu entry that will upload manjaro boot menu.
Last edited by colorpurple21859; 09-17-2020 at 08:11 PM.
Location: san cristobel de las casas, chiapas, mexico
Distribution: i am using ubuntu together with manjaro
Posts: 1
Rep:
thank you very much for this superb info
i am using manjaro alongside ubuntu and both work oke, the only thing is that ubuntu boots normally meanwhile i have to use an alternative boot for manjaro (initrans or something like this), the grub is the ubuntu grub,
i am trying to fix this and your information is great, its just that meanwhile i am not sure what these commands exactly mean i am first trying to figure it out a bit more before running them,
anyway, you are helping me greatly and giving me some confidence i will be able to work it out,
thank you
peter
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.