Menu

Bug in install.sh

Max
2014-09-25
2014-10-14
  • Max

    Max - 2014-09-25

    Some Arch Linux users have noticed that install.sh fails if they booted using live media and the ESP is mounted to /boot (a pretty common scenario when installing).

    The problem is that the FindMountedESP() function runs

    grep "$InstallDir" /etc/mtab
    

    And for Arch, the path of the live media also contains the substring "/boot", so the script gets confused and gives some nonsensical error. The fix is just to grep for whole words:

    grep -w "$InstallDir" /etc/mtab
    

    There's some discussion of this on the Arch wiki.

     

    Last edit: Max 2014-09-25
  • Roderick W. Smith

    Thanks for the bug report. I've added a fix to my in-development version.

     

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.