Menu

Dual Boot windwos 10 & Antergos problem

ironman
2018-05-31
2018-06-10
  • ironman

    ironman - 2018-05-31

    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

     
  • Ed  P

    Ed P - 2018-05-31

    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
  • ironman

    ironman - 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
  • Ed  P

    Ed P - 2018-06-01

    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.

    menuentry "Porteus 3.2.2 - installed" --class slackware   --class icon-porteus  {
         echo "Boot disk address is: "$root
         echo "Prefix is:            "$prefix
         echo "The boot mode is:     "$grub2win_bootmode
    
         search -f /boot/syslinux/vmlinuz --set=root
    
         echo "USB root is:          "$root
         echo "ISO is:               n/a"
         echo "Porteus folders:      /"
    
         set porteus_parms="volume=33 reboot=cold extramod=/Modules changes=EXIT:/porteus/changes/porteussave.dat " 
    
         echo "Porteus parms are:    "$porteus_parms
         echo
         sleep -v -i 5
    
         linux /boot/syslinux/vmlinuz $porteus_parms
         initrd /boot/syslinux/initrd.xz
         echo "Booting Porteus"
    }
    

    Note the search command.

     
  • Drummer

    Drummer - 2018-06-01

    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
  • ironman

    ironman - 2018-06-03

    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.

     
  • Ed  P

    Ed P - 2018-06-03

    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.

     
  • Drummer

    Drummer - 2018-06-04

    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
  • ironman

    ironman - 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 !

     
    • Ed  P

      Ed P - 2018-06-04

      "after i run grub2win it overrights it with the previous settings."
      Wow!! That's a new feature. Something's not right imo.

       
  • Drummer

    Drummer - 2018-06-04

    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

     
  • ironman

    ironman - 2018-06-05

    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
  • Drummer

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

     
  • ironman

    ironman - 2018-06-05

    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
  • Ed  P

    Ed P - 2018-06-06

    ironman, when you start grub2win do you see the Windows User Account Control popup window?

     

    Last edit: Ed P 2018-06-06
  • ironman

    ironman - 2018-06-10

    @Edp, yep i see this. Its a fresh installation of win10 - 1803 nothing tweaked only a baisc setup drivers and a Firefox and Libreoffice

     
  • Drummer

    Drummer - 2018-06-10

    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

     
  • ironman

    ironman - 2018-06-10

    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
  • Drummer

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

     
  • Drummer

    Drummer - 2018-06-10

    Ironman,

    Did you ever get around to loading the Grub2Win encryption support drivers?

    Please let me know.

    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.