LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-07-2013, 10:04 PM   #1
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Rep: Reputation: 2
optimum partitioning for slack system


I currently have mint occupying sole primary partition of 1TB on a new computer.

I wish to reinstall:
1. Slackware
2. Arch (long-term project)

My question:
Since there is a limit to the number of primary partitions one can use,
would the following work well for a slack system:

sda2 primary Slackware with / (root)
sda3 extended: containing: sda5(logical): /home; sda6(logical): /usr; sda7(logical) /opt

Or, if there is something I could modify, suggestions greatly appreciated.


Last edited by textillis; 06-07-2013 at 10:14 PM. Reason: greater degree of specification after further reading
 
Old 06-07-2013, 10:34 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
My advice would be for you to read up on LVM and start using it.

It really does solve a bunch of problems.
 
Old 06-07-2013, 10:50 PM   #3
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
LVM (?)

Quote:
Originally Posted by Richard Cranium View Post
My advice would be for you to read up on LVM and start using it.

It really does solve a bunch of problems.
What is the LVM

Oh, got it: Logical Volume Mgt...

thanks Richard

Last edited by textillis; 06-07-2013 at 10:55 PM.
 
Old 06-08-2013, 02:49 PM   #4
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Post

Quote:
Originally Posted by textillis View Post
I currently have mint occupying sole primary partition of 1TB on a new computer.

I wish to reinstall:
1. Slackware
2. Arch (long-term project)
Assuming that (1) your computer is a single user desktop/laptop and (2) you want a simple solution -- and not too many things to learn upfront!,

I would forget about all these partitions for /usr, /home, /opt... I would install all the OS filesystem in a single partition. As you are running Mint, I guess you have a beefy-enough configuration (enough RAM) so I would go without swap (or a swapfile in the OS partition, just in case).

I would use 4 primary partitions:

- sda1: 50GB - boot manager + main "workhorse" OS (Slackware 14.0)
- sda2: 50GB - experimental OS, eg. Arch
- sda3: 50GB - experimental OS, eg. Slackware current
- sda4: 850GB (rest of disk) - data, eg. your personal stuff, music, etc.

50GB is more than enough for running a modern linux (you may want to adjust according to your needs)

the large data partition can be mounted in whichever OS you happen to use. If you have confidential or private stuff on this PC, you may want to set it as an encrypted partition (dm-crypt/LUKS).

HTH

Phil
 
1 members found this post helpful.
Old 06-09-2013, 01:28 AM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by textillis View Post
What is the LVM

Oh, got it: Logical Volume Mgt...

thanks Richard
Well, the beauty of it is that you don't have to allocate all of your disk space at once. If you use file systems that allow resizing while mounted, then you can add more storage to any logical volume any time you want.

There's some other goodies that LVM provides, but being able to (essentially) create partitions on the fly and make them larger on the fly are really nice features that you can use almost immediately.

I, personally, had resisted using LVM for a long time since I thought that it would be too complicated to use. When I finally started using it, I found out that it isn't difficult to use at all. (There's support for LVM in mkinitrd as well as the standard Slackware init scripts.)

You can even put your /boot partition in LVM and boot off of that!
 
1 members found this post helpful.
Old 06-09-2013, 02:04 AM   #6
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Another approach is to use GPT instead of MBR partitions. With GPT there's a limit of 128 partitions.
 
1 members found this post helpful.
Old 06-09-2013, 04:08 AM   #7
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
Phil, Richard, Diantre,
Thank you one and all gentlemen.

Most enlightening.

Tex

(i think i'm going to give GPT a go first, then try LVM.)
 
  


Reply

Tags
logical partitions, mint, multibooting, primary



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RAM increase through time. Optimum system. Choices. Foxbat1155 Linux - Newbie 11 01-22-2012 10:46 AM
Optimum Partitioning for WEB SERVERs Fr33B5D Linux - Networking 3 08-29-2005 04:32 PM
Guidelines for Partitioning For A Slack Install erraticassassin Slackware 18 07-09-2004 07:15 AM
Partitioning a small drive for slack? neocookie Slackware - Installation 13 05-12-2004 07:59 PM
Partitioning a windows drive for Slack 9.1 using cfdisk or fdisk sxa Linux - Newbie 2 02-06-2004 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration