top of page
mchenelakicleanjaw

Grubinst Gui.exe Windows 7



This software works great! I am able to install either windows xp or window 7. Is there a way to have multiple versions of windows xp or 7? My goal is to setup my usb drive to install windows 7 pro, home or ultimate. as well as windows xp pro or home. I am also trying to rename the selection when I launch the installation, but have been unsuccessful. Will you please help. Thanks




Grubinst gui.exe Windows 7




This software works great! I am able to install either windows xp or window 7. Is there a way to have multiple versions of windows xp or 7? My goal is to setup my usb drive to install windows 7 pro, home or ultimate. as well as windows xp pro or home.


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/


This error appears because grubinst_gui uses the old WinExec function instead of a newer one like CreateProcess(W).Only CreateProcess(W) is able to start another process with the same security context as the calling proceess.Btw, in VMUB I use CreateProcessW...I will try to implement it also in grubinst_gui.It will take some time to figure out how to properly modify grldrstart.S so, for the moment, I implemented the first way. Btw, it wasn't so easy as I thought...


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.


Meantime I have made other modifications:- "Read only" checkbox is now "Force standard MBR";- "Force standard MBR": in case of file system detection failure, it will use a standard MBR (I'm open to suggestions for a better name/explanation);- "Test" button now starts grubinst with "--read-only" switch;- on success, "grubinst.exe --read-only ..." displays "The MBR/BS can be successfully installed".- if grubinst_gui fails to start grubinst.exe it will show an error code.


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 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.


Using the Grubinst package, it is also possible to install Grub4dos code to the partition boot sector. Use command syntax grubinst.exe -p=n [device] or grubinst.exe --install-partition=n [device] (where n = partition number, starting from 0 for first partition. e.g. grubinst.exe -p=0 (hd0). Alternatively, use command grubinst.exe (hd0,0). grldr must be copied to the partition on which the bootsector was installed, and the partition must be active.


Use instead the DOS version of grubinst tool with command syntax grbins16.exe -p=n [device] or grbins16.exe --install-partition=n [device] (where n = partition number, starting from 0 for first partition. e.g. grbins16.exe -p=0 (hd0).


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.


Using the Grubinst package, it is possible to install Grub4dos code to the partition boot sector. Use command syntax grubinst.exe -p=n [device] or grubinst.exe --install-partition=n [device] (where n = partition number, starting from 0 for first partition. e.g. grubinst.exe -p=0 (hd0). Alternatively, use command grubinst.exe (hd0,0). grldr must be copied to the partition on which the bootsector was installed, and the partition must be active.


I do think that my overall post-boot size is larger than yours, but I am unsure and will need to reboot and check this week. Some of that would have to do, inevitably, with some of the services I have active being related to network vs. your needs (AFD, for instance). I also think that some of the differences in our services list may have to do with my recently going through flatboot and deleting what I could for un-used services in HKLM\SYSTEM\CurrentControlSet\Services, windows\system32\drivers, system32\filerepository, windows\INF, etc. -- took the ISO down about 100 MB, and seemed to change the behavior a tiny bit for what I was able to disable post-boot (I think? too many changes in the last few months to remember exactly! lol). It was a bit slow going (took a whole week to test!) but should be easy enough for me to make screenshots of the results and post them this week.


I try to do this with my Fujitsu MHT 2040AT 0811(40GB).Make all that you say,without integrate SP3.PC try to boot for USB but give to opsions to install windows(use xp home edition with SP1).I able to run directly:Safe modeSafe mode with command promtSafe mode with networkLast Know Good ConfigurationStart windows normally.


During installation of windows you should never see:Safe modeSafe mode with command promtSafe mode with networkLast Know Good ConfigurationStart windows normally.This shows up only if there are problems with an already existing Windows installation.


I have a Toshiba NB100 wich had ubuntu installed on it i have tried booting off usb and all goes well boots up in txt mode but when i try to locate my main HDD 80 gig one its not shown in the windows install menu any ideas whats wrong.


am having difficulties with settnig up USB stick installation. I get it up to point that it boots up, loads setup files but then only displays stick drive available to install windows. i tried few times but with no luck.


hi man, i still have big problem, i start first tekst setup and it starts and when it comes to screen starting windows in this first step next should show hard drives to choose tahn it comose blue screen of death please help me what should i do? 2ff7e9595c


0 views0 comments

Recent Posts

See All

Comentários


bottom of page