You are not logged in.

Announcement

[2017.09.08] DeployStudio build v1.7.8 (checksum, release note).
[2016.08.26] DeployStudio build v1.6.19 (release note).
[2013.02.23] DeployStudio last universal build v1.5.17 (release note).

#1 2019-01-05 00:55:13

labure
Member
Registered: 2013-09-24

Need tester for a solution to use runtime on T2 chip without USB

Hi all

I thinking to a simple solution for launch deploy runtime without USB drive. but i don't have T2 unit.

The idea is to launch the deploy studio runtime from the recovery or internet recovery.

Ok ?  let'go

what we need ?

1 - A web server (local or internet).
2 - Deploy studio runtime (can be installed from extra folder of the deploystudio.dmg installer after installtion is located in /Applications/Utility)

Now create our needed ressources

1 : choose a web server that you have access to the root file. you can choose for example a mac os x server defaut page located at :
/Library/Server/Web/Data/Sites/Default/

2 : Create a deploy.tar with the deploy studio runtime.
- copy Deploy Studio Runtime.app to our web root
- create the deploy.tar file with command :

tar cvf deploy.tar DeployStudio\ Runtime.app

3 : Create the file deploy.sh with the content below (don't forget to change the path of the webserver by your server path)

#!/bin/bash
#
# launch deploy runtime from recovery or internet recovery
#

# Create a ramdisk for download stuff
diskutil erasevolume HFS+ 'deploy' `hdiutil attach -nomount ram://2097152`

# Download runtime and launch it (change the path with your server path)
cd /Volumes/deploy
curl -k -O -C - "http://192.168.100.99/deploy.tar"
tar -xvf deploy.tar
./DeployStudio\ Runtime.app/Contents/MacOS/DeployStudio\ Runtime.bin
exit 0

Usage : from T2 unit (work with all unit too)

1 : Boot from your recovery partition or if you don't have it boot from internet recovery.
2 : Launch terminal from the menu utility
3: download the script and laucnh it with commands below

cd /tmp
curl -k -O -C - "http://192.168.100.99/deploy.sh"  (change path by yours)
chmod +x deploy.sh
./deploy.sh

Normaly Deploy Studio Runtime will be launched after some seconds.

Choose your server or type adress manualy with login and password and done !!!!!!!


If some people can test with the both recovery partion and internet recovery ?

Note that it's probably possible to create the preference .plist of runtime and launch it with argument to use it, but don't have info about this, if you have it i take it :-)

Thank for the help

Last edited by labure (2019-01-05 00:59:53)

Offline

#2 2019-01-07 21:25:44

Peteo
Member
Registered: 2012-03-22

Re: Need tester for a solution to use runtime on T2 chip without USB

I thought ASR was broken since 10.13.4 and is not going to work any more. That means you can not deploy 10.13.4 or higher this way.

Offline

#3 2019-02-12 22:03:41

alucasthx
Member
Registered: 2019-01-28

Re: Need tester for a solution to use runtime on T2 chip without USB

I tried your suggestions on a brand new Late 2018 Mac Mini running Mojave.  It did not work.  First, the Runtime needed a Library that was in the Admin app.  When I added the whole Admin app to the tarball instead and executed the runtime from inside the Admin App, the login page flashes on the screen and then I get an error "Abort trap: 6".

Offline

Board footer

Powered by FluxBB