kernels

Robert Holtzman holtzm at cox.net
Fri Apr 29 22:41:08 UTC 2011


On Fri, Apr 29, 2011 at 04:25:00PM +0800, Goh Lip wrote:
> On 04/29/2011 01:39 PM, Robert Holtzman wrote:
> >You're right. On my system (lucid) "sudo apt-get remove
> >linux-image-x.x.xx-xx-generic"removes all related files from /boot and
> >also the related entries from menu.lst. It leaves the header files
> >untouched. What will "apt-get remove --purge" do to the menu.lst file?
> >Will that have to be edited manually?
> 
> For grub2, "sudo apt-get remove --purge 2.6.35-27-*" will regenerate
> the grub.cfg leaving out the purged kernels. No need to manually
> edit.
> 
> As for grub-legacy, there *should* also be no need to manually edit
> and the menu.lst should also regenerate, *however*, especially with
> more than one disk or with external disks, the generation of
> menu.lst is not so reliable, sometimes requiring the need to
> manually edit the menu.lst.
> 
> To be fair, I have (rarely) seen errors (in /dev/sdx and (hd)x,y)
> )in the generation of grub.cfg in grub2 too, but the stanza
> "search...--set..." and the use of uuid always overide the errors
> giving correct boots.
> 
> I still don't understand why people think grub-legacy is better. Ah, well.

That clears it up. thanks.

I use legacy grub because I upgraded from 8.04. I have a fresh intall on
another box and am *slowly* picking my way thru grub2.

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
 check the price of the beer"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110429/9120eaea/attachment.sig>


More information about the ubuntu-users mailing list