Re: [Dorset] Changing Grub2 Menu under Kubuntu 10.10

2011-03-29 Thread DJ Lonsdale
Try using synaptic package manager to remove old kernels.

Grub2 then should update when it finds they are gone.



On Mon, 2011-03-28 at 20:52 +0100, Peter Merchant wrote:
 Way back in November '09 we had a discussion about editing the Grub
 Menu, which I must have used successfully, but don't think I could have
 repeated. Now I have a menu with so many 'old' versions of the kernel
 that the bottom entries are off the bottom of the screen box. 
 
 Looking into  https://help.ubuntu.com/community/Grub2
 
 and picking out the needed bits, here is how to trim down that menu
 list.
 
 1. in /boot, there are three entries for each revision of the kernel. 
 
 
 examples: 
 abi-2.6.32-25-generic 
 initrd.img-2.6.32-25-generic  
 vmcoreinfo-2.6.32-25-generic
 
 abi-2.6.35-22-generic 
 initrd.img-2.6.35-22-generic  
 vmcoreinfo-2.6.35-22-generic
 
 config-2.6.35-24-generic  
 System.map-2.6.35-24-generic  
 vmlinuz-2.6.35-24-generic
 
 Note there are different files for different versions - improvements I
 guess. 
 
 I left the 35-27 and 35-28 versions in. 
 
 2. Move the unwanted versions to somewhere else. 
 
 3. sudo update-grub
 Takes a minute or two
 
 4. reboot to prove it works. It did for me. 
 
 Peter M.
 
 
 
 
 --
 Next meeting:  Bournemouth, Tuesday 2011-04-05 20:00
 Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
 How to Report Bugs Effectively:  http://goo.gl/4Xue


--
Next meeting:  Bournemouth, Tuesday 2011-04-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Changing Grub2 Menu under Kubuntu 10.10

2011-03-28 Thread Sean Gibbins
On 28/03/11 20:52, Peter Merchant wrote:
 Way back in November '09 we had a discussion about editing the Grub
 Menu, which I must have used successfully, but don't think I could have
 repeated. Now I have a menu with so many 'old' versions of the kernel
 that the bottom entries are off the bottom of the screen box. 

 Looking into  https://help.ubuntu.com/community/Grub2

 and picking out the needed bits, here is how to trim down that menu
 list.

 1. in /boot, there are three entries for each revision of the kernel. 


 examples: 
 abi-2.6.32-25-generic 
 initrd.img-2.6.32-25-generic  
 vmcoreinfo-2.6.32-25-generic

 abi-2.6.35-22-generic 
 initrd.img-2.6.35-22-generic  
 vmcoreinfo-2.6.35-22-generic

 config-2.6.35-24-generic  
 System.map-2.6.35-24-generic  
 vmlinuz-2.6.35-24-generic

 Note there are different files for different versions - improvements I
 guess. 

 I left the 35-27 and 35-28 versions in. 

 2. Move the unwanted versions to somewhere else. 

 3. sudo update-grub
 Takes a minute or two

 4. reboot to prove it works. It did for me. 

Alternatively, I believe you can remove them with your package manager,
which also frees up some space.

Sean


---

-- 
music, film, comics, books, rants and drivel:

www.funkygibbins.me.uk


--
Next meeting:  Bournemouth, Tuesday 2011-04-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue