Re: Size of minimal Debian installation

2010-11-07 Thread Boyd Stephen Smith Jr.
In ib5d2h$t9...@speranza.aioe.org, s. keeling wrote:
Bob Proulx b...@proulx.com:
  Jason Hsu, embedded engineer, Linux user wrote:
  I have a minimal Debian installation ...
  
  You might be interested in reading through a discussion that is
  happening right now on debian-devel:
http://lists.debian.org/debian-devel/2010/10/threads.html#00310
http://lists.debian.org/debian-devel/2010/10/msg00310.html

After ca. 15 a. of Debian:

   /2 Gb

I usually make this much smaller, but I also split off /opt, /srv, and /tmp.  
(In addition to your separation of /home and /usr.)

   swap total RAM

I usually make this 2x RAM, but that seems more and more silly on systems 
where I won't be using suspend-to-RAM features.  I also set 
/proc/sys/vm/overcommit_memory to 2 and the amount of swap you configure is 
more important in such a configuration. (For me, /proc/sys/vm/overcommit_ratio 
is 100.)
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Size of minimal Debian installation

2010-11-06 Thread s. keeling
Bob Proulx b...@proulx.com:
  Jason Hsu, embedded engineer, Linux user wrote:
  I have a minimal Debian installation ...
 
  You might be interested in reading through a discussion that is
  happening right now on debian-devel:
 
http://lists.debian.org/debian-devel/2010/10/threads.html#00310
 
http://lists.debian.org/debian-devel/2010/10/msg00310.html

After ca. 15 a. of Debian:

   /2 Gb

   swap total RAM

   /home4 Gb

   /usr 6 Gb

   /var 3 Gb

   /scratch ...

   /scratch/user/...

That's the most comfortable layout I've come up with (Debian
specific).  Handle the OS and minimal user usage, then show them where
else space is.  On a single box, that is.  Servers no.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ib5d2h$t9...@speranza.aioe.org



Re: Size of minimal Debian installation

2010-11-05 Thread Andrei Popescu
On Lu, 01 nov 10, 20:45:49, gun_sm...@shellium.org wrote:
 I agree, it has been a while for me as well. I only remember gcc 
 coming in
 with build-essential on my end, which I always need.
 (headers|make|gcc|etc)

build-essential should be installed on a user system only as a 
dependency of dkms (needed for nvidia and fglrx drivers).

Of course, build-essential is also needed if you want to rebuild 
packages (or compile unpackaged software), but I don't consider that to 
be a user system ;)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Size of minimal Debian installation

2010-11-01 Thread Celejar
On Sat, 30 Oct 2010 11:43:53 -0600
Morgan Gangwere 0.fracta...@gmail.com wrote:

...

 There's minimal and then there's /minimal/. Debian's netinst does add
 some things, and some of the additions can be a bit awkward. For one,
 the Base System package actually adds quite a bit.
 
 Here's the biggest hogs:
 gcc and friends

Debian's installer installs gcc?  What Base System package are you
referring to?  It's been a while since I did an install, but I don't
remember ever having gcc installed during the install, and I see no
base package that depends on it.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101101195302.e44ddd6c.cele...@gmail.com



Re: Size of minimal Debian installation

2010-11-01 Thread gun_smoke
On Mon, Nov 01, 2010 at 07:53:02PM -0400, Celejar wrote:
 
 Debian's installer installs gcc?  What Base System package are you
 referring to?  It's been a while since I did an install, but I don't
 remember ever having gcc installed during the install, and I see no
 base package that depends on it.
 
 Celejar

I agree, it has been a while for me as well. I only remember gcc coming in
with build-essential on my end, which I always need.
(headers|make|gcc|etc)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101102004548.ga30...@shellium.org



Re: Size of minimal Debian installation

2010-11-01 Thread Celejar
On Mon, 1 Nov 2010 20:45:49 -0400
gun_sm...@shellium.org wrote:

 On Mon, Nov 01, 2010 at 07:53:02PM -0400, Celejar wrote:
  
  Debian's installer installs gcc?  What Base System package are you
  referring to?  It's been a while since I did an install, but I don't
  remember ever having gcc installed during the install, and I see no
  base package that depends on it.
  
  Celejar
 
 I agree, it has been a while for me as well. I only remember gcc coming in
 with build-essential on my end, which I always need.
 (headers|make|gcc|etc)

Well, yes, gcc is certainly necessary for building stuff, but I don't
think that build-essential is installed by the installer, as part of a
base system.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101101213534.c2f74bd5.cele...@gmail.com



Size of minimal Debian installation

2010-10-30 Thread Jason Hsu, embedded engineer, Linux user
I have a minimal Debian installation on a 2 GB VirtualBox hard drive.  By 
minimal, I mean the 150 MB Netinstall ISO without any of the packages (not even 
the base system) I was given the option to install during the initial 
installation process.  And I haven't even added anything yet.

When I go to the / directory and type du -s, I get 355960, or nearly 360 MB.  
I'm using a dynamic (rather than fixed) hard drive, and its size is 601 MB.

How can Debian with nothing added on be almost triple the size of Puppy Linux?  
I've heard that Debian can be configured to be just as light or even lighter 
than Puppy Linux.

And do Debian and the host OS show different sizes for my virtual Debian 
installation?  Why is there a 241 MB difference?  The error is almost double 
the size of Puppy Linux.

-- 
Jason Hsu, Linux-literate embedded engineer
(952) 715-7661
embedded_engin...@jasonhsu.com
http://www.jasonhsu.com/ee.html
http://www.jasonhsu.com/swrwatt.html
http://www.jasonhsu.com/ee-robot.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101030104927.d895fca8.jhsu802...@jasonhsu.com



Re: Size of minimal Debian installation

2010-10-30 Thread Morgan Gangwere
On 10/30/2010 9:49 AM, Jason Hsu, embedded engineer, Linux user wrote:
 I have a minimal Debian installation on a 2 GB VirtualBox hard drive.  By 
 minimal, I mean the 150 MB Netinstall ISO without any of the packages (not 
 even the base system) I was given the option to install during the initial 
 installation process.  And I haven't even added anything yet.

There's minimal and then there's /minimal/. Debian's netinst does add
some things, and some of the additions can be a bit awkward. For one,
the Base System package actually adds quite a bit.

Here's the biggest hogs:
gcc and friends
manpages (Puppy iirc uses none)
initrd/kernel (puppy uses a REALLY stripped down kernel and a REALLY
well compressed one at that)
kernel modules (there's some added overhead)
apt's cache
any and all graphical environments.

 When I go to the / directory and type du -s, I get 355960, or nearly 360 MB.

Sounds about right for the netinst's defaults.

 I'm using a dynamic (rather than fixed) hard drive, and its size is
601 MB.

Sounds like your VM is playing games. Dynamic usually means there's
more accounting to do.

 How can Debian with nothing added on be almost triple the size of Puppy 
 Linux?  I've heard that Debian can be configured to be just as light or even 
 lighter than Puppy Linux.

Puppy pales in comparison to TinyCore (10MB with X and a wm and a
package manager)

 And do Debian and the host OS show different sizes for my virtual Debian 
 installation?  Why is there a 241 MB difference?  The error is almost double 
 the size of Puppy Linux.


I again call shenanigans on your VM.


-- 

Morgan Gangwere

PGP Key at http://indrora.homelinux.org/gpg_key.asc

 Why?
 Because it breaks the logical flow of conversation, plus makes
messages unreadable.
 Top-Posting is evil.



signature.asc
Description: OpenPGP digital signature


Re: Size of minimal Debian installation

2010-10-30 Thread Volkan YAZICI
Hi,

Before reading following lines, I want to remind you that official
Debian GNU/Linux installation is not optimized for constrained space
requirements, where Puppy Linux is. Consider manual pages, lots of
automation related scripts all around the place, a full featured libc
(consider uclibc), dozens of optional modules added for flexibility to
all userbase. (E.g. It is funny that gnupg depends on libusb, etc.)

On Sat, 30 Oct 2010, Jason Hsu jhsu802...@jasonhsu.com writes:
 I have a minimal Debian installation on a 2 GB VirtualBox hard drive.
 By minimal, I mean the 150 MB Netinstall ISO without any of the
 packages (not even the base system) I was given the option to
 install during the initial installation process. And I haven't even
 added anything yet.

 When I go to the / directory and type du -s, I get 355960, or nearly
 360 MB. I'm using a dynamic (rather than fixed) hard drive, and its
 size is 601 MB.

Try

- aptitude clean

- Purge removed packages.

- Do not select any packages during installation. (Neither Standard
  System, etc.)

- After installation, remove unnecessary packages as well. (For
  instance, laptop-detect, tasksel, tasksel-data, eject, etc.)

- du -sh /* for more clues.

 How can Debian with nothing added on be almost triple the size of
 Puppy Linux? I've heard that Debian can be configured to be just as
 light or even lighter than Puppy Linux.

Yes it can. Google would probably help with some keyword adjustments.

 And do Debian and the host OS show different sizes for my virtual
 Debian installation?  Why is there a 241 MB difference?  The error is
 almost double the size of Puppy Linux.

This is due to the previously used space while downloading 
uncompressing .deb packages. Filesystem is extended to handle new size
requirements. After installation, these requirements are possibly
disappeared. But filesystem was once extended, and VM just displays its
extended size. Try creating a huge file and removing it. VM will still
display the max. size of the extended fs and won't be affected by the
removal of the same file.


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87iq0jwolv@alamut.ozu.edu.tr



Re: Size of minimal Debian installation

2010-10-30 Thread Bob Proulx
Jason Hsu, embedded engineer, Linux user wrote:
 I have a minimal Debian installation ...

You might be interested in reading through a discussion that is
happening right now on debian-devel:

  http://lists.debian.org/debian-devel/2010/10/threads.html#00310

  http://lists.debian.org/debian-devel/2010/10/msg00310.html

And note that on Monday a new month appears in the archive and so any
continuation of that discussion next week will need to be located in
the next month's page.

Bob


signature.asc
Description: Digital signature