LinuxQuestions.org
Visit Jeremy's Blog.
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 09-06-2006, 03:12 PM   #1
emiphiste
LQ Newbie
 
Registered: Aug 2005
Location: Baltimore, Maryland
Distribution: Fedora Core 5, Ubuntu 6.06 (Breezy), testing Solaris 10
Posts: 22

Rep: Reputation: 15
Partitioning FC5 on 80GB WD HDD - Am I doing this right?


I finally have a working box to throw FC5 on.

I have limited working knowledge of partitioning HDs for Linux as my first Linux install (ah, you never forget your first) was commandeered by a friend - and there were several partitions, including:

/
/boot
/swap
/usr
/var
/tmp
/home

... ad nausaeum. This is going to be my first fresh install of Linux done by myself, so I'm attempting to take great pains to find a partitioning scheme that's right for me. I know I'm not going to need all above-listed partitions, so after doing some research I've compiled a tentative plan for how I'm going to split this thing:

Code:
Mount    Size       FSType       Device
/        1GB        ext3         hda1
/boot    128MB      ext2         hda2
/tmp     256MB      ext3         hda3
/swap    512MB      swap         hda4
/home    rest       ext3         hda5
Thing is, I'm not sure if the FS and sizes are appropriate. Only a few threads on the forums have given me any clues as to generally accepted volumes and filesystems.

I guess my question is basically "Am I doing this right?" If not, any suggestions for how I should do it? I might end up doing something regular like the three-partition scheme ( /, /boot, /swap) but I really like the idea of the other directories.

By the way, this is just going to be a personal-use computer, but I do want to make the most out of what I have.

Thanks in advance!
 
Old 09-06-2006, 03:40 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I would make two things bigger: / and /tmp. Why?

/ keeps all your programs (/bin, /usr and so on - you don't plan to have them separate). It means you need to fit with the whole install in the size of /. If you plan a server, that should be OK. But for a desktop machine with X, KDE or GNOME and hundreds of applications you need 3-4GB. It means approx 5GB (or just 10) to have space in the future.

/tmp is used for temporary files. The size you need depends on the things you do. If you plan to deal with photos, for example (scale them etc), you can easily get a 200MB temporary file. Also downloads often go to that dir (depending on the program). There are programs that allow you to choose temporary directory, but it's not that easy with all. I'd use 1GB here.
 
Old 09-06-2006, 03:52 PM   #3
emiphiste
LQ Newbie
 
Registered: Aug 2005
Location: Baltimore, Maryland
Distribution: Fedora Core 5, Ubuntu 6.06 (Breezy), testing Solaris 10
Posts: 22

Original Poster
Rep: Reputation: 15
Code:
Mount    Size       FSType       Device
/        10GB       ext3         hda1
/boot    128MB      ext2         hda2
/tmp     1GB        ext3         hda3
/swap    512MB      swap         hda4
/home    rest       ext3         hda5
Thank you for your help, Mara!
 
Old 09-06-2006, 04:02 PM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
or you could just use a root and swap partition so you don't have to worry about leaving enough space here or too much there.

Last edited by rshaw; 09-06-2006 at 04:09 PM.
 
Old 09-06-2006, 04:13 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Yep, you really only need a /swap partition and a / partition. You could add a /home partition just to make upgrades and/or distro change a little easier, but it really isn't needed.

I run with just swap and root and never have to concern myself with whether I made the partitions big enough or wasted space by making them too big.

I do suggest leaving yourself at least one unused blank partition for playing around with other distros (which you'll eventually end up wanting to do).
 
Old 09-06-2006, 11:48 PM   #6
hpladd
Member
 
Registered: Feb 2003
Distribution: Kubuntu
Posts: 142

Rep: Reputation: 15
Many people base the size of their swap partition upon the amount of ram available on the machine.

Swap partition = to 1.5 the amount of ram. Not to exceed 1 gig.
 
Old 09-07-2006, 12:45 AM   #7
emiphiste
LQ Newbie
 
Registered: Aug 2005
Location: Baltimore, Maryland
Distribution: Fedora Core 5, Ubuntu 6.06 (Breezy), testing Solaris 10
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for all the sound advice. I'm still trying to decide whether to use the partition plan above or whether to go the simpler route, like you guys suggested. I'm sure I'll figure something out.

masonm: Do you mean just leave unpartitioned space, or delegate a partition named /[partitionname] and leave it blank? (I promise I'll stop being such a n00b when I actually get this thing off the ground)

hpladd: Yep, that's where I got the 512 from Thank you!
 
  


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
Partitioning advice for a desktop with a 80GB HD + 60GB HD Korto Linux - Newbie 7 08-23-2006 02:02 AM
My 80GB hdd is seen as 600MB Isle Slackware - Installation 7 03-24-2006 11:32 AM
hdd partitioning deggial Linux - Newbie 4 03-05-2006 03:17 AM
Partitioning NEW HDD Thanotos Linux - Hardware 2 12-30-2005 11:35 PM
partitioning hdd Nick5449 Linux - Hardware 1 06-29-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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