• deleted GRUB EFI Boot partition


    Yea that’s right I did it! I’m really uncertain on how to fix this but my guess would be to reinstall grub/efi.

    Once I realized that I had burned myself I reformatted the boot partition again form a live gparted and reset the boot flags to, boot and esp.

    wiki miscellaneous/how-to-fix-grub-with-efi-boot/ if i post link to wiki it’s marked as spam?

    My boot partition is on /dev/sda1 so i’m doing as follows:

    mount /dev/sda3 /mnt
    mount /dev/sda1 /mnt/boot
    mount /dev/sda1 /mnt/boot/efi

    Then I’m told that ‘/dev/sda1 /mnt/boot/efi’ do not exist.

    I’m not sure if I’m even on the right track and would really appreciate some help.

    regards

  • @badboot said in deleted GRUB EFI Boot partition:

    marked as spam

    yea you need to get some 💖 first then you will be allowed to paste links…

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • @badboot

    mount /dev/sda1 /mnt/boot
    mount /dev/sda1 /mnt/boot/efi

    You are mounting the same partition to two mountpoints… but /boot/efi needs to be the EFI fat32 partition you will have if you install on EFI system…

    please take a look to your full device/partition tables:

    sudo fdisk -l
    

    May you are not booting in EFI mode possible, it can be that EFI/Bios is set to legacy mode…

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • @joekamprad

    sudo fdisk -l
    
    /dev/sda1  *            2048    1050623   1048576      512M ef EFI (FAT-12/16/32
    /dev/sda2            1050624   18458623  17408000      8.3G 82 Linux swap / Sola
    /dev/sda3           18458624  180250623 161792000     77.2G 83 Linux
    /dev/sda4          180250624 1025609727 845359104    403.1G 83 Linux
    

    BIOS is set to both EFI and legacy mode I believe.

    mount /dev/sda3 /mnt
    mount /dev/sda1 /mnt/boot/efi
    arch-chroot /mnt
    
    [[email protected] /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Antergos-grub
    Installing for x86_64-efi platform.
    GUID Partition Table Header signature is wrong: 139e8811bbe5652 != 5452415020494645
    GUID Partition Table Header signature is wrong: 0 != 5452415020494645
    GUID Partition Table Header signature is wrong: 139e8811bbe5652 != 5452415020494645
    GUID Partition Table Header signature is wrong: 0 != 5452415020494645
    GUID Partition Table Header signature is wrong: 139e8811bbe5652 != 5452415020494645
    GUID Partition Table Header signature is wrong: 0 != 5452415020494645
    Installation finished. No error reported.
    
  • Did change BIOS to efi boot only but I do believe I was booting of efi before to tho.

    For full disclosure I ran both the following commands as chroot but I got no idea if it was in any way helpful.

    grub-mkconfig -o /boot/grub/grub.cfg
    mkinitcpio -p linux
    

    Boot now halted on ‘timed out waiting for device dev-disk something something’ followed by
    Dependency failed for /boot/efi
    Dependency failed for local filesystem

    I then chrooted back in and edited fstab changing all UUID entries to /dev/sda1 /dev/sda2 etc. and that seems to have done the trick. At least I’m back in now. Thanks for trying to help out. Oh and pro tip don’t format thumb drives while your own thumb is firmly placed you know where.

boot236 grub101 efi12 deleted1 Posts 5Views 417
Log in to reply
Bloom Email Optin Plugin

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