├── AutomatorApplet.png ├── Command Line EFI Mounter.zip ├── LICENSE ├── README.md └── Script file ├── EFI-Mounter.command └── main.scpt /AutomatorApplet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chris1111/Command-Line-EFI-Mounter/1b78c256b05b9480f77f985419070641c42d2041/AutomatorApplet.png -------------------------------------------------------------------------------- /Command Line EFI Mounter.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chris1111/Command-Line-EFI-Mounter/1b78c256b05b9480f77f985419070641c42d2041/Command Line EFI Mounter.zip -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | ISC License 3 | 4 | Copyright (c) 2016, chris1111 5 | 6 | Permission to use, copy, modify, and/or distribute this software for any purpose 7 | with or without fee is hereby granted, provided that the above copyright notice 8 | and this permission notice appear in all copies. 9 | 10 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 11 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 12 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 13 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 14 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 15 | OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 | PERFORMANCE OF THIS SOFTWARE. 17 | 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Command Line EFI Mounter 2 | 3 | ### This is a simple app that helps you to mount any EFI partition Inside Mac OS X. 4 | ### Credit Apple! 5 | 6 | ## Working for Mac OS X 10.9 to macOS 12 7 | 8 | ### Instructions 9 | 10 | ### Download release the Command-Line-EFI-Mounter, Follow every steps 11 | 12 | 13 | Download Release [➤ Command Line EFI Mounter ](https://github.com/chris1111/Command-Line-EFI-Mounter/releases/tag/V1) 14 | 15 | ### Follow every steps in the (Video) 16 | 17 | ### ------------- ☟ ------------- 18 | [![Modular Image Creation](https://i62.servimg.com/u/f62/18/50/18/69/13692710.png)](https://www.youtube.com/watch?v=yC6xfIj_mec) 19 | -------------------------------------------------------------------------------- /Script file/EFI-Mounter.command: -------------------------------------------------------------------------------- 1 | # MountEFI 2 | # (c) Copyright 2022 chris1111 3 | 4 | # 5 | PARENTDIR=$(dirname "$0") 6 | cd "$PARENTDIR" 7 | printf '\e[8;45;80t' 8 | BOLD="\033[1m" 9 | RED="\033[1;31m" 10 | GREEN="\033[1;32m" 11 | Purple='\033[0;35m' 12 | OFF="\033[m" 13 | 14 | nameh=`users` 15 | function echob() { 16 | echo "`tput bold`$1`tput sgr0`" 17 | } 18 | 19 | function head 20 | { 21 | clear 22 | echo " ***************************************************************"   23 | echo " ***************** ${GREEN}MountEFI${OFF} *******************"  24 | echo " ***************************************************************" 25 | } 26 | 27 | function menu 28 | { 29 | echo " Welcome ${BOLD}$nameh${OFF} " 30 | echo " " 31 | echo " Type ${GREEN}${BOLD}A${OFF} ➣ to be able to mount an EFI " 32 | echo " Type ${RED}${BOLD}X${OFF} ➣ to quit command " 33 | echo " " 34 | 35 | echo " ***************************************************************" 36 | echo " " 37 | echo " ***************************************************************" 38 | read -n 1 option 39 | } 40 | function MOUNTEFI 41 | { 42 | head 43 | echo " " 44 | echo "MountEFI" 45 | 46 | echo "———————————————————————————————————————————————————————————————————————————————" 47 | echo "Type your password at the prompt, then press [Return / Enter] " 48 | sudo diskutil list 49 | 50 | echo "———————————————————————————————————————————————————————————————————————————————" 51 | printf "Enter the Number of the partition then press [Return / Enter]. 52 | Use Lowercase letter ‘E.g.’ ➤ ${GREEN}disk1s1${OFF}" 53 | 54 | echo " " 55 | 56 | 57 | echo "———————————————————————————————————————————————————————————————————————————————" 58 | 59 | read -p ": " EFI 60 | sudo diskutil mount ${EFI} 61 | 62 | 63 | echo "———————————————————————————————————————————————————————————————————————————————" 64 | 65 | Sleep 1 66 | osascript -e 'display notification "'"$EFI"'" with title "EFI partition mount" sound name "Funk"' 67 | 68 | 69 | echo " " 70 | } 71 | function Quit 72 | { 73 | clear 74 | echo " " 75 | echo " 76 | Quit MountEFI." 77 | 78 | osascript -e 'tell app "terminal" to display dialog "Quit MountEFI " with icon file "System:Library:CoreServices:loginwindow.app:Contents:Resources:ShutDown.tiff" buttons {"Logout"} default button 1 with title "MountEFI"' 79 | echo " " 80 | echob "Good By ${Purple}$nameh${OFF}" 81 | echo " " 82 | exit 0 83 | } 84 | while [ 1 ] 85 | do 86 | head 87 | menu 88 | case $option in 89 | 90 | a|A) 91 | echo 92 | MOUNTEFI ;; 93 | x|X) 94 | echo 95 | Quit ;; 96 | 97 | 98 | *) 99 | echo "" 100 | esac 101 | echo 102 | echob "${GREEN}You can mount another EFI partition, you must type any key to return.${OFF}" 103 | echo 104 | read -n 1 line 105 | clear 106 | done 107 | 108 | exit 109 | -------------------------------------------------------------------------------- /Script file/main.scpt: -------------------------------------------------------------------------------- 1 | # Command Line EFI Mounter 2 | # (c) Copyright 2016 chris1111 3 | set theAction to button returned of (display dialog "Welcome 4 | Command Line EFI Mounter" with icon note buttons {"Quit", "Open"} cancel button "Quit" default button ("Open")) 5 | set source to path to me as string 6 | set source to POSIX path of source & "Contents/Resources/Command Line EFI Mounter/EFI-Mounter.command" 7 | set source to quoted form of source 8 | set n to 5 9 | set progress total steps to n 10 | set progress description to "Command Line EFI Mounter" 11 | set progress additional description to "Open Command" 12 | 13 | repeat with i from 1 to n 14 | delay 0.3 15 | set progress completed steps to i 16 | end repeat 17 | do shell script "open " & source & "/" 18 | --------------------------------------------------------------------------------