• USB installer won't boot


    Hi there.

    I have a laptop where I have both Win 10 and Antergos installed.
    Also, I have rEFInd installed. I was probably stupid to install it because I still don’t get what UEFI is, why I even need it and how to get rid of it.
    Right now, when I open my laptop, I first get the rEFInd menu, and I can either select Win10, or Antergos.
    If I select Antergos, it goes to the typical blue-ish Antergos grub menu, where I select Antergos and I go in my Antergos OS.

    So, because over the last few months I changed lots of things and my Antergos set up is messed up, I wanted to keep my /home partition, and re-install antergos, so I can do things cleanly.
    I dowloaded today the latest Antergos ISO, wrote it to a USB stick, and I’m trying to boot from it.
    That’s impossible.
    I get some errors about something with EFI missing, and then a blue screen saying
    ERROR Failed to start loader.efi: (14) Not found
    And that’s it. I cannot find anyway to boot from the usb.
    If I enable the “secure boot” from the BIOS, it goes straight to Win10 on boot. There’s no option to do anything.

    What am I doing wrong? Any ideas?

    Thank you.

  • try to use the CD/DVD (not the default usb boot option) entry rom boot menu of the ISO…

  • @joekamprad You were right, that option does go in the live CD.

    I get the cnchi error though. As soon as I complete all the steps and it starts installing, I get this metalink error.
    I did look it up in here, and I went to the relevant thread where you have some “wget … | sh …” solution.
    That doesn’t work either though.
    That thread is 7 pages long, so I’m not sure which one is the latest solution.

    I will try again now, and try to keep screenshots so I can post the exact error messages.

    In any case, thanks for helping! :)

  • @zarbol said in Antergos not installing.........Take a deep breathe......:

    i tried to install antergos 4 times in a row now. made an usb ready with the minimal and the large iso.

    ive got everytime an cnchi error.

    solution that worked was :

    • Using Minimal ISO
    • (Use CD/DVD at start up)
    • Close CNCHI Installer
    • Connect to WiFi / Internet
    • Wait till CNCHI is updated
    • Close CNCHI
    • Open Terminal
    • Update Mirrorlist
    sudo reflector -l 30 -f 15 --save /etc/pacman.d/mirrorlist
    
    • use command “cnchi” to open cnchi from the terminal
    • Follow the instructions

    with that way i finished my installation 😇

  • Tried again, and cnchi went fine this time.
    But, now I get this on boot : https://photos.app.goo.gl/EWsiy78EoNrLsKuH7
    Reboot gets stuck at the same place.
    Also, it now skips refind completely, so I cannot dual boot to win10 anymore :(

  • I chose the “fallback” option, and that one starts fine.
    Now on reboot, I get normal boot on antergos.

    Regarding boot choices though, there’s no way to go to Win10.
    Should I attempt to re-install rEFInd?

  • @antouank you will need to rebuild grub.cfg to get win added to bootmenu:
    sudo grub-mkconfig -o /boot/grub/grub.cfg

    If you mind post the output here to see if it works fine…

  • That didn’t work.
    I mean I still get the same antergos grub with only one option.
    Here’s the file it made :

    $ sudo cat /boot/grub/grub.cfg
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    if [ "${next_entry}" ] ; then
       set default="${next_entry}"
       set next_entry=
       save_env next_entry
       set boot_once=true
    else
       set default="0"
    fi
    
    if [ x"${feature_menuentry_id}" = xy ]; then
      menuentry_id_option="--id"
    else
      menuentry_id_option=""
    fi
    
    export menuentry_id_option
    
    if [ "${prev_saved_entry}" ]; then
      set saved_entry="${prev_saved_entry}"
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z "${boot_once}" ]; then
        saved_entry="${chosen}"
        save_env saved_entry
      fi
    }
    
    function load_video {
      if [ x$feature_all_video_module = xy ]; then
        insmod all_video
      else
        insmod efi_gop
        insmod efi_uga
        insmod ieee1275_fb
        insmod vbe
        insmod vga
        insmod video_bochs
        insmod video_cirrus
      fi
    }
    
    if [ x$feature_default_font_path = xy ] ; then
       font=unicode
    else
    insmod part_gpt
    insmod ext2
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root  9a884c5d-73ec-4416-ab08-1e7050443c44
    else
      search --no-floppy --fs-uuid --set=root 9a884c5d-73ec-4416-ab08-1e7050443c44
    fi
        font="/usr/share/grub/unicode.pf2"
    fi
    
    if loadfont $font ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      set locale_dir=$prefix/locale
      set lang=en_GB
      insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    insmod part_gpt
    insmod ext2
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root  9a884c5d-73ec-4416-ab08-1e7050443c44
    else
      search --no-floppy --fs-uuid --set=root 9a884c5d-73ec-4416-ab08-1e7050443c44
    fi
    insmod gfxmenu
    loadfont ($root)/boot/grub/themes/Antergos-Default/ascii.pf2
    loadfont ($root)/boot/grub/themes/Antergos-Default/rlwy14.pf2
    loadfont ($root)/boot/grub/themes/Antergos-Default/rlwy16.pf2
    insmod png
    set theme=($root)/boot/grub/themes/Antergos-Default/theme.txt
    export theme
    if [ x$feature_timeout_style = xy ] ; then
      set timeout_style=menu
      set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
      set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/10_antergos ###
    menuentry 'Antergos Linux' --class antergos --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9a884c5d-73ec-4416-ab08-1e7050443c44' {
            load_video
            set gfxpayload=keep
            insmod gzio
            insmod part_gpt
            insmod ext2
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root  9a884c5d-73ec-4416-ab08-1e7050443c44
            else
              search --no-floppy --fs-uuid --set=root 9a884c5d-73ec-4416-ab08-1e7050443c44
            fi
            echo    'Loading  linux kernel ...'
            linux   /boot/vmlinuz-linux root=UUID=9a884c5d-73ec-4416-ab08-1e7050443c44 rw  quiet
            echo    'Loading initial ramdisk ...'
            initrd  /boot/intel-ucode.img /boot/initramfs-linux.img
    }
    submenu 'Advanced options for Antergos Linux' $menuentry_id_option 'gnulinux-advanced-9a884c5d-73ec-4416-ab08-1e7050443c44' {
            menuentry 'Antergos Linux' --class antergos --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9a884c5d-73ec-4416-ab08-1e7050443c44' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_gpt
                    insmod ext2
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root  9a884c5d-73ec-4416-ab08-1e7050443c44
                    else
                      search --no-floppy --fs-uuid --set=root 9a884c5d-73ec-4416-ab08-1e7050443c44
                    fi
                    echo    'Loading  linux kernel ...'
                    linux   /boot/vmlinuz-linux root=UUID=9a884c5d-73ec-4416-ab08-1e7050443c44 rw  quiet
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/intel-ucode.img /boot/initramfs-linux.img
            }
            menuentry 'Antergos Linux - Fallback' --class antergos --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-9a884c5d-73ec-4416-ab08-1e7050443c44' {
                    load_video
                    set gfxpayload=keep
                    insmod gzio
                    insmod part_gpt
                    insmod ext2
                    if [ x$feature_platform_search_hint = xy ]; then
                      search --no-floppy --fs-uuid --set=root  9a884c5d-73ec-4416-ab08-1e7050443c44
                    else
                      search --no-floppy --fs-uuid --set=root 9a884c5d-73ec-4416-ab08-1e7050443c44
                    fi
                    echo    'Loading  linux kernel ...'
                    linux   /boot/vmlinuz-linux root=UUID=9a884c5d-73ec-4416-ab08-1e7050443c44 rw  quiet
                    echo    'Loading initial ramdisk ...'
                    initrd  /boot/intel-ucode.img /boot/initramfs-linux-fallback.img
            }
    }
    
    ### END /etc/grub.d/10_antergos ###
    
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  ${config_directory}/custom.cfg ]; then
      source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    

    Also, what’s weird is that if I go to the boot menu on BIOS, and select anything else ( like UEFI Windows 10, or UEFI rEFInd ) it skips it and goes again to the antergos grub.
    Somehow it cannot find that partition anymore? I’m a bit confused on how it works.

  • https://antergos.com/wiki/install/how-to-dual-boot-antergos-windows-uefi-expanded-by-linuxhat/

    if it is EFI system you will need to get it handled like this, rEFInd is not needed to dualboot Win + Antergos

  • @joekamprad I’m reading now that guide.
    So yes, I did the mistake of formatting the /boot/efi partition.

    I see one of the next steps say to run sudo os-prober and see something.
    I cannot get any output out of that. Even with ntfs-3g installed.
    Any idea on how to proceed on that?
    Can I somehow recover that /boot/efi partition to see the Win10 installation?

  • @antouank said in USB installer won't boot:

    So yes, I did the mistake of formatting the /boot/efi partition.

    this is not a partition… it is a mountpoint for the efi/fat32 partition from windows…
    so what exactly you where doing here?

    If you format the efi/fat32 from windows you can’t recover it from linux/live/ISO you will need to recover from windows itself then… but it will be unbootable from hd so it will be a long run with win recovery to reinstall efi/fat32…

  • @joekamprad When I installed antergos, I used the same /home partition and formatted the / and /boot/efi ones.
    I didn’t know what I was doing, obviously.

  • may this can help:
    https://www.easeus.com/partition-master/restore-repair-deleted-efi-boot-partition-in-windows-10-8-7.html

    if you have a windows boot-cd/stick/recovery-something:
    Method 2. Create lost/deleted EFI partition by using CMD
    from the link will be the easy solution…

  • @joekamprad Hmm. How will I try that since it needs windows?
    I cannot boot on Win10. :(

    Can I run it with wine? Or a windows VM?

  • @antouank said in USB installer won't boot:

    Can I run it with wine? Or a windows VM?

    would be huge more complicated

  • can you show sudo lsblk -o NAME,FSTYPE,UUID,RO,RM,SIZE,STATE,OWNER,GROUP,MODE,TYPE,MOUNTPOINT,LABEL,MODEL

  • @joekamprad said in USB installer won't boot:

    @antouank said in USB installer won't boot:

    Can I run it with wine? Or a windows VM?

    would be huge more complicated

    My only other option is to find another win10 PC/laptop then, right?
    Can I somehow edit the grub.cfg to see my Win installation?
    I mean by finding the partition UUID or something.

  • @joekamprad said in USB installer won't boot:

    can you show sudo lsblk -o NAME,FSTYPE,UUID,RO,RM,SIZE,STATE,OWNER,GROUP,MODE,TYPE,MOUNTPOINT,LABEL,MODEL

    $ sudo lsblk -o NAME,FSTYPE,UUID,RO,RM,SIZE,STATE,OWNER,GROUP,MODE,TYPE,MOUNTPOINT,LABEL,MODEL
    NAME        FSTYPE UUID                                 RO RM   SIZE STATE OWNER GROUP MODE       TYPE MOUNTPOINT LABEL MODEL
    nvme0n1                                                  0  0   477G live              brw-rw---- disk                  SAMSUNG MZVLW512HMJP-00000
    ├─nvme0n1p1 vfat   6C21-1EA3                             0  0 122.1M                   brw-rw---- part /boot/efi  boot  
    ├─nvme0n1p2 ext4   9a884c5d-73ec-4416-ab08-1e7050443c44  0  0 119.2G                   brw-rw---- part /          root  
    ├─nvme0n1p3 ext4   7621f6e5-723e-4215-965e-ac28659b8921  0  0 119.2G                   brw-rw---- part /home      home  
    ├─nvme0n1p4                                              0  0    16M                   brw-rw---- part                  
    └─nvme0n1p5 ntfs   A62A1FC22A1F8F05                      0  0 238.4G                   brw-rw---- part                  
    
  • o.k. no recovery partition for win, so you will need something media to get CMD running…

    and your win install is extended partition after Antergos ? why so? why no gpt?

    50GB would be more then o.k. for / (root) [ sidenote]

  • @joekamprad said in USB installer won't boot:

    o.k. no recovery partition for win, so you will need something media to get CMD running…

    and your win install is extended partition after Antergos ? why so? why no gpt?

    Not sure what that means.
    Yes, when I got the laptop, I formatted it and got antergos. Then I added win10.

    50GB would be more then o.k. for / (root) [ sidenote]

    Actually it was close to 80% before I did this format+re-installation.
    I think docker and haskell use a lot of size. Maybe steam also.

boot279 usb108 installer58 Posts 21Views 266
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.