"savedefault" line is deadly

Bug #68272 reported by Andreas Jellinghaus
4
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

grub 0.97-11ubuntu14
on a server installed today with debootstrap, edgy.

the server is a rootserver - only ssh access.
the problem is this:
 - update-grub creates a "savedefault" line with every normal entry
 - update-grub does not create a "fallback 1" line per default

grub doesn't boot a kernel with a "savedefault" command with the default config, as it
has no file to write the default to. most grub users don't know what to create and don't
use that mechanism by default. since on rootservers there is typically no console, you
don't see the error message and keep guessing for days.

second, without the fallback entry to a kernel without "savedefault" grub won't boot at
all. only with such a line it has a kernel to boot. but as the fallback entry is per default
a single boot option, and ssh is not started for single user mode, this is also not very
useful, since you wonder why the machine came up (it is pingable), but neither sshd
is reachable nor are there logfiles. again - the rootserver problematic...

Revision history for this message
Tormod Volden (tormodvolden) wrote :

There should be a way to configure update-grub to not put in "savedefault". And it should not include "savedefault" by default, since it does not set up "default saved" by default neither.

Changed in grub:
status: Unconfirmed → Confirmed
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.