Comment 2 for bug 141642

Revision history for this message
Collins Richey (crichey) wrote : Re: [Bug 141642] Re: upgrade kernel destroys ubuntu grub menu.lst entries

On 9/21/07, TJ <email address hidden> wrote:
> I had a similar experience. It is expected and by design. Anything
> inside
>
> #
> # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
>
> ### BEGIN AUTOMAGIC KERNELS LIST
>
> ### END DEBIAN AUTOMAGIC KERNELS LIST
>
> is liable to being re-written.
>
> You probably need to set the default kopt and groot to match your system
> so grub uses them when menu.lst is updated. For example, here's the
> default options I have:
>
> # kopt=root=UUID=f8f56c60-4507-47ff-beaf-bb87352f3128 ro
> # groot=(hd0,4)
>
> --
> upgrade kernel destroys ubuntu grub menu.lst entries
> https://bugs.launchpad.net/bugs/141642
> You received this bug notification because you are a direct subscriber
> of the bug.
>

In the past, the existing kernel stanzas for Ubuntu between the
markers were not altered, so I fail to understand how this is by
design. Whence does the updater get the idea to drag in a UUID that is
not that of the booted partition and/or the prior kernel stanzas in
menu.lst? It's poor design, or a bug.

I've never heard of the 'kopt' and 'groot' options, but I'll check
them out. If these options are required, why doesn't the installer put
them in?

--
Collins Richey
     If you fill your heart with regrets of yesterday and the worries
     of tomorrow, you have no today to be thankful for.