LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2007, 09:05 PM   #1
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Rep: Reputation: 15
how much disk space does it take


I would like to know eactly how much space does it take to install linux I'm using centos 5. I plan on installing on a physical box but right now I'm playing around using vmware. I have 2 virtual disk one 15 and a 10. I'm also playing around with LVM also. I have created a root partion of at least 12 gigs I'm trying to install the Gnome and KDE desktops. Also I selected most server packages they include DNS, FTP, Legacy network server, mail server, network servers, printing support, server config tools, apache and samba. So I attempt to procede with the install I get a pop box back that states "Your selected packages require 1652 MB of free space for the installation, but you do not have enough available. So I ask how much space does it take to install linux.
 
Old 05-03-2007, 09:32 PM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 159

Rep: Reputation: 74
Quote:
Originally Posted by watts3000
So I ask how much space does it take to install linux.
Linux? Not much space at all...I have a 51 MB /boot partition, and "Linux" fits in there just fine along with my boot loader config and such...("Linux" is just a kernel...)

If you mean how much does it take to install <name your distro here>, that's a different story...and it depends on the distro you choose.

Sounds to me like you need somewhere around 1.6 GB of hard drive space, given the message you posted...If you're just looking for a vmware setup, why not look for a vmware image? (I don't know if one exists for CentOS, but I'm pretty sure you can find one with google). As for the virtual disks, are those in the range of 15,000 MB, or 1,500 MB? If it's 1,500 MB, that's the problem...
 
Old 05-03-2007, 10:29 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Difficult to give absolute numbers; it all depends on the distribution and how much you are actually installing. If Fedora is anything to go by (and I would bet it is seeing how closely it is related to CentOS), I would say something like 8 to 12 GB for the system files; any remaining space can be used to save your personal files.
 
Old 05-03-2007, 10:52 PM   #4
bouchecl
Member
 
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37

Rep: Reputation: 15
Let me chime in since I did a clean install of CentOS 5 two days ago on a VM.

I installed the server packages and the Gnome/OOo stuff on a 8 GB virtual disk with a 1 GB swap, a 100 MB /boot and the rest as a / partition. The total install took 2.9 GB. My Fedora boxes run on 10-12 GB system disks, and they're half-filled, after 2 years of daily use, but I always put my web stuff and /home directories on separate nfs shares.
 
Old 05-04-2007, 01:46 AM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Well, that only confirms what I said: no absolute figures. I happen to run Fedora as well and my / is 12GB full (out of 14) + 1.5GB var (out of 4 ) and then some stuff in /home. I have Gnome, XFCE, KDE and FluxBox. Most space gets eaten up by programming IDEs, though. If it weren't for those, / would only be 8 or 9 GB full.
 
Old 05-04-2007, 02:20 AM   #6
bouchecl
Member
 
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by jay73
Well, that only confirms what I said: no absolute figures. I happen to run Fedora as well and my / is 12GB full (out of 14) + 1.5GB var (out of 4 ) and then some stuff in /home. I have Gnome, XFCE, KDE and FluxBox. Most space gets eaten up by programming IDEs, though. If it weren't for those, / would only be 8 or 9 GB full.
Agreed. YMMV as they say. I install the bare minimum, as far as programming is concerned. Enough to compile some kernel drivers, but that's it. That's probably why I've been ok with far less disk space.
 
Old 05-04-2007, 02:36 AM   #7
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I'll add some knowledge of my own; the smallest size I've encountered this far is from LFS (Linux From Scratch) project, where it was said an Apache web server (on Linux) could be installed in a few megabytes or less (less than 10MB anyway). That's quite minimal system. Then you have these small distributions that not necessarily "force" you to install X server or office programs or stuff like that; they can easily fit in a hundred megabytes or a few, without problems. Next step are these "bigger and shinier" distributions of Linux that are often referred to as "desktop distributions", which are meant for everyday use and try to offer pretty much anything you ask, including a whole range of drivers, modules, programs, themes, ... Disk size is bigger too: Ubuntu, Fedora, SuSE and alike tend to use 2-3 gigabytes, considerably more than what you might want. Windows (last time I checked XP install) uses something between 1 and 2 gigabytes without much extra software. If you care to take some time and strip off the software you don't need (or use an installer where you can during the setup drop off the programs you know you don't need) you can easily get the consumption of disk size lower, down to less than 1 gigabyte.

It's really up to the person who installs the system. The easiest method is to pick up an installer that lets you choose packages to install during the setup, like those RedHat used in the past (I can't remember if Fedora still does that, but I suppose it does -- Fedora is a giant, though). Ubuntu's regular installer doesn't ask you about packages, but if you pick the Alternate Install CD/DVD, I believe you'll get to choose the packages. And if it's ok, you can just as well install a regular system and once it's done, remove stuff you don't need.

Shortly said: Linux (kernel) doesn't take much space at all, and a Linux-based distribution's disk usage (clean install) varies from a few megabytes to a few gigabytes, depending on the selections of the person who installs. That's one of the good sides of Linux; try to do the same with Windows, and you'll know the difference last time I tried to "free up space" during a Windows setup it ended up with being a few megabytes less than a regular install. Not much..maybe because there really isn't much to drop.
 
Old 05-04-2007, 07:20 AM   #8
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Original Poster
Rep: Reputation: 15
Ok obviously I'm installing this wrong because I went back deleted my virtual machine than created another with just one 12 gig disk. After that I just used the defaults and let the system partion for me I than selected all server packages along with gnome and kde and the install worked fine. I gues I'm not installing this right with lvm. When the linux installer ask me what disk do I want to use for install I just selected one drive and not the other. After that I create a /boot than go back in and create a LVM volume and tell the system to use the rest of the disk I than go back in and create a second LVM volume and tell the system to use all of the second disk. I than go into the LVM manager and create mount points for /var, /tmp /, /home, /usr. /usrlocal, swap partition, and so fourth. Ok so does anyone know what I'm doing wrong in the process?
 
Old 05-04-2007, 12:37 PM   #9
bouchecl
Member
 
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by watts3000
Ok obviously I'm installing this wrong because I went back deleted my virtual machine than created another with just one 12 gig disk. After that I just used the defaults and let the system partion for me I than selected all server packages along with gnome and kde and the install worked fine. I gues I'm not installing this right with lvm. When the linux installer ask me what disk do I want to use for install I just selected one drive and not the other. After that I create a /boot than go back in and create a LVM volume and tell the system to use the rest of the disk I than go back in and create a second LVM volume and tell the system to use all of the second disk. I than go into the LVM manager and create mount points for /var, /tmp /, /home, /usr. /usrlocal, swap partition, and so fourth. Ok so does anyone know what I'm doing wrong in the process?
I'd say keep it simple. When I install Fedora/CentOS, I use a manual partitioning scheme. I usually do not use LVM on a desktop, much less on a VM. Here's how I do it on a standalone VM install with a 12 GB hard drive:

/boot 100MB
swap depends on the amount of RAM, (if RAM > 512MB, 1024MB is more than enough)
/ All remaining space

It may seem to be in contradiction with earlier posts, but in this case you're not building a race car (or your main computer, for that matter), you're building a VM. Creating separate mountpoints doe /usr, /etc, /var /tmp won't be as flexible, because it forces you to determine a size to each partition upfront. BTW, don't create /usrlocal as it will go to waste. User programs are located in /usr/local in RedHat-ish distros.

If you want a separate /home, there are ways to mount a second virtual disk for one or many VM from the same distro... that's something I oughta try myself!
 
Old 05-04-2007, 01:58 PM   #10
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Original Poster
Rep: Reputation: 15
The reason I'm using a vm is because after I get a feel for this I will put it on a physical test box. I might as well go ahead and try it on the testbox now its a p4 2.6 1gig of ram it also has a 40 gig drive and 2 100's. I'm just not getting why the install is not working with lvm because it looks like I did everything correctly. So has anyone here did a lvm setup from the ground up when installing the os?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 07:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
where did disk space go? ricdave Linux - General 16 06-20-2003 10:51 PM
Is there a way to tell how much space on your disk is used up? orange400 Linux - General 4 04-07-2003 01:41 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 04:41 PM


All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration