parition sizes

Hi I’m new to this distro and am looking forward to using it on my Thinkpad :slight_smile:

I have a setup so far that consists solely of W7. I have an 80gb HDD and allocated 20gb to W7. I’m not too worried about space b/c I don’t store stuff on my computer. I have music on my PDA, flashcards, and DVD’s.

I set up an extra ext3 partition that is 8gb for OpenSuse. I’m not a noob to linux but am not an expert either. I was wondering if that 8gb is too little b/c I use 8gb on another laptop I have with Ubuntu w/o any probs!

What I really am asking for is I noticed that you can divide up the partitions to /swap, /root, and /home. I have 1.5 gb RAM and can easily extend that ext3 b/c nothing is after it. How big should a /root be and a /home???

Thanks.

You should call it just /, not /root, which actually does exist, and is the $HOME of the superuser.

I would give a little bit more to / so that you have room for more software. Perhaps 12 or 16GB. Mine is over 8G and I use KDE. If I had both GNOME and KDE it would be larger. But then I probably have quite a bit cached in /var/cache/squid.

You can allocate the rest of your space to /home, where user directories live.

ah. So /home would be my pictures, music, and personal programs right? If that is so then:

/ = 12gb
/home = 4gb
/swap = 2gb

I don’t use hibernate but do use sleep once in a blue moon. Would that swap be fine with my /swap size???

The partition setup is different than the Mint and Jaunty I’ve done so it kinda threw me off earlier.

Hi
As ken_yap says I would configure as such,

sda1 windows (20GB)
sda2 - home (40GB)
sda3 - extended partition with what’s left
sda5 - / (What’s left ~17-18.5GB)
sda6 - swap (1.5 - 3GB)

Home is closer to the centre of the drive at sda2, so will be a bit
quicker to access your data.

Swap at the end, as these days it doesn’t get used much.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 4:43, 2 users, load average: 0.00, 0.05, 0.09
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

I would say, depending on what extras you plan to install, use:
/ = 8 - 10 gb
swap=1gb
and the rest /home.

If you are storing data to an external drive or usb, then you could use less for /home.
If you are going to be installing a lot of extras, go with Malcom’s 17gb for /. This will probably allow the system to be upgraded to a future version that needs more space in / because the basic install has become so large.

Hi
Using a little bit extra for / also helps if your burning DVD’s
(~4.5GB or ~8GB if Dual Layer) because it will cache to /tmp unless you
specify an external drive (if/when on is connected).


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 5:21, 2 users, load average: 0.00, 0.00, 0.00
GPU GeForce 8600 GTS Silent - Driver Version: 190.18

What I normally do with k3b is change the temporary directory to somewhere with more space. It could be a subdirectory within $HOME or somewhere you use to store lots of data, in my case /home/data which is a separate partition.

Also k3b will tell you how much space it needs and how much there is before doing the image creation.

@Malcolm.

I have a desktop I use for transcoding and other AVI tasks. Heavy duty things are relegated to that unit. I don’t plan on creating anything disc related with my laptop except burning ISO images. I’d like to stick with a small /home size. I’m thinking of making this a 20gb partition now.

9 gb for /home
10 for /
1 gb for /swap

@Whych

As far as upgrading goes can’t I just clone the /home partition and insert it into the next OpenSuse? That way I won’t have to dedicate the twenty to that part??? I know I’m being miserly but if I can do 20 gb with W7 I’m sure I can do it with Linux right???

Edit:

Don’t know if I’m making any sense so please bear with me :smiley:

On Fri, 28 Aug 2009 00:26:02 +0000, whych wrote:

> I would say, depending on what extras you plan to install, use: / = 8 -
> 10 gb
> swap=1gb

I tend to make my swap the same size as the memory in the system in case
I want to/need to use hibernate functionality. It’s always been my
understanding (and seems to be backed up by a few things on the web) that
hibernation uses swap space to store the RAM image, so if swap is smaller
than RAM, you can’t use hibernation.

Jim


Jim Henderson
openSUSE Forums Moderator

Jim Henderson wrote:
> On Fri, 28 Aug 2009 00:26:02 +0000, whych wrote:
>
>> I would say, depending on what extras you plan to install, use: / = 8 -
>> 10 gb
>> swap=1gb
>
> I tend to make my swap the same size as the memory in the system in case
> I want to/need to use hibernate functionality. It’s always been my
> understanding (and seems to be backed up by a few things on the web) that
> hibernation uses swap space to store the RAM image, so if swap is smaller
> than RAM, you can’t use hibernation.

That is almost correct; however, the hibernate image is compressed,
thus it could be a lot smaller than RAM size.

Hi
The minimal install to get a linux system up to runlevel 3
[command line] (susestudio JEOS) is around 270MB :wink:

If you want to create your own image have a look here
http://www.susestudio.com


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 6 (i586) Kernel 2.6.31-rc6-3-desktop
up 0:32, 2 users, load average: 0.36, 0.31, 0.37
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

On Fri, 28 Aug 2009 03:39:35 +0000, Larry Finger wrote:

> Jim Henderson wrote:
>> On Fri, 28 Aug 2009 00:26:02 +0000, whych wrote:
>>
>>> I would say, depending on what extras you plan to install, use: / = 8
>>> - 10 gb
>>> swap=1gb
>>
>> I tend to make my swap the same size as the memory in the system in
>> case I want to/need to use hibernate functionality. It’s always been
>> my understanding (and seems to be backed up by a few things on the web)
>> that hibernation uses swap space to store the RAM image, so if swap is
>> smaller than RAM, you can’t use hibernation.
>
> That is almost correct; however, the hibernate image is compressed, thus
> it could be a lot smaller than RAM size.

True, I hadn’t thought of that. :slight_smile: I think it’s also encrypted, isn’t it?

Jim


Jim Henderson
openSUSE Forums Moderator

Okay I installed it :slight_smile:

Things were a little hairy there for a minute after a message about a mounted partition came up (or something like that).

I winded up doing 20 gb divided into the three parts I mentioned.

I haven’t updated or anything yet b/c I’m SUPER busy these days! Anyhoo. Thanks for all the helpful advice and the link Mr. Lewis :slight_smile:

cya around guys!

Jim Henderson wrote:
> On Fri, 28 Aug 2009 03:39:35 +0000, Larry Finger wrote:
>> That is almost correct; however, the hibernate image is compressed, thus
>> it could be a lot smaller than RAM size.
>
> True, I hadn’t thought of that. :slight_smile: I think it’s also encrypted, isn’t it?

A quick read of the file Documentation/power/swsusp.txt shows that
encryption is possible; however, I think it is optional.

On Fri, 28 Aug 2009 14:09:06 +0000, Larry Finger wrote:

> Jim Henderson wrote:
>> On Fri, 28 Aug 2009 03:39:35 +0000, Larry Finger wrote:
>>> That is almost correct; however, the hibernate image is compressed,
>>> thus it could be a lot smaller than RAM size.
>>
>> True, I hadn’t thought of that. :slight_smile: I think it’s also encrypted, isn’t
>> it?
>
> A quick read of the file Documentation/power/swsusp.txt shows that
> encryption is possible; however, I think it is optional.

Yeah, that’s what I was reading as well - wasn’t sure if it was still
using swsusp or the newer one (suspend2, I think it’s called).

Jim


Jim Henderson
openSUSE Forums Moderator