Comment 36 for bug 269539

Revision history for this message
Youssef (ylatrous) wrote : Re: [Bug 269539] Re: Three-way merge issues with menu.lst file during kernel updates: "Conflicts found! Please edit `/var/run/grub/menu.lst' and sort them out manually."

Sorry for the dumb question, but how do you migrate to grub2?

On Sun, Aug 23, 2009 at 4:53 PM, Colin Watson <email address hidden>wrote:

> grub2 handles configuration in a completely different way; it's
> extremely unlikely that anyone would encounter this particular problem
> with it. We'll still have to support grub for Karmic and probably beyond
> for upgrades, so this bug is *not* closeable just because we're now
> using grub2 by default, but I'm not sure that it's worth putting lots of
> energy into it since we already know it's a hideous can of worms. For
> 9.10 and beyond I'd advise affected users to migrate to GRUB 2.
>
> --
> Three-way merge issues with menu.lst file during kernel updates: "Conflicts
> found! Please edit `/var/run/grub/menu.lst' and sort them out manually."
> https://bugs.launchpad.net/bugs/269539
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “grub” package in Ubuntu: Confirmed
> Status in “ucf” package in Ubuntu: Confirmed
> Status in grub in Ubuntu Karmic: Confirmed
> Status in ucf in Ubuntu Karmic: Confirmed
>
> Bug description:
> Ubuntu 8.10 failed to install 2.6.27.3 kernal during update
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 8.10
>
> During a kernel upgrade, under certain conditions, if the user select "Do a
> 3-way merge" for menu.lst then the following error occurs:
>
> update-initramfs: Generating /boot/initrd.img-2.6.27-3-generic
> Running postinst hook script /sbin/update-grub.
> Searching for GRUB installation directory ... found: /boot/grub
> Searching for default file ... found: /boot/grub/default
> Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
> Searching for splash image ... none found, skipping ...
> Found kernel: /boot/vmlinuz-2.6.27-3-generic
> Found kernel: /boot/last-good-boot/vmlinuz
> Found kernel: /boot/vmlinuz-2.6.27-2-generic
> Found kernel: /boot/vmlinuz-2.6.26-5-generic
> Found kernel: /boot/memtest86+.bin
> Merging changes into the new version
>
> Conflicts found! Please edit `/var/run/grub/menu.lst' and sort them out
> manually.
> The file `/var/run/grub/menu.lst.ucf-new' has a record of the failed merge
> of the configuration file.
>
> User postinst hook script [/sbin/update-grub] exited with value 3
> dpkg: error processing linux-image-2.6.27-3-generic (--configure):
> subprocess post-installation script returned error exit status 3
>
>
>
>