Problem upgrading/compiling debian - Pls Help!

Discussion in 'Kernel Questions' started by joelee, Jan 7, 2007.

  1. joelee

    joelee New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

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

    joelee New Member

    Falco, thanks for the reply. Below is the info you requested.

    Code:
    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
     
  4. falko

    falko Super Moderator Howtoforge Staff

    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.
     

Share This Page