What I do for a new machine?

LinuxIsOne linuxisone at gmail.com
Mon Dec 5 10:24:34 UTC 2011

On Sat, Dec 3, 2011 at 7:42 AM, Avi Greenbury wrote:

> There is, generally, never a need to have twice as much swap as you
> have RAM. That's an old side-note from (IIRC) a SunOS manual dating
> from when machines swapped a good deal more.

> These days, swap's generally used as an emergency when you run out of
> space (but you're not going to go more than a few hundred MB into it
> without the system getting unusable) and for hibernating.

> A more appropriate caluclation, then, is:

> swap = (amount of ram) + (amount of swap you might be using when
> hibernating)

> Which, in real-life, turns out to be approximately

> (amount of ram) + (a couple of hundred MB)

> So, say, 2.2GB in this case.

OH I see, I didn't know this, but I have already allocated 4 GB while
installing, should I change or not?

On Sat, Dec 3, 2011 at 7:45 AM, Avi Greenbury wrote:

> Well, everything will work now, but you'll find yourself needing to
> boot into a LiveCD to jiggle the sizes of the partitions as you find
> that your use-case calls for some of those to be bigger than others. Do
> you really have plans to install 10GB worth of stuff in /opt? And 5GB
> worth of kernels in /boot?

At this stage (of mine being novice), I would rather have allocated a
default installation with the following:

sudo fdisk -l' yielding:

[sudo] password for linuxsafe:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001fe0c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3040    24413184   83  Linux
/dev/sda2            3040       30402   219782145    5  Extended
/dev/sda5            3040       29896   215721984   83  Linux
/dev/sda6           29896       30402     4059136   82  Linux swap / Solaris

So only swap, /home and the / are the partitions. However, in the
future, I would play with the method said by Olivier Pavilla and as
you too say for separating /opt (which I cannot guess right now).

> If you really want the complexity of all of those, you can mitigate the
> pain somewhat by using LVM to make it easier to rejig their sizes, but
> that does make it yet more complicated, and things like system rescues
> become even less fun.

Oh, then right now I have done right to go with those three partitions
only like which Liam told.

> Personally. I'd stick it all in /, maybe have a separate /boot.

Okay I have done the same but only kept a separate /home and swap
(don't know why).

On Sat, Dec 3, 2011 at 7:46 AM, Avi Greenbury wrote:

>> / (root), home and swap is all you need. You don't *need* a separate
>> /home but it can be very handy.

> There's no real argument for keeping swap separate either any more,
> except that the installer doesn't offer an easy way to do it.


On Sat, Dec 3, 2011 at 9:38 AM, Amedee Van Gasse wrote:

> I assume that you're just installing on a desktop and a laptop, otherwise you wouldn't be asking this.

Yeah, a desktop machine only.

On Sat, Dec 3, 2011 at 9:42 AM, Amedee Van Gasse wrote:

> don't remove every old kernel then 100 MB won't be enough after a couple of months. Just keep this in mind.

Oh I see. You mean removing the old kernel is only like removing its
older images from Synaptic (just keeping only the current which comes
in 'uname -r' and removing the old images, is this correct....?)...,
if it is correct, then I have removed the older kernels.

On Sat, Dec 3, 2011 at 11:10 AM, Kevin O'Gorman wrote:

> There can be a point to some extra partitions.  In my case, I do lots
> of programming with really huge temporary files.  This can be a
> problem when I inadvertently run my system out of space.  Accordingly,
> I generally have some separate partitions:
> 1) one where most of the work happens.  It usually uses a mount point
> in my home directory.  This protects the rest of the system from
> runaway file building, which happens to me from time to time.
> 2) /tmp - a few GB or more.  This is used by sort(1) by default.
> 3) One for my web pages, which involve big databases.  I do this
> mostly so the web page can be mounted read-only, and can be backed up
> separately and usually a lot less often than the rest of the system.

> None of this should matter to a user who's mostly a consumer of the
> internet, media and games.

Yeah, so right now I have done correctly.

On Sun, Dec 4, 2011 at 7:05 AM, Rigved Rakshit wrote:

> Removing old kernels is easy from the Ubuntu Software Center.

For Software Center how? But I removed from Synaptic...

On Sun, Dec 4, 2011 at 2:45 PM, Ric Moore <wayward4now at gmail.com> wrote:

> I use /opt in the old Caldera tradition, with /opt mounted on it's own
> partition. I store all of my media files there and just make links to them
> on my ~/Desktop directory. I also store my backup of my home directory there
> as well. So, when it's install time, I can cleanly install to the
> /npartition and re-mount /opt after. Then I restore my links and copy my
> home directory files back. I usually do not restore the dot-files. Then I
> copy my email directories back and I'm good to go. Ric

Nice, but this I could do only after some time...


More information about the ubuntu-users mailing list