Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 6061  / 3 Years ago, fri, may 28, 2021, 10:53:54

I have two hard drives (One 500 GB and the other 750 GB).



I would like to create a single partition which will include these 2 hard drives.



I guess it works only with identical hard drives, correct me if I am wrong.



I have these 2 drives at an old computer which I tuned and may turn it into a web server,so I'm going to install ubuntu on them.



How can I make 2 or more hard drives behave as one in one partition?


More From » server

 Answers
6

You can use LVM (see also this guide) or RAID for this. If you want all the space in both drives to correspond to a single partition, LVM is the way to go. You can make an LVM volume group containing both drives, and create a single partition on that.



Since you would want to install Ubuntu on an LVM rather than add an LVM to an already-installed Ubuntu system, you can use the Ubuntu installer to create the LVM, then install Ubuntu on it. The GRUB2 boot loader is fully capable of booting directly into an LVM, so you don't even need a separate /boot partition (as was the old way).



The regular Ubuntu desktop CD (i.e., the live CD) does not have the ability to install Ubuntu on an LVM. Instead, you must use the alternate CD for this. See the "Text-based installation" section on this page. Or, for your convenience:





Write this .iso image to a USB flash drive, or burn it to a CD/DVD, the same way you would with the live CD.



The official Ubuntu 12.04 LTS installation guide for the alternate CD may help you during the installation process. (Or skip to the 32-bit installation guide or 64-bit installation guide.)



That guide is not very specific about LVM so I'll try to edit this post again to provide detailed instructions, based on your specific needs (an Ubuntu system installed in a single / partition on an LVM consisting of two drives of unequal storage capacity).


[#37724] Sunday, May 30, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oreera

Total Points: 472
Total Questions: 121
Total Answers: 116

Location: Mayotte
Member since Thu, Dec 17, 2020
3 Years ago
;