Please help me with partition regarding uefi multi-boot ...
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.
Please help me with partition regarding uefi multi-boot ...
Hello
I want install Ubuntu 16.04 as my default OS and CentOS 7 as advanced learning OS. I have a hdd of 1TB with GPT partitioning scheme.
I partitioned as follows:
Code:
sda1 500M EFI
sda2 8G Swap
sda3 15G ext4 ## For Ubuntu
sda4 15G xfs ## For CentOS
sda5 200G ext4 ## Home for Ubuntu
sda6 200G xfs ## Home for CentOS
I installed Ubuntu on sda1 (/boot/efi), sda3 (/), sda5 (/home) and then installed CentOS on sda1 (/boot/efi), sda4 (/), sda6 (/home).
Following is happening:
I boot to CentOS grub2 menu, can boot to CentOS but when I select Ubuntu option, it says cannot find Ubuntu's kernel to boot.
I switched OSs, installed first CentOS and later installed Ubuntu. Same thing, i can boot to Ubuntu but cannot boot to CentOS. Same error message.
I tried os-prober and updated grub2, but still the same problem - cannot find kernel.
Please guide me on how I should solve this. Googled, but couldn't find any answers (all solutions are for dual boot with Windows only, no linux-linux dual boot). Is this even possible - multi-booting two linux distros in efi? Worked when using mbr though, but I don't want to use mbr.
Is there any other way I should partition my disk?
I see no harm in using a partition for /home. But you should not mix /home between different Gnu/Linux installs since that will certainly create issues. I like to configure my Slackware installation with;
I don't see anything wrong with your disk partitioning scheme. On UEFI/GPI systems, os-prober sometimes gets it wrong. Is CentOS your primary boot loader? I am less familiar with ubuntu. Perhaps someone else could help with that. Assuming CentOS, insert the following stanza in Cent's /etc/grub.d/40_custom:
You need to check where grub.cfg is stored. Usually for Fedora-based distros, it is in /boot/efi/EFI/******/grub.cfg
Find out where yours is located and reboot. If all goes well, your should see Ubuntu from Cent's grub menu.
I don't see anything wrong with your disk partitioning scheme. On UEFI/GPI systems, os-prober sometimes gets it wrong. Is CentOS your primary boot loader? I am less familiar with ubuntu. Perhaps someone else could help with that. Assuming CentOS, insert the following stanza in Cent's /etc/grub.d/40_custom:
You need to check where grub.cfg is stored. Usually for Fedora-based distros, it is in /boot/efi/EFI/******/grub.cfg
Find out where yours is located and reboot. If all goes well, your should see Ubuntu from Cent's grub menu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.