[SOLVED] Need a guide for installing Ubuntu, openSUSE and CentOS on one hard drive
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.
Need a guide for installing Ubuntu, openSUSE and CentOS on one hard drive
Hi all,
I'm a newb with Linux and have been trying to follow the edX Linux Foundation course to learn the basics but have been having difficulties trying to install all of the used distros. The distros used are Ubuntu, OpenSUSE and CentOS. I have been trying to partition these systems on to one hard drive but have been unsuccessful so far and would very much appreciate a detailed walkthrough for how to setup these three distributions onto one hard drive or being redirected to where I can find a guide to do so. Thanks a bunch!
Welcome.
Simple question, no simple answer. This might be a situation where it is better just to install one system (say Ubuntu or OenSUSE - let it default on disk space), then use a VM system like virtualbox to install the other 2 as guests. That way you get emulated disk, network whatever all supported. VBox is well supported and documented.
Searching on "manual partitioning ubuntu install" got a few good looking guides - make sure you pick a current one, not too old. Same applies for the others as well - especially if you are using CentOS 7.
To help further we need a lot more info - BIOS or UEFI firmware on the machine ?. MBR or gpt disk ?. How many partitions already - is Windows on the system ?.
If you're using UEFI, IMO makes it easier. 250 MB fat32 partition shared as /boot/efi on all 3 (/dev/sda1). ~25 GB / partition each(/dev/sda 2/3/4). Single swap partition of ~2x ram (depending on how much ram you have)(/dev/sda5). Huge /home drive, can even share it between the OS's if you want (/dev/sda6).
Each would install their own EFI entry, just make the one default that you like the best in your firmware, grub-efi should automatically detect each of the installed OS's, and add each to the bootloader in order to choose which to boot. Then just make sure to edit each OS's /etc/fstab so that they don't touch another OS's / partition.
The biggest problem, IMO, if you share a home drive would be old versions of software in CentOS compared to Ubuntu and OpenSuse.
I've done it in MBR also, but I think UEFI is way easier.
Done it before with OpenSuse, Kubuntu and Debian. No issues if they all use relatively similar version of the same software. It only gets hairy if one uses really OLD versions (in this case CentOS) of the software, or conflicting versions of software.
Oh wow, I'm really impressed with how quickly I go responses So this setup would actually be for a new computer I'm putting together. I'm going to have two separate hard drives, one will have windows and the other will be dedicated to my Linux partitions. I'm not sure what kind of firmware is on this machine yet, but I'll return with an update post as soon as I can grab the specs on the parts I have ordered for the computer.
If it's a new machine, it'll definitely support UEFI, and most likely support "legacy" mode. The big thing for getting Linux to work well, is to have it 100 one way or another. Some firmwares support "hybrid" mode, that will function as UEFI, BUT allow for MBR drives, which usually will throw linux installers for a loop and cause them to not install the UEFI bootloaders. So make sure you either are pure UEFI, or pure legacy mode.
Sorry about this late reply, been busy with work. I haven't setup the computer yet so I don't know how to check the firmware. I'm using two Western Digital Blue WD10EZEX hard drives if that helps.
I can NOT imagen that a "edX" class will want ALL 3 installed AT THE SAME TIME
It doesn't ask for all three. It gives examples of how to do the same tasks under each of those but there is no reason to have all three installed.
OP, you do not need all three installed. I took the course with Ubuntu installed and all is just fine. The course is just set up so a student can see all three distro's methods. I would pick the one of the three you like best and go with it.
If you ultimately was to use the pc/installation for multimedia and/or gaming you may wish to stick with Ubuntu or openSuse for that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.