Thursday 30 September 2010

Remove old kernels

When you boot your computer and have 10E10 kernels to choose from in the bootloader, it is annoying... Usually you just have to boot the first one on the list, but if you have a Window$ OS installed, well, you have to go though the kernel list until you find the Window$ loader.

The option is to remove old kernels :)
Here's the trick:

1. Find out what is the version you are currently using with
uname -r

2. Check what kernels are installed in your machine
ls /boot | grep vmlinuz | cut -d'-' -f2,3
that will give you the KERNEL_IDs
2.6.28-23
2.6.28-24
2.6.28-25

3. Find the stuff associated with the kernels you don't want with
dpkg -l | grep ^ii | grep KERNEL_ID | awk -F' ' '{ print $2 }'
that should give you the UNWANTED_STUFF_LIST
linux-headers-2.6.28-23
linux-headers-2.6.28-24-generic
linux-image-2.6.28-25-generic
linux-restricted-modules-2.6.28-25-generic

4. Finally, remove the items in UNWANTED_STUFF_LIST with
sudo aptitude remove UNWANTED_STUFF_LIST[N=1, ..., N]

Personally, I always keep the version I am using, (duh!) plus the previous one... You never know ....

Tuesday 14 September 2010

In Orbit Commissioning Phase Photos

These are some shots I collected during the six months I stayed at ESAC.

In-Orbit Commissioning Phase Photos

I'll try to bring the blog back to life....
Or not.. :)

Rita **