[SOLVED] Discussion on partioning/organizing a hard drive
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I have a longterm goal of running Debian 7 (Gnome 3), openSuse 12.3 (KDE), a system running XFCE desktop, Back Track, Gentoo, and a Linux from Scratch Project on a hard drive (I selected these for learning purposes). I also plan on eventually compiling a kernel.
I've got 1.5 TB. I believe we are allowed 4 partitions but the Extended portion can be used for the "extra" distro's (?)
What would be the best way to organize the hard drive?
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251
Rep:
A common swap for all, followed by two principal partitions(for one OS each), then a extended partition containing the others OS partitions and home partitions.
What Partition tool do you think I should use to set this up? (I have Parted Magic but I could make a GPARTED disk)
I have 1.5 TB ... would the following plan be good? :
Primary: 350 GB Debian 7
Primary: 250 GB openSUSE
Extended: about 700 GB (100 GB=Lightweight Distro running XFCE, 100GB=Back Track, 100GB=GENTOO, ?=Linux From Scratch)
SWAP 12 GB
current situation:
Code:
# fdisk -l
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000f1f36
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 2889455615 1444726784 83 Linux
/dev/sda2 2889457662 2930276351 20409345 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 2889457664 2930276351 20409344 82 Linux swap / Solaris
Unless you expect some serious runaway processes or major data sets in memory, swap of eg 4GB should be plenty and probably largely unused.
Conventionally, you can have up to 4 primary partitions.
If you want more, most people have primaries, then an extended partition that contains all the rest (logical) partitions. http://tldp.org/HOWTO/Partition/
EDIT 'most people have 3 primaries'
Last edited by chrism01; 05-28-2013 at 07:55 AM.
Reason: add '3'
Almost every installer can make partitions. Even if you have a live cd you can usually add gparted to the live boot if needed. Fdisk is still useful.
I think you could easily consider a virtual machine or 6 and not play with all that partition deal. I'd stick with one main OS and then run everything else as virtual.
There is some formula for how much ram if you want to hibernate. I also would have not thought you would use hibernate.
@jefro I am still a newbie so lacking experience I am trying to keep my options open. Debian 7 turned out to be easier to install for me than openSUSE or MINT (go figure). Debian is all on a 350 G primary partition. I left about 200 GB unused right after it and I decided, for educational purposes, to build Gentoo on there (my current project, using a Gentoo minimal install). The rest is about 1 TB of Extended (my swap is at the end of that), an LFS project should be able to go on there, I think. Anybody is welcome to comment on whether this is the best path to learning about Linux. No doubt I will have to study GRUB to get Gentoo to boot properly. There is some pressure to do this right on a real partition. I REALLY APPRECIATE THE HELP AND EDUCATION I AM GETTING FROM LINUXQUESTIONS.ORG! I hope to someday have the knowledge to give back to the Linux community.
It is my opinion that playing with a lot of different installs on a single system gets more confusing than it would be for a simple one or two OS install. That is why I suggested the virtual machine. It allows you to more easily install many OS's and not get bogged down with chainloading, lilo, grub and such.
In almost every use, a virtual machine client running on a host is just as if you had two computers. Every task you have to do on the vm client is exactly what you'd have to do for a real install.
But, there is no way to say one way to learn is better. Enjoy is best path.
Gentoo and LFS will be a path of nuts and bolts. They are very hands on, details about the steps need to be known or understood to some extent. They are both great ways to learn but it would be self taught for the most part. Fortunately the documentation is easy to get and when read a few times makes sense.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.