Charlie Kroeger wrote:
Ok, another in the continuing saga.

When I upgrade Grub2 which is frequently, I get the following error message
when I reboot:

  Booting 'Debian Gnu/Linux, Linux 2.6.30-1-686
error: unknown argument '--no-floppy'
failed to boot default entries.
press any key to continue.

If I press any key I see the edit screen of Grub and it only contains the one
line:

set root=(hd0,1)

If I reboot it with CTRL+ALT+DEL and restore the default script I can edit
that and remove the offending '--no-floppy' part of the line and then boot
normally with the CTRL+x command

my solution to this in the past has been to 're-edit' the following file:

/boot/grub/grub.cfg

where I take out all the references to '--no-floppy'

This is part of that file edited:

=====================================================

# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
Edit /etc/grub.d/ and /etc/default/grub, so that grub-mkconfig produces what you want during upgrading.
All references to a floppy are removed. I don't have a floppy and there isn't
one mentioned in the bios, so..

Question: If I commented out every line in the file starting with:

#search --no-floppy --fs-uuid --set 8c502a23-b2ab-4670-b4e8-86d79b595aa5
would the same thing be accomplish without screwing things up?

Question: is there a way to prevent this file from being replaced every time
Grub upgrades or would that not be wise?
It does not answer any of your questions, but hopefully solves your Grub2 problem.

DS


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to