westms wrote:gapan wrote:Isn't grub.exe a DOS/Windows executable? How would it ever work on linux?
Correct.
. . .
If one look at the beginning of the file grub.exe, one can see that it starts with the ASCII text '
MZ'. This corresponds to the magic number
'4D 5A' (base 16) for executable files on DOS and Windows 9x.
There is a file grub.pif in the package, which is an information file for a Windows program grub.exe. This supports the assumption that it is a file in EXE format. If it is an EXE file, the application example in the slackbuild file and also examples in the online documentation are incorrect.
The package contains several files which, according to the documentation, should be executable on both DOS/Windows
and on Linux

! Unfortunately, I could not get them to execute on Linux, except for bootlace64.com.
EXE format files for DOS and Windows 9x are 16-bit applications, which do not run directly on 64-bit hardware, to my knowledge.
And perhaps this may be why

! The package contains both bootlace.com and bootlace64.com, and the latter does work

. Perhaps a 64-bit version of grub.exe would work, if one were available; but sadly there doesn't seem to be one.
I did not realize in the description by the questioner why grub4dos is needed as bootloader on the mentioned partition. If there is an operating system installed at all, Lilo can boot it as well.
Grub4dos is basically just an extension of Classic Grub; but those extensions make it a very valuable tool for executing all kinds of bootable images (HD, CD, floppy, etc.). So one can have, for example, a USB stick containing images of Live CD's (SalixLive, perhaps

, Clonezilla, GParted, etc.), floppy images (Memtest86+, etc.), and so forth; and boot any one with Grub4dos. There is an entire forum devoted to it at reboot.pro. So, I have just such a partition on the HDD, with no O/S installed, from which I can run any of those images. The partition has sufficient free space so that I can run Clonezilla from the partition, clone the Linux partitions on the HDD, and save the created images back to the partition. Optionally, the saved images can be backed up to NAS.