Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 07-09-2005, 08:42 PM   #1
Registered: Oct 2004
Location: Olsztyn, Poland
Distribution: Debian Squeeze / CentOS 6
Posts: 60

Rep: Reputation: 15
Partitioning issue


I just got an old computer back from 1994 or 1995 which appears to be good enough to serve as a gateway for the other two computers in my apartment. I would definitely want to run Slackware linux on that ... regular Slackware or Zipslack (I don't actually know yet). I have two hard drives of different capacities set up already in this machine - one is 1.4 GB and the other is 4 GB ... and here comes my question:

How would you guys partition these HDs before installing linux onto them? (I would like to make it as much secured as possible).
Old 07-09-2005, 09:52 PM   #2
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
hda - (the 1.4 gig primary drive)
hda1 - /var reiserfs rest of the space
hda2 -128 MB ext3 /boot partition
hda3 - 1/2 of your total swap

hdb (the 4 gig)
hdb 1 - 2 gig reiserfs /
hdb2 - other half of total swap
hdb 3 - /opt reiserfs about 1 gig
hdb 4 - /<wherever you will keep config files backed up> reiserfs about 1 gig

depending on your logging (how much and how long you keep them) you may want to switch hdb1 and hda2 to give /var some more space. Just be sure to keep /var close to the beginning of the drive for better performance, as writing log files will be what the machine does most often.

The separate partitions for /opt and your config backups are merely for convenience, in case you have to ever reinstall. Personally, I'd forget about /opt and enlarge / for a gateway/DNS machine, but your needs may vary.

For security, don't mount /boot , and lock the whole machine down tight. Go back and open only the ports you need, one at a time. Look into your needs and determine which, if any, partitions can be mounted nosuid/noexec. Then be prepared for hundreds of hits per day on your ssh server

Others here are more qualified to tell you how to lock down your services, and I'm sure they will chime in.


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
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 04:44 AM
webmin issue, poss security issue bejiita Slackware 3 11-03-2004 07:07 AM
Problem Installing Fedora Core 2 (Partitioning Issue) trickflip Linux - Software 11 09-04-2004 01:03 AM
Having Issue w/ Truetype fonts - Mozilla Issue clove Linux - Software 4 02-18-2004 09:26 AM
Putting off the partitioning issue oneandoneis2 Linux - General 3 02-03-2004 11:37 AM > Forums > Linux Forums > Linux - Newbie

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