Felix Zielcke schrieb:
The list is taken from device.map. So once it was created without
--no-floppy option to grub-install. Maybe from some old grub-legacy
version?
Yes, that's possible.
--no-floppy only works if device.map doestn't exist. It's only used for
the creation of it.
Even if it is passed to grub-install?
Then I believe something like the attached patch should be applied to
grub-pc.postinst to prevent floppy drives from appearing in the list
of possible grub-install targets in the first place.
`man grub-install' works fine for me. Maybe `sudo mandb -c' helps. I
don't know.
Yes, that helped. Thank you very much!
--
Dipl.-Phys. Fabian Greffrath
Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum
Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail: [email protected]
--- grub-pc.postinst.orig 2009-05-28 11:22:59.000000000 +0200
+++ grub-pc.postinst 2009-05-28 11:28:51.000000000 +0200
@@ -14,7 +14,7 @@
if [ ! -z "$2" ] && test -e /boot/grub/core.img ; then
# If we're upgrading _and_ chainload-install is likely to have happened
- db_subst grub-pc/install_devices CHOICES `sed -e "s,.*\t,,g" /boot/grub/device.map | tr '\n' ',' | sed -e 's/,$//g;s/,/, /g'`
+ db_subst grub-pc/install_devices CHOICES `sed -e "/(fd[0-9]\+)/d;s,.*\t,,g" /boot/grub/device.map | tr '\n' ',' | sed -e 's/,$//g;s/,/, /g'`
db_input high grub-pc/install_devices || true
db_go
db_get grub-pc/install_devices