Can't install new linux kernel image since it tries to find /boot/grub/menu.lst while using Grub 2 (grub.cfg)

Bug #487355 reported by tehownt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.31-15-generic

Ubuntu 9.10 default installation uses Grub 2.0 which is configured using the /boot/grub/menu.cfg but new kernel installation tries to find and modify /boot/grub/menu.lst and thus fails.

ProblemType: Package
Architecture: amd64
Date: Mon Nov 23 08:39:13 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: linux-image-2.6.31-15-generic 2.6.31-15.50
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: grub
Title: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-14-generic x86_64

Deathstalker (mkep229)
Changed in linux (Ubuntu):
assignee: nobody → Deathstalker (mkep229)
assignee: Deathstalker (mkep229) → nobody
Andy Whitcroft (apw)
tags: added: kernel-karmic
Revision history for this message
tehownt (tehownt) wrote :

There are 2 outcomes to this bug:

1) Deny apt-get/aptitude the right to create the new menu.lst file and thus have an unconfigured package forever.

2) Authorize apt-get/aptitude to create the menu.lst file and thus configure the package correctly, then delete the file and manually adjust grub.cfg.

Revision history for this message
Nobuto Murata (nobuto) wrote :

At a forum of Japanese LoCo,
a user says he encountered the similar problem.

Before kernel upgrade, the user seems to install old Remastersys which is not compatible with GRUB2.
The version depends GRUB Legacy and removes GRUB2.

When just installed GRUB Legacy, menu.lst does not exist.
To be asked whether generate menu.lst for kernel upgrade is a normal thing.

This problem seems to occur only when users install GRUB Legacy manually (or some packages dependency) on GRUB2 used system.

Revision history for this message
^_Pepe_^ (jose-angel-fernandez-freire) wrote :

Hi all. Im going to assign this bug to Grub team, since it seem to be related to them.

Please note that this issue is already reported.

Regards

affects: linux (Ubuntu) → grub-installer (Ubuntu)
Revision history for this message
apt-ghetto (apt-ghetto) wrote :

Thank you for reporting this bug to Ubuntu. Karmic Koala reached EOL on April 30, 2011.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Changed in grub-installer (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub-installer (Ubuntu) because there has been no activity for 60 days.]

Changed in grub-installer (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.