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

Notices


Reply
  Search this Thread
Old 02-07-2009, 07:33 AM   #1
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Rep: Reputation: 30
partition question


Hello,

I have a spare disk of 60G which i want to use to try slackware.

My memory is 1G
Processor : AMD64 3500 +

What's the best way to partition this disk ?

Roelof
 
Old 02-07-2009, 08:40 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
depends on how crazy you want to get... / 100% is the easiest.. if you want to make sure logging doesn't squash the system partition, you can slice one off for /var/log. If you want to make /home non-executable, you can slice one off for that two...

IMHO, / 100% is the best way to go unless you have special requirements.
 
Old 02-07-2009, 08:56 AM   #3
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
oke,

You mean one partition for everything ?

Roelof
 
Old 02-07-2009, 08:57 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
yep
 
Old 02-07-2009, 09:46 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It depends, if you plan on updating your system and keeping your /home directory safe, then make a / and /home. If you don't care about this, then just make one large partition / (this is what I do, just to force myself to backup my data, because I'm lazy and don't like to back it up, and it also gets rid of lots of junk software that I installed, forgot, and never used again).

Last edited by H_TeXMeX_H; 02-07-2009 at 09:47 AM.
 
Old 02-10-2009, 06:37 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
I would suggest a minimum of two partitions, a primary and a 2GB swap partition. You can run Slackware without a swap partition with 1GB of RAM, but having a swap partition is useful if you want to handle large files (e.g. video editing).

You could also consider splitting your primary partition into two equal partitions, one to hold the official 12.2 release and a second to hold slackware-current so that you can use KDE 4.2 from /testing. Having a stable setup to boot to when running slackware-current has saved me a lot of grief in the past.
 
Old 02-10-2009, 07:58 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I too would recommend a swap partition, I didn't mention that but assumed that you were asking about the partitioning of the root partition only, and that you already made a swap partition. Technically you could also use the swap files method if you already installed everything.
 
Old 02-11-2009, 03:01 AM   #8
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oeps,

I installed everything in one big partition (JFS) without a swap partition.
Can i repair this or do i have to do the install again.

Roelof
 
Old 02-11-2009, 03:10 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Just use swap files:
http://www.redhat.com/docs/manuals/l...ap-adding.html
or
http://tldp.org/HOWTO/Partition/setting_up_swap.html
if you need them, if you have enough RAM you might not.
 
Old 02-11-2009, 06:45 AM   #10
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,900

Rep: Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023
If you've not spent much time customising/setting up your system, then it might be worth reinstalling with a proper swap partition (it doesn't take long with slackware and its all good experience). If you've got to the stage where you've already spent too much time/effort on setting up your system to lose, then follow TexMex' advice and use swap files. With 1G ram, they probably won't get used much anyway and you can always repartition the next time you come to re-install.

The way it tends to go is that people start off with one big root partition and as they become more experienced they'll probably move to a separate /home, and later still they may also start to partition off other stuff depending on their own preferences.
 
Old 02-11-2009, 11:59 AM   #11
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

Im now using a swap file.
But don't i have to change in /etc/fstab now.

Roelof
 
Old 02-11-2009, 12:55 PM   #12
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,900

Rep: Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023
adding an entry for the swap to fstab will ensure it gets activated automatically on bootup.

Something along the lines of
Code:
/swapfilename none             swap        auto         0   0
The second field is commonly coded as 'swap', but the manual page for fstab actually tells you to use 'none'. My guess is that the field just gets ignored. I'm not sure which is more correct.
 
Old 02-26-2009, 01:59 PM   #13
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

Everybody thank you for the help.
Everything works fine now.

Roelof
 
  


Reply



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 question microsoft/linux Debian 4 07-06-2005 07:44 PM
Partition question satimis Linux - Hardware 6 08-18-2003 12:23 AM
partition question sk8guitar Linux - General 5 08-05-2003 04:22 AM
partition question MrGardenHoseMan Linux - Newbie 2 07-01-2003 03:29 PM
Partition question spunkydoo Linux - Newbie 5 01-21-2003 09:46 PM

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

All times are GMT -5. The time now is 03:25 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