Bug#477304: Grub fails to find /boot/boot/grub/device.map

Teodor mteodor at gmail.com
Wed Jul 23 20:15:11 UTC 2008


On Wed, Jul 23, 2008 at 3:52 AM, Nick Hastings
<hastings at hep.phys.s.u-tokyo.ac.jp> wrote:
> Please note that I think it is vitally important to include a
> README.Debian file that includes at least the following instructions
>
> 1. grub-install "(hd0)"
> 2. update-grub
>
> It seems that if the above steps aren't taken the user will be left with
> an unbootable system. Should I file a bug report for this?

I've just switched to grub2 from grub on my workstation. To be
precise, I've installed grub2 (which depends on grub-pc) and purged
all the packages related to grub (grub-set-default, grub-splashimages
and maybe others).

At the configuration question I've answered "no" for the chainloading
from grub-legacy. I've rebooted the machine to see if it works and the
surprise was that the boot menu was the same, that is from grub-legacy
instead of grub2 (with xen options too). The only explanation is that
I should have run "grub-install (hd0)" to *really* switch to grub2,
but why the menu.lst from grub-legacy was not removed on purge?

The second step "update-grub" is already executed automatically at
postinstall and it creates the grub.cfg file.

Thanks





More information about the Pkg-grub-devel mailing list