I recently migrated from Slackware to Kubuntu Dapper. I kept my old partitions from the Slackware installation but now I see that doing so was a mistake. My root partition is too small and I can no longer update the kernel.
How can I increase the size of my root partition without reformatting it, which would of course require reinstalling kubuntu?
Also, here's what my /lib/modules directory looks like:
drwxr-xr-x 6 root root 1024 2006-04-14 09:31 2.6.15-19-386
drwxr-xr-x 6 root root 1024 2006-04-14 16:40 2.6.15-20-386
drwxr-xr-x 3 root root 1024 2006-04-25 12:08 2.6.15-21-386
The third line is broken because dpkg could never complete the upgrade due to lack of room on the partition. Can I simply delete the first one and try sudo apt-get upgrade again?
The root directory has the following symlinks proving that the first line above is OLD:
lrwxrwxrwx 1 root root 29 2006-04-14 16:40 initrd.img -> boot/initrd.img-2.6.15-20-386
lrwxrwxrwx 1 root root 29 2006-04-14 09:31 initrd.img.old -> boot/initrd.img-2.6.15-19-386
lrwxrwxrwx 1 root root 26 2006-04-14 16:40 vmlinuz -> boot/vmlinuz-2.6.15-20-386
lrwxrwxrwx 1 root root 26 2006-04-14 09:31 vmlinuz.old -> boot/vmlinuz-2.6.15-19-386
So, to recap, my questions are:
1) how do I increase the size of my root partition?
2) can I delete an old modules directory to temporarily give me more room?
TIA,
r.
How can I increase the size of my root partition without reformatting it, which would of course require reinstalling kubuntu?
Also, here's what my /lib/modules directory looks like:
drwxr-xr-x 6 root root 1024 2006-04-14 09:31 2.6.15-19-386
drwxr-xr-x 6 root root 1024 2006-04-14 16:40 2.6.15-20-386
drwxr-xr-x 3 root root 1024 2006-04-25 12:08 2.6.15-21-386
The third line is broken because dpkg could never complete the upgrade due to lack of room on the partition. Can I simply delete the first one and try sudo apt-get upgrade again?
The root directory has the following symlinks proving that the first line above is OLD:
lrwxrwxrwx 1 root root 29 2006-04-14 16:40 initrd.img -> boot/initrd.img-2.6.15-20-386
lrwxrwxrwx 1 root root 29 2006-04-14 09:31 initrd.img.old -> boot/initrd.img-2.6.15-19-386
lrwxrwxrwx 1 root root 26 2006-04-14 16:40 vmlinuz -> boot/vmlinuz-2.6.15-20-386
lrwxrwxrwx 1 root root 26 2006-04-14 09:31 vmlinuz.old -> boot/vmlinuz-2.6.15-19-386
So, to recap, my questions are:
1) how do I increase the size of my root partition?
2) can I delete an old modules directory to temporarily give me more room?
TIA,
r.
Comment