Compiling linux kernel, how much size is needed?

Posted by ant2009 on Super User See other posts from Super User or by ant2009
Published on 2010-04-13T07:22:15Z Indexed on 2010/04/13 7:23 UTC
Read the original article Hit count: 274

Filed under:

Hello,

I am have downloaded the newest most stable linux kernel 2.6.33.2

I thought I would test this using virtualbox. So I create a dynamically sized harddisk of 4gb. And installed CentOS 5.3 with just the minimum packages.

I setup the make menuconfig with just the default settings.

After that I ran make and got the following error:

net/bluetooth/hci_sysfs.o: final close failed: No space left on device
make[2]: *** [net/bluetooth/hci_sysfs.o] Error 1
make[1]: *** [net/bluetooth] Error 2
make: *** [net] Error 2

The amount of space I have left is:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      3.3G  3.3G     0 100% /
/dev/hda1              99M   12M   82M  13% /boot
tmpfs                 125M     0  125M   0% /dev/shm

My virtual size is 4gb, but the actual size is 3.5gb

$ ls -hl
total 7.5G
-rw-------. 1 root root 3.5G 2010-04-13 14:08 LFS.vdi

How much size should I give when compiling and installing a linux kernel? Is there any guidelines to follow when doing this? This is my first time, so just experimenting with this.

Many thanks,

© Super User or respective owner

Related posts about linux