• After successful install Antergos requires USB stick to boot


    I installed Antergos successfully on my Dell XPS13 after navigating around a few issues (adding legacy boot mode in the bios, enabling the network card drivers and updating the mirrors list) and I am delighted with it. However it appears that to boot into antergos I am required to have to usb stick (with the iso) inserted and I need to boot from it (as a legacy boot option) from the bios. How do I go about resolving this? Does this involve doing something with grub? Advice gratefully received.

  • @dansonc
    I assume you happened to install MBR and grub to the USB stick.

    Check the partitions with command

    lsblk -fm
    

    Since you have legacy boot, you could give the following commands:

    sudo grub-install /dev/sda  # assuming sda is the disk of the installed system
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    
  • @dansonc
    But before doing that, could you show the output of command

    sudo fdisk -l
    
  • Command grub-install may not work properly with legacy boot, if your disk partition table is gpt.

  • sudo fdisk -l gives >

    Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x27d0f68b

    Device Boot Start End Sectors Size Id Type
    /dev/nvme0n1p1 * 2048 524287 522240 255M 83 Linux
    /dev/nvme0n1p2 524288 984225791 983701504 469.1G 83 Linux
    /dev/nvme0n1p3 984225792 1000215215 15989424 7.6G f W95 Ext’d (LBA)
    /dev/nvme0n1p5 984227840 1000215215 15987376 7.6G 82 Linux swap / Solaris

    Disk /dev/sda: 57.3 GiB, 61505273856 bytes, 120127488 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x00031946

    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 2048 120127487 120125440 57.3G c W95 FAT32 (LBA)

    ** The 64Gb drive is the USB stick

  • @dansonc
    OK, seems that you’re good to go. :)

    But always remember that you do it on your own risk… :)
    Since you have a fresh install, there shouldn’t be any big risk.

  • Wait a minute!

  • Your linux is on disk /dev/nvme0n1.
    Could you show the output of
    lsblk -fm

  • lsblk -fm gives

    NAME FSTYPE LABEL UUID MOUNTPOINT SIZE OWNER GROUP MODE
    sda 57.3G root disk brw-rw----
    └─sda1 vfat ANTERGOS 15F8-3641 /run/media/dansonc/ANTERGOS 57.3G root disk brw-rw----
    nvme0n1 477G root disk brw-rw----
    ├─nvme0n1p1 ext4 AntergosBoot c4a687a6-26c0-4b09-9101-d344befe49bf /boot 255M root disk brw-rw----
    ├─nvme0n1p2 ext4 AntergosRoot e471924d-bd6f-4e0f-b25a-5359a5732c22 / 469.1G root disk brw-rw----
    ├─nvme0n1p3 1K root disk brw-rw----
    └─nvme0n1p5 swap AntergosSwap a2099869-8945-43ed-a3ac-4d91c91edc46 [SWAP] 7.6G root disk brw-rw----

  • @dansonc
    What do you have on disk /dev/sda? 57.4GB for vfat?

  • @manuel

    I created the install usb stick from Windows 10 with some tool called Rufus. Does that explain it? VFAT is a Windows thing right?

  • Oh, I suppose sda is your USB stick. Sorry, read too hastily…

    I think you could do the modified commands:

    sudo grub-install /dev/nvme0n1
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    

    but I’m not 100% sure because I don’t have such a disk. Maybe someone with that kind of disk could confirm?

  • Yep, sda is the stick. Will wait for a bit before trying out your suggestion to see if someone can confirm. Thanks Manuel.

  • @dansonc
    Yeah, Rufus (in DD mode) should be OK to create the stick. But I suppose you didn’t use DD mode? That probably would explain VFAT. And it would probably explain why you could install grub on it.
    But TBH, I’ve not used Rufus so I’m no expert on it.

  • @dansonc
    BTW, doesn’t your machine support UEFI? Or why did you choose legacy boot?

  • Don’t remember about my DD Mode choice I’m afraid. Your suggestion is to install grub on nvme0n1 though right? There seems to be an issue with Dell XPS 13 that requires legacy boot mode in order to boot from the USB stick. Think I found that on the forum somewhere.

  • @joekamprad is the “Official General Expert on Antergos” (and I do respect him for that!), maybe he could confirm?

  • @dansonc
    OK. That explains many things. You probably didn’t use DD mode, and then Rufus created the stick to support only legacy boot.

    Etcher is another recommended way to create the stick. And of course, dd on Linux can create it too.

    Its your choice, you could reinstall with UEFI support (after creating the stick “properly”). Or could wait someone to confirm that grub-install for your disk.

  • @dansonc said in After successful install Antergos requires USB stick to boot:

    Your suggestion is to install grub on nvme0n1 though right?

    Yes.

  • @dansonc
    I looked at the internet. I think you’re good to go as planned:

    sudo grub-install /dev/nvme0n1
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    
usb117 requires9 stick8 successful5 Posts 22Views 822
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.