I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing) it still requires 524Mb. Is there any way of doing an even smaller install?
On Mon, 5 Jul 2010, Stephen Harris wrote:
I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing) it still requires 524Mb. Is there any way of doing an even smaller install?
Run a pre 5 series install and it is straightforward to hold size down
There are lower thresholds one cannot go below and still stay wih current updates. My article on 'tiny centos' provides 'slimming scripts' to trim away coherent sets to taste while still satisfying dependencies http://www.owlriver.com/tips/tiny-centos/
But to me, the question really is -- Is CentOS the right distribution for this? -- a minimal Debian Testing install can be made much smaller. Just because one is familiar with hammers does not mean one should be shaving cats with one
-- Russ herrold
On Mon, Jul 05, 2010 at 06:33:57PM -0400, R P Herrold wrote:
There are lower thresholds one cannot go below and still stay wih current updates. My article on 'tiny centos' provides 'slimming scripts' to trim away coherent sets to taste while still satisfying dependencies http://www.owlriver.com/tips/tiny-centos/
Hmm. If I'm reading the script correctly then the trouble with that is that it needs more space initially before it removes the unnecessary stuff.
Also your 4.4 build is larger than an anaconda created 5.0..
I've built smaller configs for my user-mode-linux setup, but these don't necessarily have dependency tree completeness :-)
$ cat /etc/redhat-release CentOS release 5.4 (Final) $ df -h Filesystem Size Used Avail Use% Mounted on /dev/ubda 436M 313M 124M 72% / tmpfs 16M 0 16M 0% /tmp
Of course there's no kernel, no boot loader etc. It _does_ work yum, so I can upgrade with 'yum update'.
But to me, the question really is -- Is CentOS the right distribution for this? -- a minimal Debian Testing install can be made much smaller. Just because one is familiar with hammers does not mean one should be shaving cats with one
There's a few reasons: 1) Can I? The challenge :-) 2) Familiarity 3) No need to keep tracking and patching a different OS build
But #1 is the main reason :-)
On Mon, 5 Jul 2010, Stephen Harris wrote:
On Mon, Jul 05, 2010 at 06:33:57PM -0400, R P Herrold wrote:
There are lower thresholds one cannot go below and still stay wih current updates. My article on 'tiny centos' provides 'slimming scripts' to trim away coherent sets to taste while still satisfying dependencies http://www.owlriver.com/tips/tiny-centos/
Hmm. If I'm reading the script correctly then the trouble with that is that it needs more space initially before it removes the unnecessary stuff.
yep -- it is a 'subtractive' process, iterative as well
Also your 4.4 build is larger than an anaconda created 5.0..
I am not at all surprised. The purpose of that page after initially written was do describe a method to trim, usually done inside an existing install but down again inside a chroot, to build package lists for determining self-hosting minima for rebuilding efforts
be made much smaller. Just because one is familiar with hammers does not mean one should be shaving cats with one
There's a few reasons:
- Can I? The challenge :-)
But #1 is the main reason :-)
fine by me -- but the cat may object
--Russ herrold
I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing) it still requires 524Mb. Is there any way of doing an even smaller install?
Run a pre 5 series install and it is straightforward to hold size down
There are lower thresholds one cannot go below and still stay with current updates. My article on 'tiny centos' provides 'slimming scripts' to trim away coherent sets to taste while still satisfying dependencies http://www.owlriver.com/tips/tiny-centos/
Thank you! Since I also want to make a tiny flash-based centos, I'll look into this!
Just because one is familiar with hammers does not mean one should be shaving cats with one
That depends, in part, on how much one dislikes cats.
Shaving pissed-off tomcats is best done with welding gloves and apron, and a hammer. ******************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated**
On 07/05/2010 03:06 PM, Stephen Harris wrote:
I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing) it still requires 524Mb. Is there any way of doing an even smaller install?
Prepare a kickstart file using system-config-kickstart. In the %packages section, list only "@core". See how that fits your needs. You'll probably end up adding additional packages, like "yum" to the %packages section.
Stephen Harris a écrit :
I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing) it still requires 524Mb. Is there any way of doing an even smaller install?
You might consider one of those fine super-lightweight distributions like Slitaz or Tiny Core, both excellent.
Cheers,
Niki
On Tue, 6 Jul 2010, Niki Kovacs wrote:
To: CentOS mailing list centos@centos.org From: Niki Kovacs contact@kikinovak.net Subject: Re: [CentOS] Smallest install?
Stephen Harris a écrit :
I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing) it still requires 524Mb. Is there any way of doing an even smaller install?
You might consider one of those fine super-lightweight distributions like Slitaz or Tiny Core, both excellent.
OR there's DSL:
http://www.damnsmalllinux.org/
What is DSL?
Damn Small Linux is a very versatile 50MB mini desktop oriented Linux distribution.
Damn Small is small enough and smart enough to do the following things:
* Boot from a business card CD as a live linux distribution (LiveCD) * Boot from a USB pen drive * Boot from within a host operating system (that's right, it can run *inside* Windows) * Run very nicely from an IDE Compact Flash drive via a method we call "frugal install" * Transform into a Debian OS with a traditional hard drive install * Run light enough to power a 486DX with 16MB of Ram * Run fully in RAM with as little as 128MB (you will be amazed at how fast your computer can be!) * Modularly grow -- DSL is highly extendable without the need to customize
It runs from a Live CD nicely.
Kind Regards,
Keith Roberts
On Tuesday 06 July 2010, Niki Kovacs wrote:
You might consider one of those fine super-lightweight distributions like Slitaz or Tiny Core, both excellent.
I'd like to second the recommendation for Slitaz. Of all the small distributions, it's the one I find most impressive:
Stephen Harris a écrit :
I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing)
With CentOS 5.5, select [*] Customize Package Selection, and then in the following screen, deselect everything, even [*] Base. You still get a coherent system.
Cheers,
Niki
On 07/06/2010 09:16 AM, Niki Kovacs wrote:
Stephen Harris a écrit :
I have a 500Mb ATA Flash drive in my machine. If I deselect everything at install time (CentOS 5.0 - just for testing)
With CentOS 5.5, select [*] Customize Package Selection, and then in the following screen, deselect everything, even [*] Base. You still get a coherent system.
This actually what i do to install a minimal CentOS on VM using only the first CD iso
there's also Orange JeOS [1]
[1] http://orangejeos.sourceforge.net/
HTH