LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-02-2004, 11:35 PM   #1
silvertondevil
LQ Newbie
 
Registered: Jan 2004
Distribution: Linux Mandrake 8.0
Posts: 1

Rep: Reputation: 0
Exclamation How should I allocate my drive?


I'm trying to allocate my 30gig hdd, and I'm not quite sure how to do it, when I do auto-allocate it gives 3.4 gigs to '/', 243 megs for 'swap', and 24 gigs to '/home'. I have spoken with several people and they have all said that that doesnt sound right, but were unable to help me any further. If it helps any I'm using Linux-Mandrake 8.0
 
Old 01-02-2004, 11:57 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
You should make sure that /var has it's own partition, this is for logging purposes in case you decide to run a server.
24 gigs for /home might be too much, maybe shrink it down to ....say 10 gigs, as for /swap, the usual size is 2.5 times your RAM.
 
Old 01-03-2004, 01:13 AM   #3
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
If you're a newbie and just trying Linux out, I'd leave everything in one '/' partition. This is partially because it's simple, but partially because there's a good chance you're going to use different distros as time passes. Naturally, if you're using Linux in a professional environment, you'll want other setups, but if you don't know the answer to this question, you probably shouldn't be using it in that way yet.

Personally, I'm a distro tester, which means I only have five partitions. Windows on /hda1 (the whole drive, just for the ability to read complicated .doc files, critical to my work, and the drive is only a 2 gigger). The rest of my system is Linux. /hdb1 is debian, /hdb2 is gentoo, /hdb5 and /hdb7 are mandrake (set up for different boxes), and /hdb6 is swap (which I never seem to dip into). This is on an 80 gig drive.

For other uses, especially professional ones, I'd suggest seperate partitions for as much as you can afford. /home is obvious, but during a crash, the more you can protect, the faster you're back up. Then again, if your company's infilltration/virus policy is complete sterilization, you'll end up killing those partitions anyway.

For the most part, as your knowledge increases, you'll gain a feel for what's best for your needs.
 
Old 01-03-2004, 01:19 AM   #4
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
i would do something like - 250mb for swap(what is your RAM?the swap partitions size depends on the ram size.if you are having a good amt of ram size,then most of the time the swap space would remain unused.),and the rest to '/'.that is the easiest way,i think.Ofcourse,what scott_R says is very important.
 
Old 01-03-2004, 02:53 AM   #5
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
With a 30GB here is what I would do:

40MB for /boot
7GB for /
21GB for /home
512 for (swap)
500MB for /var

My
Whitehat
 
Old 01-03-2004, 03:38 AM   #6
dondon
LQ Newbie
 
Registered: Jan 2004
Location: winnipeg
Distribution: fedora9 core1
Posts: 23

Rep: Reputation: 15
hi, i'm having trouble with linuxconf. i wanna mount a "windows" drive so i can open files on it. linuxconf only sees my ide HD, doesnt see the HDD on my Ultra IDE Controller,which is wierd 'cause it sees my DVD which is on the same controller.
Also, i cant mount the one that it does see, it doesnt like my mountpoint.What do i type in for a mountpoint?
 
Old 01-03-2004, 03:47 AM   #7
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Quote:
Originally posted by dondon
hi, i'm having trouble with linuxconf. i wanna mount a "windows" drive so i can open files on it. linuxconf only sees my ide HD, doesnt see the HDD on my Ultra IDE Controller,which is wierd 'cause it sees my DVD which is on the same controller.
Also, i cant mount the one that it does see, it doesnt like my mountpoint.What do i type in for a mountpoint?
You might want to start a new thread for your problem. You will get more responses then you will get sorta "hi-jacking" this thread.

 
Old 01-03-2004, 04:20 AM   #8
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
As far as swap is concerned, if you're not serving other users, and have over 256 meg ram, don't bother with the swap. Make up the difference, if you have less. For most people, more is overkill. You'll know if you need more swap, but more likely, you'll decide on more RAM. More expensive than disk space, yes, but far less expensive in terms of performance.
 
  


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
SIOCSIFFLAGS: cannot allocate memory spage0506 Linux - Software 11 07-17-2015 10:43 PM
Cannot allocate memory Terroth Linux - General 13 02-09-2005 06:22 AM
allocate more memory? sockknitter Debian 3 11-06-2004 06:23 PM
erealloc() : unable to allocate anazarcon Red Hat 0 07-15-2004 12:23 AM
Cant allocate partions?!?!? Laxin22 Linux - Software 2 02-17-2002 01:41 PM


All times are GMT -5. The time now is 04:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration