Okay, so numpty here clearly forgot to attach the patch :-(

Fortunately #501306 does half of it.

I think it might be worth fixing this automatically - ATM the message
can be lost in the noise (it's a huge improvement though!).

Why not take a backup copy of device.map, run grub-mkdevicemap
automatically and print an appropriate message?

bishop:/etc/puppet# update-grub
Searching for GRUB installation directory ... found: /boot/grub
warning: grub-probe can't find drive for /dev/vda1.
Please check /boot/grub/device.map, you might have to regenerate it
with grub-mkdevicemap.
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found:
/boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.26-1-amd64
Updating /boot/grub/menu.lst ... done
bishop:/etc/puppet# echo $?
0

Adrian
-- 
Email: [email protected]  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to