I am using ubuntu on a virtual machine of disk size of 8 GBs and I was trying to compile kernel to build a module following these steps .
sudo apt-get install build-essential linux-source
cd /usr/src
sudo tar xjvf linux-source-2.6.22.tar.bz2
cd linux-source-2.6.22
sudo cp /boot/config-2.6.22-14-generic .config
sudo make
sudo make modules
but it crashed due to lack of space so I added another virtual hard disk of 8 GBs and I don't know what to do next . I need to do the same exact steps and I am not sure if compiling should be in
/usr/src
but if so I want to merge the extra space from the extra hard disk into this location . Is that possible ?
In other words , I need to connect the two hard disks .