PDA

View Full Version : Problem upgrading/compiling debian - Pls Help!


joelee
7th January 2007, 22:45
Hi All,

I am trying to upgrade and compile debian (sarge) 2.4 to 2.6.18.3. I am following the following how-to:

http://howtoforge.com/howto_linux_kernel_2.6_compile_debian

All seems to go fine until I reach to the point to install the new kernel with the command:

dpkg -i kernel-image-2.6.8.1_custom.1.0_i386.deb.

Below is a copy/paste of the error I get:

ovz:/usr/src# dpkg -i linux-2.6.18.3-ovz028test007.1_2.6.18.3-ovz028test007.1_i386.deb
(Reading database ... 13978 files and directories currently installed.)
Unpacking linux-2.6.18.3-ovz028test007.1 (from linux-2.6.18.3-ovz028test007.1_2.6.18.3-ovz028test007.1_i386.deb) ...
dpkg: error processing linux-2.6.18.3-ovz028test007.1_2.6.18.3-ovz028test007.1_i386.deb(--install):
failed in buffer_write(fd) (8, ret=-1): backend dpkg-deb during `./boot/System.map-2.6.18.3-ovz028test007.1': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
linux-2.6.18.3-ovz028test007.1_2.6.18.3-ovz028test007.1_i386.deb
ovz:/usr/src#

Any help will be appreciated!
-Joe

falko
9th January 2007, 00:23
failed in buffer_write(fd) (8, ret=-1): backend dpkg-deb during `./boot/System.map-2.6.18.3-ovz028test007.1': No space left on device

One of your partitions is full. What's the output of df -h?

joelee
10th January 2007, 01:21
Falco, thanks for the reply. Below is the info you requested.

ovz:/usr/src# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 1.8G 453M 1.3G 27% /
tmpfs 253M 0 253M 0% /dev/shm
/dev/sda1 7.4M 7.3M 0 100% /boot
/dev/sda7 47G 107M 45G 1% /var


I see /boot is full I will try a bigger size partition for it and see if that is the problem. Also, based on the partition below would appreciate if you can comment/suggest a better partition scheme to set up OpenVZ. For now this is just on a test VMware setup. Once I get all working I will re-do on a standard machine with 300G HD.
-Joe

falko
10th January 2007, 18:50
1.8GB for / and 7.4MB for /boot are very little. I suggest something like 4GB or more for / and 100MB or more for /boot.