Bug#560417: #560417 grub-legacy: update-grub failure

Axel Beckert abe at debian.org
Wed Mar 17 13:12:40 UTC 2010


Hi,

I just ran into the very same problem, but with different start and
workaround:

I have an amd64 Squeeze box which did run fine with grub2/grub-pc with
the expection that no Xen hypervisors are detected by update-grub.

So I removed grub-pc and install grub-legacy instead.

It didn't seem to run grub-install no update-grub on installation:

3/130/0 root at acromantula:pts/1 14:24:06 [~] # LANG=C aptitude -u
(Reading database ... 53435 files and directories currently installed.)
Removing grub-pc ...
Processing triggers for man-db ...
(Reading database ... 53213 files and directories currently installed.)
Selecting previously deselected package grub-legacy.
(Reading database ... 53209 files and directories currently installed.)
Unpacking grub-legacy (from .../grub-legacy_0.97-59_amd64.deb) ...
Processing triggers for man-db ...
Setting up grub-legacy (0.97-59) ...
Press return to continue.
^C
4/130/0 root at acromantula:pts/1 14:25:33 [~] # 

Running update-grub after removing grub-pc and installing grub-legacy
also yielded in the error, Joey reported:

8/0/0 root at acromantula:pts/1 14:26:45 [~] # update-grub 
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0
entry not specified.
Usage: grub-set-default [OPTION] entry
Set the default boot entry for GRUB.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    Use the directory DIR instead of the root directory

ENTRY is a number or the special keyword `default\'.

Report bugs to <bug-grub at gnu.org>.
9/1/0 root at acromantula:pts/1 14:26:48 [~] #

Purging grub-pc didn't help. The only thing helped so far is to run
grub-install. Afterwards update-grub worked fine again.

(Later grub failed after selecting a menu item, but that will go into
another bug report. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5





More information about the Pkg-grub-devel mailing list