top of page
Search
valentinaksyonov76

Grubinst gui.exe grub4dos grub4dos.zip: GRUB for DOS - A Versatile and Flexible Boot Loader for Mult



To install grub4dos to MBR via Windows XP/2000 - download grubinst/grubutil package from here (or here). Grubinst.exe is a command line tool however a Graphic User Interface (GUI) is included in the download. Check the disk number allocated to the device you intend to install the grub4dos MBR to - use Windows Disk Management console (type C:\Windows\System32\diskmgmt.msc [ENTER] at a command prompt or in a RUN box). Installing to the wrong disk could result in Windows not booting so be careful. To install to MBR of disk:0 use command C:\Grub4dos\grubinst.exe (hd0); to install to MBR of disk:1 use command C:\Grub4dos\grubinst.exe (hd1); etc.




grubinst gui.exe grub4dos grub4dos.zip




Happy new year to everybody !I'm trying to improve a bit "grubinst.exe" and "grubinst_gui.exe".It's my first time I'm modifying other programmer(s)'s source code. I hope Bean, Tinybit and Chenall won't be upset What I did so far:grubinst_gui.exe:1. The window is now a DS_MODALFRAME instead of a WS_POPUP, meaning it can't be resized anymore. Which it's a good thing, because resizing doesn't help the user, on the contrary.2. In the Options groupbox I added 2 checkboxes: "Skip MBR test" and "Silent boot". The first one is adding "--skip-mbr-test" to the command line, the second is adding "--silent-boot".3. If Device "File" is used, it is adding quotes to the path to file in the command line. This way you can use even a file name with spaces in it.4. When the user is clicking on the first Refresh button, the Part List combobox is cleared.5. When the user is choosing a disk in the first combobox, the Part list combobox is not just cleared; the disk will be scanned for partitions and the list will be added to that combobox.


grubinst.exe:1. Added 2 application flags: AFG_SILENT_BOOT (16384) and GFG_SILENT_BOOT (16).2. Added this to "--help" switch: "--silent-boot It will display messages only on severe change(s) and/or error(s).".3. If "--silent-boot" parameter is used, GFG_SILENT_BOOT is added to 0x80 in grub4dos MBR.4. Removed duplicate "else if (! strcmp(argv[idx],"--skip-mbr-test")) afg=AFG_SKIP_MBR_TEST;".


Now I have to actually modify the grub4dos MBR in the code.2 ways:1. In grubinst.c I can search for the messages in the grub_mbr variable and replace each of their chars with \0.This is easy to implement but it is not so professional and the result will not be 100% complete.2. Modify the asm code from grldrstart.S to not display those messages when the 4th bit in 0x80 byte is 1 (or to display the messages when the 4th bit in 0x80 byte is 0).But this is not that easy.From what I understand the compilation is done this way (it's simplified a bit):1. grldrstart.S + ntfsbs.S >> grldr.mbr2. bin2h.c + grldr.mbr >> grub_mbr.h3. grubinst.c + grub_mbr.h >> grubinst.exeAdding extra code to grldrstart.S means that grub_mbr variable will increase size and all bytes after the extra code will be shifted. Meaning probably I have to "resynchronize" it in grubinst.cAlso, since I'm not an assembler pro, I don't know how to modify this to work for the 4th bit:


P.S. When trying to install using grubinst_gui.exe (your version or older version) - I getError - Can't run the background programI am using Win 8.1 64-bit system and running as Admin.Similar to -ct-edition/


Another issue: I'm thinking of adding a new switch "--force-standard-mbr". Or at least to try to improve the filesystem type detection in get_fstype function.Because it's not working properly. For example on all my USB flash drives and on the mounted virtual drives grubinst is saying "Unknown image type". No matter which combination of parameters I try, can't install grub4dos.Unfortunately, RMPrepUSB is no different...However, if in code I force the use of a standard MBR, all is fine. Grub4dos finally boots and the drives show no error.


I will take a look at the code. Just post it here.But right now I'm thinking at a way to make grldr read the MBR byte where the options are stored (including --silent-boot) and not show those unnecessary messages on screen. The problem is I have to make it work in any situation: current MBR style + new grldr, new MBR style + current grldr, your current MBR style + new grldr and so on.Plus I have to take into account the differences between grub4dos versions too...Because of these I have chosen to modify grub_mbr in grubinst instead of modifying grldrstart.S (for the time being).


To install grub4dos to MBR via Windows XP/2000 - download grubinst/grubutil package (see here). grubinst.exe is a command line tool however a Graphic User Interface (GUI) is included in the download. Check the disk number allocated to the device you intend to install the grub4dos MBR to - use Windows Disk Management console (type C:\Windows\System32\diskmgmt.msc [ENTER] at a command prompt or in a RUN box). Installing to the wrong disk could result in Windows not booting so be careful. To install to MBR of disk:0 use command C:\Grub4dos\grubinst.exe (hd0); to install to MBR of disk:1 use command C:\Grub4dos\grubinst.exe (hd1); etc. See here for a list of grubinst.exe commands.


Is a small program to help you install GRUB to the master boot record of your Flash Disk or any Hard Disk drive (External or Internal). You will really need this program if you want to be able to install with just a few clicks.To use Grub4Dos GUI Installer in Windows environment, you just need to run grubinstgui.exe (you will need Administrator privilege), choose your target disk from drop down menu, choose Whole Disk (MBR) from the Part List drop down menu, and press Install.


Basically, the goal is to install the grub4dos loader to the MBR of the usb drive and copy its program/configuration files to the drive's root. To do this, you download grub4dos (the program) and grubinst (a utility to add the program's loader to a MBR).


7z 16.3Ext2Fsd 0.68FbinstTool 1.607grub4dos-0.4.6a (build 2016.09)grubinst 1.4HashMyFiles 2.20HDHacker 1.6plpbt 5.0.15Q-Dir 6.3.9QEMU 2.7.0RMPartUSB 2.1.732upx 3.91USB Disk Ejector 1.3.0.4wimlib 1.10WinContig 2.0.0.2


Metoda jedna. Pro něj potřebujeme program grubinstkterý zapíše data o bootloaderu grub4dos v oblasti mbr požadovaného zařízení a spustitelném souboru bootloaderu grldr.


Rozbalte obsah archivu grubinst. Vložte USB flash disk do počítače. Spustit z rozbalených souborů grubinst_gui.exe. V okně, které se otevře, vedle slova Diskvyberte ze seznamu naši jednotku flash, obvykle poslední položku z rozevíracího seznamu. Pokud rozevírací seznam neobsahuje žádné hodnoty, musíte kliknout na tlačítko Obnovit. V rozevíracím seznamu Seznam součástí vyberte hodnotu Celý disk (MBR)... Podobně, pokud seznam neobsahuje žádné hodnoty, klikněte na Obnovit. 2ff7e9595c


1 view0 comments

Recent Posts

See All

Comments


bottom of page