Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-16-2004, 11:42 PM   #1
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
/ and swap partitions (but want more) How to?


So far, with Slackware 10, I've opted for easiest which is just two partitions, / and swap.

I've done that because I don't know how to order or add a


or a



I know how to create partitions.

But I'm afraid it won't get added in the right place so that it all works. (what to do with them after they're created, say, on a new install?)

Also, with a 20 to 30 GB HD on my solo user desktop I install all Slack 10 packages, I wonder how big to make the /home partition.

I seek a separate home partition just so's ease of hanging onto the data if need arise to work elsewhere on the disk.

And, I would guess that a /boot be nice too, to hold the critical boot files.

Thanks. Alan.
Old 07-17-2004, 12:56 AM   #2
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
you can add the following two lines to /etc/fstab:

/dev/hda6 /home ext2 defaults 1 2
/dev/hda7 /boot ext2 defaults 1 2

of course, you have to use device files and filesystems appropriate to your system. the other 3 columns, "defaults," "1," and "2" should be fine because both these lines are generated for me by slack.

i use a home partition of ~ 5 GB, but it's your own preference.
Old 07-17-2004, 01:07 AM   #3
gnu noob
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Rep: Reputation: 15
Yes it can be done, here's how:

as far as how much space to allocate to your /home directory, I use about 4 gigs and have a separate partiton for music, docs movies etc. ( I dual boot win2k so this partiton fat32 and is visible in both slack and windoze)You might want to start small, and leave some open space at the end to expand it if you need to.
Old 07-17-2004, 01:33 AM   #4
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
IF you decide to run a Server, it's best to put /var
on it's own partition, that way the logs that are generated
DON't fill up the / partition............and make /var plenty big if
you do..........


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
2 swap partitions librano Linux - Newbie 6 08-25-2004 02:55 PM
Swap partitions 2k. Linux - General 7 03-01-2004 06:59 PM
Do I need 2 swap partitions? CloudBuilder Linux - Newbie 2 11-14-2003 04:09 PM
swap partitions chappy011 Linux - Newbie 2 03-18-2002 02:44 PM
swap partitions rakemup Linux - Software 5 12-10-2001 10:24 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:42 AM.

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