LinuxQuestions.org
Review your favorite Linux distribution.
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 03-07-2009, 04:39 PM   #16
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126

Quote:
Originally Posted by Didier Spaier View Post
Quakeboy02, I object to this.
Fortunately, you're allowed to do that.
 
Old 03-07-2009, 04:41 PM   #17
moxieman99
Member
 
Registered: Feb 2004
Distribution: Dabble, but latest used are Fedora 13 and Ubuntu 10.4.1
Posts: 419

Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by acid_kewpie View Post
the automatic partitioning suggestions are normally fine. keep, say, 90 gig for /home, 2gb swap, 100mb for /boot and the rest for /
--------------------------
2 gig for swap sounds like a lot for someone just using normal application loads and whatnot.
 
Old 03-07-2009, 04:42 PM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,780

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Quote:
Originally Posted by acid_kewpie View Post
yes, but you still should avoid mounting the filesystem if you don't need to.
This is true for any filesystem.

Anyway I do not worry so much for what is in /boot: would it get corrupted, it's very easy to recover. And I don't see why it would be, but for a disk failure. For that case I keep a backup of my whole system anyhow (daily rsync to an external hdd).

So I will keep my layout for now

Last edited by Didier Spaier; 03-07-2009 at 04:46 PM.
 
Old 03-07-2009, 04:54 PM   #19
kurquhart1
LQ Newbie
 
Registered: Mar 2009
Location: ontario canada
Distribution: suse 11.1 (usually fedora)
Posts: 17

Original Poster
Rep: Reputation: 0
so i should just do

2 gigs for swap
20 gigs for /
and the rest for home?



or make / the biggest?
 
Old 03-07-2009, 05:04 PM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,780

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
Quote:
Originally Posted by kurquhart1 View Post
so i should just do

2 gigs for swap
20 gigs for /
and the rest for home?
Yes.

I only recommend you reserve only 15 gigs for /, which is certainly enough.

This way you will keep as much space as possible for /home. This is useful because among other things you will store there your photos, mp3 and may be movies, and all that uses a lot of space.

Last edited by Didier Spaier; 03-07-2009 at 05:05 PM.
 
Old 03-07-2009, 05:07 PM   #21
kurquhart1
LQ Newbie
 
Registered: Mar 2009
Location: ontario canada
Distribution: suse 11.1 (usually fedora)
Posts: 17

Original Poster
Rep: Reputation: 0
thank you that was explained really weall and easily for me to understand.
 
Old 03-07-2009, 05:20 PM   #22
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta2 on Lenovo Thinkpad W520
Posts: 6,780

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
You are welcome.

In a pinch:
/ is for system stuff and application programs. Experience shows that usually the system + applications do not need more than 15 gigs.
/home is for all users data -- mainly yours
/swap can be used by the system + applications to store some of their volatile data, in case there wouldn't be enough space left in RAM for it.
 
Old 03-07-2009, 06:08 PM   #23
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally Posted by Didier Spaier View Post
Acid Kewpie, just wondering...

Why a partition for /boot ?

I partition this way: 15 gb for / (more than enough for my distribution), 2 gb for /swap (in fact, barely need it) and the rest for /home. Is that wrong in your opinion ? Why ?

/boot is if i am not mistaken largely optional these days,there are however some instances where the kernel HAS to in the first couple hundred megs of a drive, hence a /boot partition as the first primary partition
 
Old 03-07-2009, 06:14 PM   #24
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by frieza View Post
/boot is if i am not mistaken largely optional these days
Not if you use grub. I don't know about lilo. The kernel has to be somewhere.
 
Old 03-07-2009, 07:49 PM   #25
adam2508
LQ Newbie
 
Registered: Mar 2009
Location: Downey, ca
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Raid 0 configuration: 2x 500GB

128MB /boot
30GB /
4GB swap
10GB /home
and the rest /storage

Im happy with my setup
 
Old 03-07-2009, 08:50 PM   #26
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
Saving from Firefox

If you download an image or a file from the internet you will indeed be asked where to save it, but all of the location will normally be in /home unless you have partitioned differently.

The possibility has been suggested here that you make a partition /data and set that as the location and file where the contents of your system, the picture, letters downloads, etc are placed. You would normally be expected to configure your operating system to set /data as the destination for all storage of your content files, a task you might not have the experience to do easily.

An often recommended partition scheme for a system with a single distro is as Didier wrote, swap, / (the operation system) and /home (the content)

Linux is if anything flexible, and there many ways to set things up, so you have more than one choice, but the scheme with the three partitions might be a start.

Good Luck

Last edited by thorkelljarl; 03-07-2009 at 08:52 PM.
 
Old 03-07-2009, 10:17 PM   #27
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by thorkelljarl View Post
An often recommended partition scheme for a system with a single distro is as Didier wrote, swap, / (the operation system) and /home (the content)
This idea of "everything must be in /home" strikes me as very Windows-centric, or at least founded in the idea that "this is my machine, so it all belongs in /home". I suppose I could be wrong, but I don't want to share out my /home/xxx, or even a subdirectory of that, to my local network. It just feels better to have a separate "/data" or even "/storage" directory for it. Certainly if this were a server I wouldn't be keeping global data (such as a database) in someone's "/home". I guess this is just something I carried forward from when I did DBA and sysadmin for my old employer, years ago.

But, everyone has their own needs and prejudices, so go for whatever works for you.
 
Old 03-08-2009, 12:25 AM   #28
mobydick
Member
 
Registered: Sep 2008
Distribution: Slackware FreeBSD
Posts: 42

Rep: Reputation: 16
If you want to partition your hard drive professionally, you must read this http://www.linuxquestions.org/questi...ml#post3468307

Last edited by mobydick; 03-08-2009 at 12:30 AM.
 
Old 03-08-2009, 12:48 AM   #29
adam2508
LQ Newbie
 
Registered: Mar 2009
Location: Downey, ca
Distribution: Debian
Posts: 9

Rep: Reputation: 0
my /boot partition doesnt automount, i guess is just an added level of security. Everytime i need to access it i just mount it.
 
  


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
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 01:09 PM
eepc 900: sees internal drive as two different drives Want to partition as one drive. tate1615 Linux - General 8 07-24-2008 01:36 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 11:46 AM
linux only recognizes one partition on a dual-partition thumb drive Jyneo Linux - Hardware 1 09-26-2007 04:12 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM


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