Mac OSX Installer

I am trying to create an SD for Raspberry Pi on a MacBook Pro 2008 running Yosemite 10.10.2.

SD is 16GB Lexar Class6 which has previously worked well for RaspBMC

OSMC qt_host_installer GUI installer goes through all steps until it is time to write to the device. Mac gives an admin prompt:
osascript wants to make changes. Type your password to allow this.

GUI Installer then gives error:
An error occurred writing the image!
Please consult the logfile.

There is no ability to write, thus there is no log file on the SD.

Did you check the location of the qt_host_installer for the installer.log?

Yes:

drwxr-xr-x  .
drwxrwxrwt@ ..
d-wx-wx-wt .Trashes
drwxr-xr-x qt_host_installer.app

Hi

We’re not talking about the log file on the SD here, but a log file on your Mac. It’s likely in your Mac’s home folder (/Users/YourUserName/) I think.

@srmo, can you give us advice as to the path? I know the installer is in a DMG, so I am curious where we are saving the log to

Hi, the log is written to the user home.

I tried to re-use an old raspbmc card and it failed as well.

Had to go to the disk tool in OS X and re-partition the card to one FAT32 partition. Then it worked.

Hm, interesting. That makes no sense.

Sense or not, this is the log output:

mån feb 2 12:38:56 2015 Finished extraction. Going to write image
mån feb 2 12:38:56 2015 Requesting confirmation from user
mån feb 2 12:39:02 2015 User confirmed
mån feb 2 12:39:08 2015 Imaging failed!
mån feb 2 12:39:08 2015 Messages are:
mån feb 2 12:39:08 2015 	 stdout:
mån feb 2 12:39:08 2015 	 stderr: 0:133: execution error: dd: /dev/rdisk4: Permission denied (1)

And it worked when I re-partitioned the card as one FAT32 partition.

Here is my log file:

Sat Feb 7 12:09:20 2015 OSMC Installer running on Mac OS X
Sat Feb 7 12:09:20 2015 Detected locale as en_US
Sat Feb 7 12:09:20 2015 Attempting to load translation for locale en_US
Sat Feb 7 12:09:20 2015 Could not load translation!
Sat Feb 7 12:09:20 2015 Resolving a mirror
Sat Feb 7 12:09:22 2015 Resolved mirror to http://173.255.206.49/osmc/download/
Sat Feb 7 12:09:22 2015 Enumerating supported devices
Sat Feb 7 12:09:22 2015 Added the following devices
Sat Feb 7 12:09:22 2015 Raspberry Pi
Sat Feb 7 12:09:22 2015 Raspberry Pi 2
Sat Feb 7 12:09:22 2015 Checking for updates
Sat Feb 7 12:09:22 2015 Checking for updates by downloading http://173.255.206.49/osmc/download//installers/latest_mac
Sat Feb 7 12:09:22 2015 Acquired mirror file
Sat Feb 7 12:09:22 2015 No new update is available
Sat Feb 7 12:09:32 2015 The user has selected English as their language
Sat Feb 7 12:09:32 2015 The user has selected Raspberry Pi as their device
Sat Feb 7 12:09:32 2015 Attempting to download device versions file http://173.255.206.49/osmc/download/installers/versions_RBP
Sat Feb 7 12:09:32 2015 Found a build called  Alpha1
Sat Feb 7 12:09:32 2015 Found a build called  Alpha2
Sat Feb 7 12:09:32 2015 Found a build called  Alpha3
Sat Feb 7 12:09:32 2015 Found a build called  Alpha4
Sat Feb 7 12:09:39 2015 The user has selected an online image for Raspberry Pi with build URL : http://173.255.206.49/osmc/download/installers/diskimages/OSMC_TGT_rbp_20150201.img.gz
Sat Feb 7 12:09:39 2015 Disabling internal install for device Raspberry Pi as it does not support it
Sat Feb 7 12:09:40 2015 SD installation selected
Sat Feb 7 12:09:50 2015 Enumerating imageable devices for OSX
Sat Feb 7 12:09:50 2015 New disk device entry created with entry point /dev/rdisk1 and 250.1 GB free space
Sat Feb 7 12:09:50 2015 New disk device entry created with entry point /dev/rdisk2 and 16.0 GB free space
Sat Feb 7 12:09:50 2015 New disk device entry created with entry point /dev/rdisk3 and 25.6 MB free space
Sat Feb 7 12:09:59 2015 Enumerating imageable devices for OSX
Sat Feb 7 12:09:59 2015 New disk device entry created with entry point /dev/rdisk1 and 250.1 GB free space
Sat Feb 7 12:09:59 2015 New disk device entry created with entry point /dev/rdisk2 and 16.0 GB free space
Sat Feb 7 12:09:59 2015 New disk device entry created with entry point /dev/rdisk3 and 25.6 MB free space
Sat Feb 7 12:10:06 2015 Device selected: 2 	 /dev/rdisk2 	 16.0 GB
Sat Feb 7 12:10:14 2015 GPLv2 licence has been accepted
Sat Feb 7 12:10:14 2015 Downloading http://173.255.206.49/osmc/download/installers/diskimages/OSMC_TGT_rbp_20150201.img.gz
Sat Feb 7 12:14:27 2015 Download successful
Sat Feb 7 12:14:27 2015 Extracting /Volumes/Local HD/Users/homie/OSMC_TGT_rbp_20150201.img.gz
Sat Feb 7 12:14:33 2015 Finished extraction. Going to write image
Sat Feb 7 12:14:33 2015 Requesting confirmation from user
Sat Feb 7 12:34:28 2015 User confirmed
Sat Feb 7 12:34:29 2015 going to start osa
Sat Feb 7 12:34:29 2015 pasting admin script to process do shell script "dd if=/Volumes/Local HD/Users/homie/OSMC_TGT_rbp_20150201.img of=/dev/rdisk2 bs=1m conv=sync && sync" with administrator privileges
Sat Feb 7 12:34:29 2015 waiting for finish
Sat Feb 7 12:34:40 2015 osa claims to be done...collect output and verify
Sat Feb 7 12:34:40 2015 Imaging failed!
Sat Feb 7 12:34:40 2015 Messages are:
Sat Feb 7 12:34:40 2015 	 stdout: 
Sat Feb 7 12:34:40 2015 	 stderr: 2015-02-07 12:34:29.375 osascript[21649:428579] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:
	/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
0:148: execution error: dd: unknown operand HD/Users/homie/OSMC_TGT_rbp_20150201.img (1)

I think the space between Local and HD needs a \.

Ah yes it needs to be escaped. I am usually alert enough to do that if I am typing a dd command, but sometimes automated installers do not pick it up. probably easier for me to just run the command. should probably just rename the disc.

cc @srmo

command line dd worked with the escaped space; installed on SD, now at 80% installed on the Pi (old original version). Installer screen is very pretty. :grinning:

SHORT VERSION: where does the qt_host_installer.app go before i double click it?
EXAMPLE: Installing Kodi on OSX: mount file, drag Kodi.app to the shortcut inside the .dmg and Kodi.app will end up in /Macintosh HD/Applications/ (ALL apps end up here…)

So when i mount the osmc-installer.dmg, it gets renamed to
qt_host_installer.app (and it has the neat OSMC logo/icon so i know that its the right file…)
BUT, usually a *.dmg will mount, and inside there will be 2 files; a *.app and an “Alias” (shortcut) to /Macintosh HD/Applications/ and i would drag the *.app to that shortcut, and then browse to /Macintosh HD/Applications/ and run it for the first time, and thats when it loads folders into like /Users/username/Library/Application Support/Kodi for example thats the way kodi installs on my mac OSX 10.6.8…

Where do i pull this qt_host_installer.app and drop it into? There’s no “shortcut/Alias” inside the .dmg so i’d assume i’d drag it to /MacintoshHD/Applications (where all my other apps are) But i read about the now fixed problem with the space in the username directory… example there’s a dir called
/Macintosh HD/Users/marc/Applications/ but its empty… so does it go into the “marc” dir in that path? That’s different if its right…
i could put it into /Volumes/Macintosh HD/Users/marc/ but i have never installed an app into that “level”… am i making sense? i just need to know where to put the “qt_host_installer.app” before i run it for the 1st time…
Thanks!!
PS /Volumes/ should be assumed to be before /Macintosh HD/Applications/ in all my lines i wrote, as it is the single volume on this macbook.

I’m still only seeing rpi builds. When will other platforms be available?

@rogerjonez where did u drag the qt_host_installer.app to before you ran it the 1st time?

/Macintosh HD/Applications/ ?

I ran it from the dmg

Well i meant the path that you ran it from, but it doesn’t matter i dont think sounds like you just ran it out of the dmg and it set it up.
Thanks