bug-grub
[Top][All Lists]
Advanced

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

[SOLVED] Re: v1.99 boot floppy freezes


From: Robert
Subject: [SOLVED] Re: v1.99 boot floppy freezes
Date: Tue, 15 Nov 2011 13:21:26 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1

Robert wrote:
The script below (and attached mk_fdb.sh), creates a decent
editable 1.4M vfat boot floppy image with Grub v1.98.

With Grub v1.99 (ftp version from the Grub homepage, compiled on
Debian 6 x86) however the created boot floppy freezes after
printing the 5 letters "GRUB ". It does also not work when I use
the new "-a" flag on grub-setup.


I retried with "-a" and now it works. "-a" really is necessary with v1.99.
attached: New boot floppy creation script.

Robert

PS: perhaps on the last "-a" trial I had the modules wrong in (fd0)/boot/grub/i386-pc/ instead of (fd0)/boot/grub/ ... thus confusion with the many variants I tried back and forth ... Grub consumes 10..100x more human time than LILO, just to get 5% more use cases to work ;-) Overall Grub is rather fragile with that many files, progs and varying folders. I think, mainly missing is a sort of good consistency check at final grub-setup time. As it was with LILO. After a lilo run, which holds everything well together, you get a concise short feedback, which menus are installed (or more verbose=1..5), and at the end of the message when without errors, you know that it works 99.9%. With grub too often things hang loose.. dynamically by chance ..


I first guessed there is a bug with --force not really going into
decent blocklist creation as needed for this format.
Yet a version with "32k MBR" partitioned vfat pseudo floppy
(attached: mk_fdbootfat.sh), which also worked with Grub v1.98,
now failes too with v1.99. The same freeze. So it seems to be a
deeper bug.

(This same Grub v1.99 build works when installed on an internal
with grub-install /dev/sda ...)


Robert

PS: With v1.99 also the "--diet" option for creating a iso 1.4M
floppy image with grub-mkrescue disappeared (without error message
is. Why remove a existing functionality? Now I need to strip off
by hand.



Attachment: mk_fdb.sh
Description: application/shellscript


reply via email to

[Prev in Thread] Current Thread [Next in Thread]