[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub2 floppy seek - how to switch off?



On 09/07/13 08:12, dulev wrote:
On Mon, 08 Jul 2013 22:12:16 +0100, MRH <misiek_spam@o2.pl> wrote:
Just to bump the question (below) - anyone, any ideas, please?

On 23/06/13 16:56, MRH wrote:
Hi,

I have a problem with grub2.
Recently (after updating to wheezy) grub has been upgraded to grub2. All
fine and well, but it started looooong floppy seek at the boot, which is
sort of annoying, as it's a home PC, switched on every day. I tried
looking for solution, but I could not find anything to solve the problem.

The floppy seek is off in the BIOS,
/etc/default/grub
contains
GRUB_DISABLE_OS_PROBER=true

I wonder if the problem is a file not mentioned in the GRUB
documentation, (which seems to be manually created custom config, but I
didn't create it):
/etc/grub.d/41_custom

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply
type the
# menu entries you want to add after this comment.  Be careful not to
change
# the 'exec tail' line above.
misiek@cavern:~$ more /etc/grub.d/41_custom
#!/bin/sh
cat <<EOF
if [ -f  \${config_directory}/custom.cfg ]; then
    source \${config_directory}/custom.cfg
elif [ -z "\${config_directory}" -a -f  \$prefix/custom.cfg ]; then
    source \$prefix/custom.cfg;
fi
EOF




Do you have "--no-floppy" in "search" [1] line in grub.cfg.

[1] https://www.gnu.org/software/grub/manual/grub.html#search



Yes, each search line contain --no-floppy

Following Thierry's hint I disabled the floppy in BIOS, and this worked (thanks!) but this disables (of course) the floppy, so it is only good as far as I don't need the floppy drive (fortunately I rather don't use it recently). It seems to be wrong though, it's just like removing car's horn when it sounds continuously instead of fixing it.

I'll try the GRUB list as Richard has suggested.

--
Kind regards,
Michal R. Hoffmann


Reply to: