no 'last good boot' entry in GRUB menu

Bug #284210 reported by Michael Kofler
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

I have installed intrepid on various machines and just tested on three of them: only one has a 'last successful boot' entry in menu.lst, and even on this machine, there is neither a /boot/last-good-boot directory nor /lib/modules/last-good-boot; GRUB just says 'file not found' if I use 'last successful boot'

according to https://wiki.ubuntu.com/KernelTeam/removing-old-kernels , last-good-boot is implemented fully in Intrepid/8.10

is it?

Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

I also have the same problem.
I first installed kubuntu 8.19 beta on a partition. After that I deleted my other partitions and merged them with my kubuntu partition. That screwed my grub and I had to grub-install from my live cd. After that there is no last good boot and As mentioned in the bug report i dont either have /boot/last-good-boot nor /lib/modules/last-good-boot

Changed in grub:
status: New → Confirmed
Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

sorry kubuntu 8.10 beta

Revision history for this message
Steve Langasek (vorlon) wrote :

This spec was rolled back for intrepid due to problems with the implementation.

Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

So this is not a bug. The feature itself has been removed?
Any plans for re introducing it?

Revision history for this message
takeda64 (takeda64) wrote :

If I want to create something like that by hand, which files & directories I should copy to make sure it's operational?

The reason why I want to do it is that recent kernel updates are just incremental updates to the same kernel. I personall experienced a problem when latest update broke the WiFi support (it was fortunately resolved in couple hours, but it was really troublesome)

I know it's devel relase so things like that are normal, that's why I want to protect myself from that in the future,
My laptop doesn't have cd-rom and floppy drives, so if kernel would make system unbootable, I'll have to play with PXE again :(

Revision history for this message
takeda64 (takeda64) wrote :

After looking at grub logfile I found that the setting to enable/disable this feature is located in /etc/defaults/kernel-helper-rc (I'm writing it from memory).

After commenting a line there, it comes back and appears to work as before.

Now the question is, what was the reason to disable it?
What I should look for? And how dangerous it is?
The changelog didn't mention much besides just disabling it.

Revision history for this message
manzur (sl-solaris) wrote :

i had the same problem with "Last successful boot", when are you going to implement it again?

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

the feature is disabled by a line in the file /etc/default/kernel-helper-rc
it was not considered stable by the ubuntu developers and was therefore disabled (but not removed)
anyone wishing to enable it again can simply edit this file

Changed in grub:
importance: Undecided → Wishlist
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

i have also updated the wiki page accordingly

Revision history for this message
takeda64 (takeda64) wrote :

Dimitrios, what kind of potential problems does it cause?
How safe is it?

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [Bug 284210] Re: no 'last good boot' entry in GRUB menu

> what kind of potential problems does it cause?
> How safe is it?

I don't think it's a safety problem, I think it was not considered
good enough to be used as a stable fall-back solution.

Revision history for this message
Savvas Radevic (medigeek) wrote :

What I mean is that it probably wasn't working as expected.

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.