LinuxQuestions.org
Visit Jeremy's Blog.
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 08-07-2006, 09:57 AM   #1
WTFPWN
LQ Newbie
 
Registered: Aug 2006
Location: PA, USA
Distribution: Slackware 10.2, FreeBSD 6.1, Debian 3.1
Posts: 4

Rep: Reputation: 0
Request for Assitance - Partition Scheme and Dependencies


Greetings. I am new to Slackware Linux, despite having used Linux (Debian) for a few years on servers and homemade routers/firewalls. I am also new to having Linux as a main desktop.

That being said, I have a few questions I need some help with.

First, can the same partitioning schemes be applied to desktop systems and be used efficiently? Here is the layout I was planning to put on my 60Gig hard drive:

/dev/hda1 - /boot
/dev/hda2 - /
/dev/hda3 - swap
/dev/hda4 - EXTENDED
/dev/hda5 - /var
/dev/hda6 - /tmp
/dev/hda7 - /opt
/dev/hda8 - /usr
/dev/hda9 - /usr/local ?? I know this is used on FreeBSD, not sure here tho
/dev/hda10 - /home

2) The Final question is on dependencies, security updates, program updates, etc. Now Debian has apt-get, *BSD has ports...how is this handled in Slackware, and is it diligent, accurate, and thorough?


Sorry for the long post for only 2 questions. Thanks in advance for any replies.


--WTFPWN
 
Old 08-07-2006, 11:09 AM   #2
twoHats
Member
 
Registered: Apr 2006
Location: New Hampshire, USA
Distribution: Mandriva - Kubuntu - FC4 - Mepis
Posts: 35

Rep: Reputation: 15
partitions

Hi WTFPWN:

Wow - that seems lik a lot of partitions for a 60G drive. I have 11 on my 250G and am sometimes sorry (when i run out of space).

My understanding is that you need the following partitions:

swap
root

If you don't add others they will be under root.



Others are for future maintenance - like:

home
usr
opt

The theory here is to be able to maintain your won data/programs when upgrading or changing distros. I believe without a great deal of disicipline - this will be difficult to say the least - and maybe more hastle than it's worth.

and still others are for multi boot ease of use -

home (again)
boot

This is so you can mount boot/home and have the right one for the distro you are using.

I have a home partition, several root partitions, a swap and several data. There are endless ways to set it up, but make sure you have enough room for your data whereever it's going. running out of space can be a catastrophy when running some apps ... data can be lost etc ...someone else needs to answer the slax update ?
 
Old 08-07-2006, 05:29 PM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,273

Rep: Reputation: 65
I will refer you to the newly updated and possibly not officially yet released alt.os.linux.slackware newsgroup FAQ.
Partitioning- http://l0k1.free.fr/aolsfaq.html#XX66
Package Management- http://l0k1.free.fr/aolsfaq.html#XX72

There is no real dependency checking that is built in to Slackware as it is assumed everyone is intelligent enough to handle it on their own if they are a Slackware user.
 
Old 08-08-2006, 12:10 PM   #4
WTFPWN
LQ Newbie
 
Registered: Aug 2006
Location: PA, USA
Distribution: Slackware 10.2, FreeBSD 6.1, Debian 3.1
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you all for the replies


WTFPWN
 
Old 08-08-2006, 02:31 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I see nothing improper about your partitioning scheme. Partitioning is part science, part voodoo, part philosophy. Perhaps the following will help:

Disk Partitioning
 
Old 08-08-2006, 09:12 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Welcome to LQ. Key comment/advice: Partitioning schemes are highly subjective, and everyone's got their own opinion as to what is "best". There really is no right or wrong answer, so go with what you consider to be appropriate. That said, for a 60G drive I'd suggest a 100Mg /boot, a 256Mg swap (regardless of your RAM), 30G for /home, and the other ~30G for / and its subdirectories. (Give ~8G to /usr)

Note: all of those allocations are more than you really need (except possibly for /home) but it's always nice to have room for expansion. Again, let me repeat that partitioning schemes are totally subjective, and assuming you've already settled on a good scheme for yourself, just scale it up, eg, if you had a 40G drive with the scheme you listed, just retain that same scheme but make each partition 1.5 times larger on the 60G drive. Good luck with it
 
Old 08-09-2006, 11:10 AM   #7
WTFPWN
LQ Newbie
 
Registered: Aug 2006
Location: PA, USA
Distribution: Slackware 10.2, FreeBSD 6.1, Debian 3.1
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for the help everyone! Just as info, here is how I decided to partition my workstation:

/dev/hda1 - /boot 32Mb, I won't be dual booting so this will house my kernel stuff
/dev/hda2 - swap 1Gb, I have 1.5Gb of physical RAM
/dev/hda3 - / 1Gb, basic root filesystem for subdirs
/dev/hda4 - EXTENDED
/dev/hda5 - /tmp 1Gb, for install temp files, etc
/dev/hda6 - /var 3Gb, for spools, logs, sniffer captures, etc
/dev/hda7 - /var/log 3Gb, same as /var
/dev/hda8 - /usr 20Gb, any OS specific files, deps, etc.
/dev/hda9 - /usr/local 20Gb, any non-OS specific programs
/dev/hda10 - /home 10Gb, for personal files, etc.


I may increase /usr/local to 30Gb depending on how much stuff I install but this should more than suffice for now. Like I said this will be mainly for development and basic office stuff like email, spreadsheets, documents, and maybe some music.


Regards
WTFPWN
 
Old 08-09-2006, 10:34 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Excellent - have fun with Linux!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Partition Scheme Randall Slack Slackware 17 11-08-2005 08:49 AM
Partition Scheme Jaster Debian 6 11-13-2004 03:28 PM
Need assitance in creating a shared partition accessible by both Linux and Windows XP cajunaggie Linux - Newbie 5 09-14-2004 06:41 PM
partition scheme leeman_s Slackware 2 05-23-2004 11:41 AM
Partition Scheme Stephanie Linux - General 9 08-16-2001 11:19 PM

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

All times are GMT -5. The time now is 08:15 PM.

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