Lord Anubis Posted December 11, 2011 Share Posted December 11, 2011 Normally I use 'bless --info' to get the bootVolume, but with a hackintosh I get EFI vram error, of course. /usr/sbin/bless --info Can't access "efi-boot-device" NVRAM variable Is this possible to get the current bootVolume name without using bless? Thanks Ps. I hope this is the right place to put this question out. Link to comment Share on other sites More sharing options...
Lord Anubis Posted December 11, 2011 Author Share Posted December 11, 2011 To answer my own question bootDisk=$(/usr/sbin/diskutil info / | /usr/bin/sed '/^ *Volume Name: */!d;s###') If someone has a another way, its still welcome. Link to comment Share on other sites More sharing options...
Recommended Posts