Archive for Ubuntu

HOWTO: Remove Older Kernels via command line

// February 2nd, 2012 // No Comments » // Ubuntu

Found out today that the /boot partion was filling up with older kernels

To find the list of kernels installed just run:
dpkg -l | grep linux-image-2; echo; uname -a
The list are the installed kernels, the line on its own is the running kernel. You can use apt-get to remove the kernels but NOT the running one.

Ubuntu after cloning eth* increases by 1

// January 30th, 2012 // No Comments » // Ubuntu

Missing network interface after cloning a Ubuntu template on ESX vmware server.   I was cloning some Ubuntu 10.04 LTS machines from a template and the kernal couldn’t find eth0.  (Weird, because eth0 was there when I BUILT the VM, and the clone now had eth1)   After some digging I found that that the device manager’s had the old MAC address in the udev rules file.

Rules file located here:  /etc/udev/rules.d/70-persistent-net.rules   Edit out the duplicate interface, and wulaaa, after a reboot, networking is running as expected.   More on udev:  http://www.linuxformat.co.uk/includes/download.php?PDF=LXF66.tut_udev.pdf

Stop SOPA