LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 02-25-2012, 01:02 AM   #1
Anders Lind
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Rep: Reputation: Disabled
10 G not enough for building Linux Kernel?


I tre-id build linux kernel 3.3-rc4 in my VmWare.
The root of Ubuntu is 10G.
After "make all" The /usr/src is like 6 G.
And after I run "make install", It gave me error message; no enough disk...

Is this normal?
Linux kernel is so huge nowadays?
How many disk it need usually?

Thank you
 
Old 02-25-2012, 01:08 AM   #2
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,034

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
Post the output of
Quote:
df -h

Last edited by EDDY1; 02-25-2012 at 01:11 AM.
 
Old 04-15-2012, 04:51 AM   #3
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 125

Rep: Reputation: 9
Oh it depends. Actually a lot of code is appearing on disk twice (as smaller files and merged files, which are ready to use drivers). I can't believe, that 10G is not enough for kernel. I know it could quite huge nowadays, just source of 3.3.1 is 444.5MiB, but it is not enough to fill 10G of space
 
Old 04-15-2012, 05:07 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,524
Blog Entries: 27

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
"10 G not enough for building Linux Kernel?" I would do it for less. What's the currency?

I've got two copies of the kernel source, one used as a build environment but / (which has all the OS except for what's on /var and what's in /home) is only using 6.9 GB
Code:
c@CW8:~$ df -h /
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/root      jfs    15G  6.9G  7.5G  49% /
That's for Slackware 13.37 plus ~30 extra apps.

EDIT: the build environment itself (after building so with all the binaries) is only 1.3 GB:
Code:
c@CW8:~$ du -hs /home/c/src/linux-2.6.37.6/
1.3G	/home/c/src/linux-2.6.37.6/

Last edited by catkin; 04-15-2012 at 05:09 AM.
 
Old 04-15-2012, 10:33 PM   #5
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,231

Rep: Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071
I've built many a Linux kernel on a machine that had 512MB. The process of building a kernel is essentially identical to that of constructing any other "executable program" or "library" in any routine situation whatsoever. The only peculiar characteristic of "the Linux kernel, the computer program," is merely the context in which it is designed to run.
 
  


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
LXer: Building Your Own Linux Kernel: Tricky kernel options (part 3) LXer Syndicated Linux News 0 10-23-2009 02:50 AM
Need help in building a Linux Kernel oliviapesayco Linux - Newbie 5 06-25-2007 07:14 PM
Need help in building a Linux Kernel oliviapesayco Linux - General 2 06-20-2007 07:06 AM
Building the linux kernel on redhat. liguorir Linux - Software 8 06-21-2003 04:09 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration