Hi, Grub2Win simply issues the Microsoft "powercfg /h" command to turn hibernation on or off. If the powercfg command does not work for you, it is probably a firmware issue on your machine. I hope this helps, Dave
Hi Bob, I'm not sure what you want to "fix". There is no trojan or malware. You can examine the source code yourself to see that the code is clean. https://sourceforge.net/p/grub2win/sourcecode/ This is a false positive and there have been many over the years. I report them to the various virus scan vendors often. Thanks for understanding, Dave
Hey Ed, As far as I know it is working. I don't have a copy of his code. Dave
Hi Stan, Please run the Grub2Win diagnostics and send them to me. Once I have your diagnostics, I can view your hardware and partition setups. Then I can better help you. Thanks, Dave
Hey Ed, The thing about this is that Herve wants to find an unidentified drive. Your code is searching for specific files. bootx64 and vmlinuz. There is no guarantee that these files exist on an unidentified drive. Or that they will exist in these specific directories. There are literally thousands of distributions out there with files of many names and many locations. Not just these two. Dave
Hi Herve, I'm not sure how you want to approach this. To add an entry, I must know the GNU Grub code to be generated for that entry. I've attached a sample of some GNU Grub code generated by Grub2Win. As you can see, the available commands are pretty limited. What code do you envision for an unknown external USB drive? Please note that the common Windows and Linux commands and scripts are not available at boot time for GNU Grub. Only the commands found in this manual https://www.gnu.org/savannah-checkouts/gnu/grub/manual/grub/grub.html...
This might help you to develop a script: https://www.tampermonkey.net/ You should be able to edit email postings of others.
Use this approach. Record each step: key pressed, option selected. Then try to write a script that walks you through those steps for next time. As a forum moderator on other forums I sometimes edit posts too; correct spelling for future seaches, spam links, bad words but rarely delete them unless they are spam.