Mailinglist Archive: opensuse (714 mails)

< Previous Next >
Re: [opensuse] small installation help
On Sun, Oct 30, 2011 at 8:21 PM, Anton Aylward
<opensuse@xxxxxxxxxxxxxxxx> wrote:

Linux Tyro said the following on 10/30/2011 10:05 AM:

by default openSUSE does this:

one SWAP partition
one root partition "/"
one home partition "/home/"

The two partitions '/' and '/home' are separate?

Of course.
They have different dynamics.

In fact you probably want "/usr" (and "/usr/share") on separate
partitions and "/tmp" on a separate partition for security reasons.
(q.v. - go google)

In an ideal world (a Kiosk perhaps) /usr and /usr/share and /etc (and
/bin and /sbin and /usr/bin and /usr/sbin and /lib and /usr/lib) would
all be "read only".

OUCH!  A few things in /etc are dynamic.  Lets symlink them :-)
Oh, and lets make /usr/tmp symlinked to /tmp while about it :-)

I did say "ideal world".

The point I'm trying to make is that there are different dynamics.
You shouldn't have ordinary users altering things except under /home.
There's a reason its called that.

Similarly with "/tmp" and "/var"

Think about it ....

So when PC is off, SWAP is empty?

Sounds like Zen to me ...

If your Ubuntu install also had separate root ("/") and home ("/home/")
partitions, you might want to keep the "/home" one, as this will contain
your documents, saved settings etc. Or perhaps you want to wipe out
everything and start from scratch: in this case, you would format (i.e.,
wipe) both the root and the home partition. (Also, note that the home
partition is optional: if you don't make this, then "home" will simply be a
subdirectory of root.)

I have already taken back-up of all the documents in the Current
Ubuntu LTS. I just want complete replacement of it with openSUSE 11.4,
but it should take only this Ubuntu space and Windows XP should remain
intact (my sis uses that). I don't know if Ubuntu currently is having
separate root ("/") and home ("/home"), but please tell me the command
to check this and I would post (I just installed Ubuntu and it
automatically took all the options keeping aside Windows XP safe).

Also should I make separate root ("/") and home ("/home/") or not,
would it be beneficial in any way(s)?

You should never need to expand the space used by a root partition
(unless you are installing more stuff).  If you have a separate /usr
(and /usr/share and /tmp and /var) you can lock down your root partition
and make it fairly small.

In the days before LVM I ended up doing an install many times over to
figure out this size.

I really love LVM!

On Sun, Oct 30, 2011 at 7:02 PM, Anton Aylward
<opensuse@xxxxxxxxxxxxxxxx> wrote:

I use LVM on disks as small as 80G.

LVM mean s you don't have to make decisions about partitioning when you
install.  You can be minimalist and adjust the size of the partitions

This might include spreading a partition across more than one disk at a
later date.

I guess (after reading your explanation) that I would really be stuck
with LVM, it is typical thing, at least for a beginner and for a home
user (according to me only).

If you mean "stuck" as in "by choosing a path you exclude all others",
then yes; but that applies even more so if you chose had partitions
rather than LVM.

Even I am in doubt with the following:

Should I allocate the separate memories to each of /tmp, /var, /home,
/, and what is the purpose of doing it separately rather than what the
installer does it by default. Would it be beneficial? However, I am
currently just replacing my Ubuntu LTS with openSUSE and remaining
windows xp intact.

Yes, its beneficial in that you don't need to allocate ALL the space in
the LVM.  You are deferring the decision and you can revisit it later,
shrink one file system and the partition it is on and expand another
when, at a later date, you find the original decisions abut allocation
were not suitable for the use to which you end up using the machine.

Yes, you should allocate separate "virtual partitions" - Logical Volume
in LVM terminology.  It makes things more manageable.  For a beginner,
you don't want to get locked into a allocation and find its not right,
have to wipe everything and re-install.

The four file systems you mention have radically different dynamics and
use.  I'd recommend moving not only /tmp from / but move /usr as well.

There is a reason /usr/share is so named.  On my home LAN it exists on
one machine only, with a few symlinks to accommodate local machine needs.
NFS is wonderful!

People here are highly skilled (I know and have heard, even in Ubuntu
forums), so please explain this a little bit, I got idea when Grauw
and Aylward explained me, thx. But LVM is really typical!

I am sorry but as a beginner, I really didn't understand all this
stuff you said! Could you use a simpler language for me, like the Haro
de Grauw used
and I got all things he wrote!

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >