LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-24-2004, 04:41 AM   #1
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
Partitioning a small drive for slack?


Hi

What would be the best partition setup I should use on my 4GB -- yes, only 4GB -- drive? I'm not having much on there, basically just the tools which are required; a single window manager (xFce), OpenOffice.org, Mozilla (Firefox & Thunderbird), and some simple, oft-used tools.

Thanks for your help.
 
Old 04-24-2004, 05:29 AM   #2
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
I'd like to have the most efficient partition setup, so should I put the swap file at the begining of the disk, followed by /, then /home? What sort of sizes should I be using?
 
Old 04-24-2004, 07:49 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'd just chop the drive in half, less whatever swap I needed. As far as that, I run an X-less ZipSlack9.0 with 32 megs RAM and a 32 meg swap file and it works fine. (Great for compiling 'Hello world' and 'Violate my RAM and wipe my harddrive'.) I run a Slack9.1 with 512 megs RAM and 512 meg swap and never touch swap - rarely go over 250-300 RAM with everything cached and all. It all depends on usage. And I've got several partitions on this box but none on the P100. On a box that size, I wouldn't mess with too fine a partitioning scheme, either.

One theory: Install the system with 3 gigs / and 1 gig swap, install what you want, run everything you might normally run at once, plus compile something major on top of it. Pay attention to disk space and memory usage. Wipe it and reinstall accordingly. Probably end up deciding you need 256 swap or less and that / will fit decently in 2 gigs or less.

As far as where to put swap, this should help:
Swap Placement.
The stuff elsewhere in that should help with the rest.

I agree with 'anywhere is fine'.
 
Old 04-24-2004, 07:49 AM   #4
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Could anyone point me in the direction of an online doc which could help?
 
Old 04-24-2004, 07:51 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Now that's just weird.
 
Old 04-24-2004, 07:57 AM   #6
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Lol, thanks for that. I'm using mozilla, and sometimes it doesn't pull the latest page from the server. Even when I've set no cache. Strange. Oh well.

I'll try that.
 
Old 04-24-2004, 08:10 AM   #7
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
So, in theory, if I use 256Mb swap, after a 2GB /, and the rest as /home, I should have a stable, nice, clean system?
 
Old 04-24-2004, 08:19 AM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, yeah, in theory. I mean, like I say, if you do heavy video editing and only have 32 megs physical RAM things are going to suck. If you only want to run vi and gcc, 256 is probably too much. Similarly, if my partitions were all one, excluding /home, / would fit in about 1.8 gigs - if you consciously tried to slim down, you could use much less. If you piled in KDE and Gnome and so on, you could use much more. So there aren't any hard numbers - those just sound reasonable.
 
Old 04-24-2004, 08:36 AM   #9
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Kewl. I was just wondering for this specific install. Its an "old" machine (166MHz, 4GB HDD, 32Mb Ram... 128Mb ram in there somewhere too i think...).

Basically I'm looking at:
  • xFce for the window manager (no KDE or Gnome - they're just too heavy).
  • OpenOffice.org, cos its usefull
  • Mozilla Firefox and Thunderbird, for web and email.
  • PDF Viewer, calc, etc. You know, the odds and ends that you just need.

I really don't want any more on the box than is needed. Its going to a family member, and if there's something on there that they don't know about I'll be spending *weeks* going through it with them. Moving them from Mozilla Mail to Thunderbird is going to be a task in itself! I know it was when I moved them from Outlook!
 
Old 04-24-2004, 08:50 AM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'm confused - the 32 or 128 makes a big difference. Swap won't help much, though. I don't run OOo so I can't say from definite experience, but that won't run unless it is 128 (at least) and then you probably do want at least 256 swap. Also, I imagine OOo takes up a chunk of disk space. Stuff like Firefox would be sluggish but it should be doable. I think. You're right that mozilla would never work, unfortunately. The rest should be fine. If it's really 32, I'd see about getting some more physical RAM.
 
Old 04-24-2004, 09:20 AM   #11
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
I've got some in the box, but its not showing up at boot during the mem check. However, its got a seperate 32Mb ram slot (which is occupied) and then a further 4 slots, one of which has 128 in it. Its confuzzling the hell out of me.
 
Old 04-25-2004, 04:49 PM   #12
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Hm. 5 slots? Weird. If it's not showing under some other OS, maybe it'll be different under Linux. If free/top/whatever don't show it while running, might try passing 'mem=160M' to LILO to declare how much you should have. I think it's usually to get the kernel to recognize huge amounts of RAM, but can apply in other cases. Or you might try yanking the 32 and seeing what happens - sometimes mismatched sticks will screw each other up. Just guessing here. Good luck!
 
Old 04-26-2004, 04:21 AM   #13
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Yea, tried yanking the 32 stick... and the whole thing just topped.

From what I can tell, there's two different types of RAM - a sort of "Base" ram (32), the slots for extended ram.

s
 
Old 05-12-2004, 07:59 PM   #14
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by neocookie
Yea, tried yanking the 32 stick... and the whole thing just topped.

From what I can tell, there's two different types of RAM - a sort of "Base" ram (32), the slots for extended ram.

s
Is one of those ram sticks long, like SDRam and the other four shorter, like the older style?
 
  


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
which small utility would you like to see for slack? acidjuice Slackware 17 04-08-2005 05:43 PM
Partitioning a small HD arobic Linux - Newbie 2 06-25-2004 04:12 PM
Partitioning a windows drive for Slack 9.1 using cfdisk or fdisk sxa Linux - Newbie 2 02-06-2004 09:01 PM
a very small question bout partitioning h/w Linux - Newbie 15 08-17-2003 10:47 PM
A small partitioning confusion concoran Linux - General 4 01-07-2002 01:59 PM


All times are GMT -5. The time now is 04:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration