setting up a linux partition and primary/extended partitions
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.
setting up a linux partition and primary/extended partitions
hi, i am planning to triple boot my computer...i will be installing mandrake 9.0 last but i have a question
how exactly do i partition my linux drive? i've heard a simple / will work....i've also heard that creating 3 partitiosn within the linux drive, /boot /swap and /, will also work...i've also read more complicated ones involving /usr and /home which i believe is not entirely necessary since i am a newbie right now
secondly, i think i have decided to go with the /boot /swap and / configuration...if this is the correct way to do it is it necessary to ID the /boot partition as primary? and then /swap and / as extended or is that unnecessary since the c: drive is already the primary? how do i label the 3 linux partitions?
does anybody understand this? any help is appreciated...thanks
When you install Linux the installation programs should walk you through it, and you need not specify which are extended. Basically, the first three partitions are primary, the fourth holds the info for the extended partitions, and every partition after is an extended one.
As you mentioned, if you are just going to be playing around with linux you will probably be fine just using a / partition. Using more partitions just ensures that data will be safe if one partition gets corrupted (never happened to me yet!)
btw, you need only one swap partition, two or more linux installations can share the same one.
If your windows c drive is using the entire hard drive you will need to free up some space for your linux install. Allow a min of 5 GB for a full install. On the first CD in the dos/utils directory there is a program called fips that can resize existing FAT partitons. If you have a NTFS partition then you will need partition magic.
/boot 70mb is enough
for your swap rule of thumb allow 2x ram size.
The rest for /
As already mentions the install can autocreate partitions for you so you don't have to worry about primary, extended or logical. But you should have a least a min understanding of how it works.
linux can be installed to any partition primary or logical.
In a nutshell:
There are 4 primary partitions.
There can be 64 logical parititions which are located in an extended partition.
typical scheme (i.e. one hard drive)
hda1 is primary which is your windows c drive
hda2 is extended
hda5 and up are logical parititions
hmmm anyways, i'd recommend freeing up the space, as others said about 5gb, and "unpartitioning" that much of it. i'd then start the linux installer and either have it partition the drives automatically, or if you feel confident, manually do it with the installer. that's what i had to do to get red hat 8 to work after about 8 installs.
good choice with mandrake as its good for newbies and is less prone to hardware problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.