Menu

grub2win install error

2017-05-08
2017-05-09
  • Alex Dedalus

    Alex Dedalus - 2017-05-08

    My System:
    AMD Athlon 64 X2 3600+
    Motherboard Model Foxconn 761GXM2MA
    BIOS Vendor Phoenix Technologies, LTD
    BIOS Version 6.00 PG
    Memory Module Size 2 GBytes
    HD 40GB, partitions: 1) Windows C: 5GB (fat32), 2) Data d: 35GB (ntfs)
    Video Adapter SiS 330 Integrated Mirage Graphics
    Netword Cards : 1) RealTek Semiconductor RTL8139 PCI Fast Ethernet NIC (onboard)
    2) Surecom EP-320X-S Fast Ethernet Adapter (offboard)

    During the installation of grub2win (start.bat) by selecting drive C, the error message
    "XP stub creation failed RC = 0"
    https://uploaddeimagens.com.br/imagens/setup-gif

    My configuration:
    https://uploaddeimagens.com.br/imagens/myconfig-gif

    Result:
    https://uploaddeimagens.com.br/imagens/result-gif

    During the boot of the computer, the grub manager does not appear, entering Windows XP directly

    my email: alexdedalus@hotmail.com

     

    Last edit: Alex Dedalus 2017-05-08
  • Ed  P

    Ed P - 2017-05-09

    5GB is awfully small for a Windows drive. How much free space do you have?

     
  • Alex Dedalus

    Alex Dedalus - 2017-05-09

    I have in C: 1GB free space, and my system works very fine.

     
  • Drummer

    Drummer - 2017-05-10

    Hi Alex,

    I found the bug, which only hits certain XP systems. The bug is fixed in Grub2Win release 9.4.2 which I just uploaded a few minutes ago.

    Please try the new release, and let me know how it works for you.

    Thanks for your patience,

    Dave

     
  • Alex Dedalus

    Alex Dedalus - 2017-05-10

    Result after boot:

    There was already other grub installed before, without I having installed any other operating system.
    During boot, the previous grub runs, I select Windows XP, and soon after, runs the current grub.

    I can not uninstall the old grub without running the risk of losing the current partition.

    I would like the current grub to overwrite the old grub in the MBR, and stay only the current 9.4.2.

     
    • Ed  P

      Ed P - 2017-05-11

      Hi Alex,

      If you already have a grub boot loader why do you need Grub2Win's? What are you trying to boot that the system's grub boot loader can't handle?

      Ed

       
  • Drummer

    Drummer - 2017-05-10

    Hi Alex,

    Grub2Win does not overwrite the MBR it works with the standard Windows MBR.

    Your MBR may have been overwriten by a Linux installation. Is that what you mean?

    A photo of your screen during boot would be helpful.

    Also please run C:\grub2\winsource\xxdiag.bat Then zip up the C:\grub2\diagnose directory and send it to me.

    We will get this fixed.

    Dave

     
  • Alex Dedalus

    Alex Dedalus - 2017-05-11

    As I said before, in the first MBR boot, the old grub appears, with the first option to boot into spyhunter, the second option is to boot Windows XP. After selecting to boot into Windows XP, it opens its grub that has now been installed 9.4.2. And after that, I select Windows XP, and the boot proceeds normally. I have no way to take a picture of the boot now.

    The diagnose file:
    http://ul.to/2mas5ljf

    I dont have installed linux, this happened after the installation of the strange version of the "Spyhunter", and after the first boot, the grub appears. ( spyhunter...-k )

    Is it possible to install another version of grub for MBR, overwriting old grub, without having to install linux, but keeping my windows XP setup?

    What is the correct package that contains a version of grub for MBR?

     
    • Ed  P

      Ed P - 2017-05-11

      Alex,

      From what I could find you should be able to uninstall SpyHunter, and it's boot screen, by going into Windows Control Panel Add/Remove Programs and uninstalling it. Have you looked in the Control Panel for it?

      https://www.enigmasoftware.com/program-uninstall-steps/

      Ed

       

      Last edit: Ed P 2017-05-11
  • Drummer

    Drummer - 2017-05-11

    Hi again Alex,

    Since you are having MBR issues, i recommend you download and install the free version EasyBCD available here:

    http://neosmart.net/EasyBCD/#comparison

    You can use EasyBCD to write the correct Windows MBR to your disk.

    See the "MBR Issues" topic in Grub2Win help for instructions on using EasyBCD to write the XP MBR.

    You can take photos of the boot screens with your phone and attach them to your reply. This may help diagnose your problem.

    Thanks again,

    Dave

     
  • Alex Dedalus

    Alex Dedalus - 2017-05-14

    Thanks for help.

    I will install EasyBCD, because I already tested it in Vmware with Windows XP and it worked.

     
  • Alex Dedalus

    Alex Dedalus - 2017-05-15

    Before attempting to use EasyBCD, I would like to continue with the grub that is installed.

    The grub that is installed on the MBR does not have a configuration file in HD (grub.cfg).

    How can I change the menu order of the grub that is installed?

     
  • Alex Dedalus

    Alex Dedalus - 2017-05-16

    I do not have any grub folder anywhere. Neither the menu.lst and grub.conf files.

    But it has a directory (C:\sh4ldr) with the files: initrd.gz, shldr, shldr.mbr, vmlinuz.

    None of them is text file where I can change boot menu order.

    Thanks for the help!

     

    Last edit: Alex Dedalus 2017-05-16
  • cosmotopper

    cosmotopper - 2017-08-20

    Hi Drummerdp. I just got through reading some posts on a microsoft site from people who discovered that the 'anniversary' edition of Windows 10 ruined their Grub2 dual boot systems. The response from the Microsoft 'MVP' was: "Linux dual boot is not supported under Windows 10" -- which begs the question: what right do you have to trash my boot configuration?

    As a professional software developer and network consultant with 40+ years experience, (who has been battling the predatory marketing and product development practices of Microsoft since about 1980), this is the first time in my memory that Microsoft has actually gone to the extreme of deliberately sabotaging a competing entity's standards compliant construct: purposely and properly installed by the owner of a computer which, coincidentally, contained a copy of Windows. (And BTW, I just discovered that a test-box I had with Windows 7 on it, somehow got magically 'upgraded' to Windows 10, without any notification, or request for permission -- and theres no way to restore Windows 7 on that box. And I had automatic-updates turned off.)

    I mention this in part just as a heads up as to who and what you're dealing with by releasing an invaluable tool for individuals who seek to preserve their right of ownership over their own personal computing equipment, in spite of that equipment being 'occupied' by Microsoft.

    I may end up using Grub2Win, but before I do, I want to understand exactly whats going on with respect to Grub2, the EFI MBR vs. the older one, and how exactly Grub2 boots Windows after taking over some portion of the first primary partition. I'm finding plenty of information online about how to recover from broken dual-boot scenarios, but not so much on the subject of whats actually going on behind the scenes during the new boot up regime. For example: how does your program (or any boot program) handle EFI secure boot mode?

    Although it sounds like Grub2Win has solved this problem while running under Windows, my preference would be to have an instance of Linux in complete control of the boot process (in-effect, an embeded 'watchdog' partition), capable of sequestering whatever Windows boot objects & configurations are necessary to boot into Windows (while protecting its own stuff elsewhere, beyond the reach of Windows).

    I was hoping to find some docs about that on your website, but it seems your website is essentially this sourceforge page. If you happen to have a link or two handy to some documentation of yours, or elsewhere, explaining how it all works, that would be very much appreciated.

     
  • Ed  P

    Ed P - 2017-08-20

    Hi cosmotopper,

    Drummmerdp is away for a while, a mini vacation to watch the sun.

    FWIW Grub2Win is a Windows boot loader. I have used it for a couple of yrs and 2 Windows 10 updates, neither of which hurt Grub2Win. My system is an EFI system if that matters and all my non-Windows booting is via ISOs, no lInux installs.

    Ed

     
  • Drummer

    Drummer - 2017-08-25

    Hi Cosmo,

    Many of the questions you ask are answered in the HTML help that is available when you install Grub2Win. If you don't wish to install, I can send you a PDF of the help documentation.

    The help doc includes a detailed description and flowcharts of the Grub2Win boot process in both EFI and BIOS mode as well as the XP boot process.

    Grub2Win does not alter your MBR or partitions in any way.

    For EFI systems it does require that you disable the EFI secure boot facility in the firmware. A few small Grub2Win modules are copied to your EFI partition. No files belonging to any other OS are touched.

    Hope this answers your questions. Please let me know if you need the doc PDF.

    Thanks,

    Dave

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.