Hello, i reinstalled antergos an added a boot partion with the mounting point /boot/uefi
This is partion 8
My root - mount point / - is partion 5
Cant boot ..
It took me a while, but I came up with code that works nicely on my systems.
I tested it on both EFI and BIOS systems.
Note that the partition labels "AntergosRoot" and "AntergosSwap" were automatically set up by the Antergos install program, so you do not need to set the label manually.
You will need to set up your Antergos menu entry in Grub2Win using custom code.
See the "Entering Custom Code" section in Grub2Win help.
Hello, thanks for the custom boot config, but i can't alter my boot config.Im getting an notpad error. Im guessing its a rights problem, but i executed the app with admin rights, so im not sure why it behaves likes this.
ironman, use Notepad to edit the c:\grub2\grub.cfg file directly. Don't use Grub2Win to do it. After you've updated the file then start Grub2Win to verify the update.
I would bet money that the Grub2Win/notepad problem is a security app issue on your machine. Check your AV logs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello dave, the fix didnt work - i get basically the same error only the path is diffrent.
When i tried to merge your antergos.cfg into c:\grub2\grub.cfg file it only lasted seconds, because after i run grub2win it overrights it with the previous settings.
Thanks four your help and time !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a part of the C:\grub2\grub.cfg file that Grub2Win does not touch.
It's called the user section. Grub2Win will not overwrite the user section.
You can put the attached code in the user section, and it should work.
I'm still trying to understand what is causing your notepad to fail. I've tested it and it works for me on all releases of Windows from XP thru Windows 10. Both EFI and BIOS, 64 bit and 32 bit, I have had no problem.
Would you mind letting me know which virus scan software you are using? Also, an updated screenshot of the error might help me correct this.
i added your start code at the usersection:
Sadly im getting this error message:
Error: no such device: /vmlinuz-linux
Grub did not find a boot partion with file /vmlinuz-linux
The requested screenshot about the error - "notepad"
About the system, its an 1 or 2 year old HP notebook with an AMD APU
The second os is windows 10-v1803, its a fresh stock os i deactivated the build in antivirus but the error persists
The code I gave you was for the standard Antergos installation as it appeared on my machine. If the /vmlinuz-linux file is somewhere else, you will need to adjust the code so GNU Grub can find it.
For example set kernelfile=/boot/vmlinuz-linux
Also the labels in the code must match the partition labels as they appear on disk.
Hope this helps,
Dave
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My current boot partion(antergos) is now sda8 - i check it with an live os and the path is /efi/boot/BOOTX64.efi
In the efi/antergos_grub folder there is no data .....
I have forgotton to tell you, that the root partion ist encrypted (set it on the antergos installation - luks)
Any clues ?
edit: im pritty sure that i cant boot because i entcrypted my root partition and so the bootloader cant find my kernel, i must add an decrypt procedure and then search for vmlnuz-linux.
kind regards,
ironman
Last edit: ironman 2018-06-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Something is very wrong with your grub2win.exe. The publisher should never show as "Unknown" because the file is digitally SSL signed. It is possible you received a corrupted install file.
Did you download Grub2Win from the official site?
If not, where did you get it?
Grub2Win should only be downloaded from the following site.
Hello,
the installation of grub2win went very well but when i booting antergos(on partion 5) its not booting because the kernel is missing.(i followed this tut https://antergos.com/wiki/install/how-to-dual-boot-antergos-windows-uefi-expanded-by-linuxhat/)
It must be possible to add a line to the grub loader where to kernel is located!
best regards
Pls post the grub2win menu you are using and the diskpart output of your hard drive. I suspect your partition 5 is not a primary partition.
Last edit: Ed P 2018-05-31
Hello, i reinstalled antergos an added a boot partion with the mounting point /boot/uefi
This is partion 8
My root - mount point / - is partion 5
Cant boot ..
The screenshots are in the attched Zip file
Last edit: ironman 2018-05-31
Ok, from your images I see your partitions are all Primary and you have an EFI system.
I also see that partitions 2,5,6,7,8 show 100% free space. How is that possible?
Your grub2win image shows your Debian system pointing to partition 8.
This is a Grub2Win menu I use for Porteus that you can compare to your menu.
Note the search command.
Hi Ironman,
It took me a while, but I came up with code that works nicely on my systems.
I tested it on both EFI and BIOS systems.
Note that the partition labels "AntergosRoot" and "AntergosSwap" were automatically set up by the Antergos install program, so you do not need to set the label manually.
You will need to set up your Antergos menu entry in Grub2Win using custom code.
See the "Entering Custom Code" section in Grub2Win help.
Please let me know if this works for you.
Thanks,
Dave
Last edit: Drummer 2018-06-01
Hello, thanks for the custom boot config, but i can't alter my boot config.Im getting an notpad error. Im guessing its a rights problem, but i executed the app with admin rights, so im not sure why it behaves likes this.
ironman, use Notepad to edit the c:\grub2\grub.cfg file directly. Don't use Grub2Win to do it. After you've updated the file then start Grub2Win to verify the update.
I would bet money that the Grub2Win/notepad problem is a security app issue on your machine. Check your AV logs.
Hi again Ironman,
I made some changes to the way Grub2Win calls notepad.exe to make it more consistent across different versions of Windows and CPU architectures.
There may have been an issue with the notepad calls depending on the architecture of certain machines.
Please download the latest release of Grub2Win from Source Forge and install it.
I believe this may fix the notepad problem. The new release is 1.0.5.3.
Please let me know if this works for you.
Thanks,
Dave
Last edit: Drummer 2018-06-04
Hello dave, the fix didnt work - i get basically the same error only the path is diffrent.
When i tried to merge your antergos.cfg into c:\grub2\grub.cfg file it only lasted seconds, because after i run grub2win it overrights it with the previous settings.
Thanks four your help and time !
"after i run grub2win it overrights it with the previous settings."
Wow!! That's a new feature. Something's not right imo.
Hi Ironman,
There is a part of the C:\grub2\grub.cfg file that Grub2Win does not touch.
It's called the user section. Grub2Win will not overwrite the user section.
You can put the attached code in the user section, and it should work.
I'm still trying to understand what is causing your notepad to fail. I've tested it and it works for me on all releases of Windows from XP thru Windows 10. Both EFI and BIOS, 64 bit and 32 bit, I have had no problem.
Would you mind letting me know which virus scan software you are using? Also, an updated screenshot of the error might help me correct this.
Many thanks,
Dave
Hi Dave,
i added your start code at the usersection:
Sadly im getting this error message:
Error: no such device: /vmlinuz-linux
Grub did not find a boot partion with file /vmlinuz-linux
The requested screenshot about the error - "notepad"
About the system, its an 1 or 2 year old HP notebook with an AMD APU
The second os is windows 10-v1803, its a fresh stock os i deactivated the build in antivirus but the error persists
kind regards,
Ironman
Last edit: ironman 2018-06-05
Hi again Ironman,
The code I gave you was for the standard Antergos installation as it appeared on my machine. If the /vmlinuz-linux file is somewhere else, you will need to adjust the code so GNU Grub can find it.
For example set kernelfile=/boot/vmlinuz-linux
Also the labels in the code must match the partition labels as they appear on disk.
Hope this helps,
Dave
Thanks dave for the help :)
My current boot partion(antergos) is now sda8 - i check it with an live os and the path is /efi/boot/BOOTX64.efi
In the efi/antergos_grub folder there is no data .....
I have forgotton to tell you, that the root partion ist encrypted (set it on the antergos installation - luks)
Any clues ?
edit: im pritty sure that i cant boot because i entcrypted my root partition and so the bootloader cant find my kernel, i must add an decrypt procedure and then search for vmlnuz-linux.
kind regards,
ironman
Last edit: ironman 2018-06-05
ironman, when you start grub2win do you see the Windows User Account Control popup window?
Last edit: Ed P 2018-06-06
@Edp, yep i see this. Its a fresh installation of win10 - 1803 nothing tweaked only a baisc setup drivers and a Firefox and Libreoffice
Hi again Ironman,
Something is very wrong with your grub2win.exe. The publisher should never show as "Unknown" because the file is digitally SSL signed. It is possible you received a corrupted install file.
Did you download Grub2Win from the official site?
If not, where did you get it?
Grub2Win should only be downloaded from the following site.
https://sourceforge.net/projects/grub2win/
I've attached a screenshot of the UAC message as it should appear. Note the "Verified publisher" signature with my name.
Also, please check the properties of file C:\grub2\grub2win.exe and it's SSL signature.
The properties should appear as shown in the attached "Properties-1" and "Properties-2" screenshots.
If the SSL signature is missing, either you downloaded a corrupted file from a bad website or your unzip program corrupted the file.
Please let me know.
Thanks,
Dave
Hi Dave, your message should be directed to Ed P because i check every exe @ virustotal
Here the proof that i used a correct digitaly signed version
best regards
ironman
Last edit: ironman 2018-06-10
Hi Ironman,
Sorry for the confusion. I thought the "Unknown" module was from you.
Your grub2win.exe is OK and has a valid SSL signature.
Thanks,
Dave
Ironman,
Did you ever get around to loading the Grub2Win encryption support drivers?
Please let me know.
Dave