Thursday, March 13, 2008

Debian, Guided partitioning, update kernel

Im using Debian 4.0 codename Etch for one of our server and during the installation process (partitioning disk) i choose Guided - use entire disk and choose Separate /home, /usr, /var, and /tmp partitions for Partitioning scheme (hell yeah , im so lazy to slice it manually) in the next step and change the file system to XFS.

then it gives me 262M for / with XFS filesystem.And when i upgraded the default kernel (avoided vmslice bug) the system refuse to install new kernel, and give me an error
failed in buffer_write(fd) (9, ret=-1): backend dpkg-deb during `./lib/modules/2.6.18-6-686/kernel/sound/core/seq/instr/snd-ainstr-iw.ko': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Yup, it inform that i dont have more spaces for the new kernel (darn, the guided things only prepare space for one kernel), some trick to resolve this problem is giving more space for the kernel (/lib/modules)

#mv /lib/modules /var/libx/lib/modules ;or any place u like
#ln -s /lib/modules /var/libx/lib/modules/

Warning !!! : Dont try to symbolic links the /lib for your own good and in any case you do so, the easy way is using another live cd to mount your linux and move back the /lib

enjoy(tm) dont be lazy .. and be safe!!