Menu

Macbook Air: how do I invoke/run an .efi file?

2020-07-26
2020-07-27
  • Paul Larson

    Paul Larson - 2020-07-26

    Successfully installed rEFInd on 2012, 11inch Macbook Air. Also installed the shell.efi which worked.

    My goal? Run the SmcFlasher.efi -reset 1 command to reset SMC on the Macbook Air.

    I can navigate to the file system, browse (ls) in the directory where I stored said .efi, I just don't know what to do with it.

    ./SmcFlasher.efi -reset 1 didn't do the trick. Tried with and without ./

    In both cases, a version of 'command not found' or 'unknown command' was the error message. (couldn't easily copy/paste the error message from EFI shell). Clearly, the shell didn't know what to do with the command.

    Is there a proper way to issue/invoke a command?

    It was no small task to find the SmcFlasher from a Firmware update (by using Pacifist) and getting rEFInd to boot. Since I got that far, I'm hoping I'm missing something really obvious.

    Any help appreciated!

     
  • joevt

    joevt - 2020-07-27

    Did you cd fs0:\path first?

    ls will show commands in green and directories in blue.

    Then you can execute the command with or without the .efi extension.
    SmcFlasher -reset 1

    You can pipe the output to a text file. It might include the error text (but only if it executes the command)
    SmcFlasher -reset 1 > SmcFlasher_reset_1.txt

    What version of the shell are you using?
    ver > ver.txt

     

Log in to post a comment.