Bug#530848: Recommends to run grub-install against /dev/fd0

Felix Zielcke fzielcke at z-51.de
Thu May 28 10:22:00 UTC 2009


tag 530848 pending
thanks

Am Donnerstag, den 28.05.2009, 11:33 +0200 schrieb Fabian Greffrath:
> Felix Zielcke schrieb:

> > --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?

Yes, it's just passed through to grub-mkdevicemap, which is only called
if it doestn't already exists:
$ grep no_floppy grub-install
no_floppy=
	no_floppy="--no-floppy" ;;
    $grub_mkdevicemap --device-map=$device_map $no_floppy || exit 1

> 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.
> 

Thanks for the patch, seems to work fine. Commited.
-- 
Felix Zielcke






More information about the Pkg-grub-devel mailing list