How to free up space in my /boot partition

Associate
Joined
28 Oct 2002
Posts
1,510
Hi

I am using Ubuntu and grub.

I set up a 50meg partition but its nearly full. The biggest are 4 files called "initrd.img-2.6.12-9-386" at 5 to 6 meg each.

Can i delete all but the 2 most recent ones? (Will it let me delete them?)

thanks

Diss
 
Look at the Grub config and note the names of the old kernels you no longer use. Delete those from Grub, then delete the files.

Just make sure you do it right or you'll end up with an unbootable system.

I don't know if Ubuntu has some 'nice' way of doing this. Some distros do, some don't.
 
thanks Berserker

presumably its also OK to delete the corresponding system.map / abi /config files as well??

thnaks

Diss
 
Well it wouldn't be unbootable if it went wrong, you could just chroot in from a live cd and fix it.
 
Back
Top Bottom