KWS Posted October 22, 2015 Share Posted October 22, 2015 Could be easily done by terminal, but this is for lazy people ... mounts EFI and keep a dialogbox open to unmount EFI-Partition ... Mount EFI.app.zip like above and automatically opens config.plist with associated prog ... Mount EFIc.app.zip i use this script mostly to change SIP-Configuration before and after kext or system updates ... 4 Link to comment Share on other sites More sharing options...
iRipper Posted October 22, 2015 Share Posted October 22, 2015 Nice, but Clover Configurator has it built-in. Link to comment Share on other sites More sharing options...
fantomas Posted October 22, 2015 Share Posted October 22, 2015 Nice, but Clover Configurator has it built-in. it's not too bad to have one more app/utility Link to comment Share on other sites More sharing options...
KWS Posted October 22, 2015 Author Share Posted October 22, 2015 Nice, but Clover Configurator has it built-in. Yes, but i edit config.plist manually, so for me it saves time ... 1 Link to comment Share on other sites More sharing options...
Slice Posted October 22, 2015 Share Posted October 22, 2015 I have two HDD (seagate and WD) and want to mount ESP on Seagate. But I don't know if it is disk0 or disk1 now. It is random. Can you do something for this case? /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS MacHD 270.5 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Apple_HFS LionHD 118.9 GB disk0s4 5: EFI NO NAME 104.9 MB disk0s5 6: Microsoft Basic Data Data 109.7 GB disk0s6 /dev/disk1 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *200.0 GB disk1 1: EFI NO NAME 209.7 MB disk1s1 2: Apple_HFS ElCapitan 137.9 GB disk1s2 3: Apple_Boot Recovery HD 650.0 MB disk1s3 4: EFI NO NAME 104.9 MB disk1s4 5: EFI NO NAME 104.9 MB disk1s5 6: Microsoft Reserved 133.2 MB disk1s6 Link to comment Share on other sites More sharing options...
KWS Posted October 23, 2015 Author Share Posted October 23, 2015 I have two HDD (seagate and WD) and want to mount ESP on Seagate. But I don't know if it is disk0 or disk1 now. It is random. Can you do something for this case? /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS MacHD 270.5 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Apple_HFS LionHD 118.9 GB disk0s4 5: EFI NO NAME 104.9 MB disk0s5 6: Microsoft Basic Data Data 109.7 GB disk0s6 /dev/disk1 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *200.0 GB disk1 1: EFI NO NAME 209.7 MB disk1s1 2: Apple_HFS ElCapitan 137.9 GB disk1s2 3: Apple_Boot Recovery HD 650.0 MB disk1s3 4: EFI NO NAME 104.9 MB disk1s4 5: EFI NO NAME 104.9 MB disk1s5 6: Microsoft Reserved 133.2 MB disk1s6 The "working" line in this applescript is: --set hier to do shell script "diskutil mount /dev/disk0s1" set hier to do shell script "diskutil mount EFI" so i think you know more about shellscripts than i ... 1 Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 23, 2015 Share Posted October 23, 2015 I have two HDD (seagate and WD) and want to mount ESP on Seagate. But I don't know if it is disk0 or disk1 now. It is random. Can you do something for this case? /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS MacHD 270.5 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Apple_HFS LionHD 118.9 GB disk0s4 5: EFI NO NAME 104.9 MB disk0s5 6: Microsoft Basic Data Data 109.7 GB disk0s6 /dev/disk1 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *200.0 GB disk1 1: EFI NO NAME 209.7 MB disk1s1 2: Apple_HFS ElCapitan 137.9 GB disk1s2 3: Apple_Boot Recovery HD 650.0 MB disk1s3 4: EFI NO NAME 104.9 MB disk1s4 5: EFI NO NAME 104.9 MB disk1s5 6: Microsoft Reserved 133.2 MB disk1s6 This working good till now https://github.com/RehabMan/Gigabyte-BRIX-s-DSDT-Patch/blob/master/mount_efi.sh Link to comment Share on other sites More sharing options...
Slice Posted October 23, 2015 Share Posted October 23, 2015 This working good till now https://github.com/RehabMan/Gigabyte-BRIX-s-DSDT-Patch/blob/master/mount_efi.sh But this script ask me what to choose while I want it to do automatically if [ "$1" == "" ]; then DestVolume=/ else DestVolume="$1" fi The "working" line in this applescript is: --set hier to do shell script "diskutil mount /dev/disk0s1" set hier to do shell script "diskutil mount EFI" so i think you know more about shellscripts than i ... Sorry, I am C++ programmer knowing few about scripts. Link to comment Share on other sites More sharing options...
KWS Posted October 23, 2015 Author Share Posted October 23, 2015 Maybe its useful to use 2 "progs", one with diskutil mount /dev/disk0s1 and another with diskutil mount /dev/disk1s1 ... If you boot from Seagate you can use Mount EFI_d_0, if not Mount EFI_d_1 Mount EFI_d_0.app.zip Mount EFI_d_1.app.zip Link to comment Share on other sites More sharing options...
cecekpawon Posted October 24, 2015 Share Posted October 24, 2015 Hello @KWS, maybe we can learn together.. please take a look this script Link to comment Share on other sites More sharing options...
KWS Posted October 24, 2015 Author Share Posted October 24, 2015 Hello @KWS, maybe we can learn together.. please take a look this script Not bad, but i am in the moment very busy with my work. It's (a little) difficult for me - believe it or not - to really understand all lines of the autosleep-script i created some years ago ... It needs time which i currently do not have ... Link to comment Share on other sites More sharing options...
TheRacerMaster Posted October 24, 2015 Share Posted October 24, 2015 This is what I use in my GA-Z77X.sh script (excerpt). Should autodetect the EFI partition automatically, even if it's /dev/disk1s1, disk2s1, etc. There seems to a small bug though: CoreStorage volumes won't work with this (yet, working on fixing this). Update: Here's a fixed version which should work with Core Storage logical volumes. function _mountEFI() { # Find the BSD device name for the current OS disk osVolume=$(df / | awk '/disk/ {print $1}') # Find the EFI partition of the disk efiVolume=$(diskutil list "$osVolume" | awk '/EFI/ {print $6}') # Make sure the EFI partition actually exists if [ -z $efiVolume ]; then ## Check if the OS is installed on a Core Storage (CS) logical volume if [ ! -z $(diskutil info "$osVolume" | grep "Core Storage") ]; then ## CS volume detected ## We can find the recovery volume in the diskutil output, and then use that to find the EFI partition recoveryVolume=$(diskutil info "$osVolume" | awk '/Recovery Disk:/ {print $3}') efiVolume=$(diskutil list "$recoveryVolume" | awk '/EFI/ {print $6}') else ## No CS volume present, so assume no EFI partition _printError "No EFI partition present on OS volume ($osVolume)!" fi fi # Check if the EFI partition is already mounted; if not, mount it if [ -z $(mount | awk '/'$efiVolume'/ {print $1}') ]; then diskutil mount "$efiVolume" > /dev/null gEFIMount=$(diskutil info "$efiVolume" | awk '/Mount Point/ {print $3}') echo "EFI system partition ($efiVolume) mounted at $gEFIMount." else gEFIMount=$(diskutil info "$efiVolume" | awk '/Mount Point/ {print $3}') echo "EFI system partition ($efiVolume) is already mounted at $gEFIMount." fi } Obviously you'll need to change _printError to something like echo "ERROR: No EFI partition present on OS volume ($osVolume)!" && exit 1, as _printError is a part of the script. Link to comment Share on other sites More sharing options...
kyndder Posted October 24, 2015 Share Posted October 24, 2015 I created this script some time ago, but unfortunately, I couldn't finish it due to particular issues and time... It mounts some kinds of filesystems, and also, can create/change fstab... If someone wants, feel free to improve it... > https://bitbucket.org/kyndder/imounter Link to comment Share on other sites More sharing options...
DMCrimson Posted October 26, 2015 Share Posted October 26, 2015 Works on Yosemite also, tested. Link to comment Share on other sites More sharing options...
LuckyLuck Posted February 4, 2016 Share Posted February 4, 2016 Hi all, I have made a small utility that mounts a EFI partition on the selected hard drive or usb flash drive This is a simple (Cocoa NSTask) wrapper for the terminal diskutil +some buttons EFI Mounter 1.2.dmg 3 Link to comment Share on other sites More sharing options...
chris1111 Posted February 5, 2016 Share Posted February 5, 2016 Hi all, I have made a small utility that mounts a EFI partition on the selected hard drive or usb flash drive This is a simple (Cocoa NSTask) wrapper for the terminal diskutil +some buttons Great tools I like it For me its a best EFI Mounter I ever used and see 1 Link to comment Share on other sites More sharing options...
ntsmkfob Posted February 5, 2016 Share Posted February 5, 2016 @LuckyLuck - Nice! 1 Link to comment Share on other sites More sharing options...
macq Posted February 5, 2016 Share Posted February 5, 2016 Wow nice interface 1 Link to comment Share on other sites More sharing options...
chris1111 Posted February 5, 2016 Share Posted February 5, 2016 LuckyLuck@suggest to move your utility on downloads section Link to comment Share on other sites More sharing options...
KWS Posted February 5, 2016 Author Share Posted February 5, 2016 Hi all, I have made a small utility that mounts a EFI partition on the selected hard drive or usb flash drive This is a simple (Cocoa NSTask) wrapper for the terminal diskutil +some buttons Very nice ... seems that you won the small utility's challenge ... Link to comment Share on other sites More sharing options...
LuckyLuck Posted February 5, 2016 Share Posted February 5, 2016 LuckyLuck@suggest to move your utility on downloads section already added to download section http://www.insanelymac.com/forum/files/file/528-efi-mounter/ Very nice ... seems that you won the small utility's challenge ... thanks Link to comment Share on other sites More sharing options...
bs0d Posted February 5, 2016 Share Posted February 5, 2016 whats wrong with existing small utility that is found in every version of os x and doesnt need to be installed ? ie diskutil mount /dev/disk0s1 Link to comment Share on other sites More sharing options...
KWS Posted February 6, 2016 Author Share Posted February 6, 2016 whats wrong with existing small utility that is found in every version of os x and doesnt need to be installed ? ie diskutil mount /dev/disk0s1 With 1 EFI-Partition you can also use "diskutil mount EFI" ... BTW, open Terminal, write "diskutil mount EFI" and hit enter is not much, but a little morte effort than one (double)click .... 1 Link to comment Share on other sites More sharing options...
Courage2000 Posted March 4, 2016 Share Posted March 4, 2016 For this I use Semulov. 1 Link to comment Share on other sites More sharing options...
Recommended Posts