Jump to content
  • Donate

    OSX86.NET lives on your donations!  Please contribute what you can so we can get rid of those pesky ads !

1 Screenshot




User Feedback

Recommended Comments

Nice little script.... Thank you... ;)
Could you somehow pack in the possibility to either check for the path of the install.app, so that it mustn't be located in /Applications?

Or even use the Drag and Drop Function for the selection of which Install.app should be used?

Share this comment


Link to comment
Share on other sites
Le 18 juin 2016 à 19:22, al6042 a dit :

Nice little script.... Thank you... ;)
Could you somehow pack in the possibility to either check for the path of the install.app, so that it mustn't be located in /Applications?

Or even use the Drag and Drop Function for the selection of which Install.app should be used?

Hello,
I'll watch it
thanks for the compliment

Share this comment


Link to comment
Share on other sites
Le 18 juin 2016 à 19:22, al6042 a dit :

Nice little script.... Thank you... ;)
Could you somehow pack in the possibility to either check for the path of the install.app, so that it mustn't be located in /Applications?

Or even use the Drag and Drop Function for the selection of which Install.app should be used?

it is done ;)

Share this comment


Link to comment
Share on other sites

Great stuff...

easy to use and very efficient.

 

If you don't mind, I would like to translate the french part to german and publish it as "USB Drive Maker" and "USB Drive Maker 2" in the german forum www.hackintosh-forum.de?

 

Share this comment


Link to comment
Share on other sites
Il y a 7 heures, al6042 a dit :

Great stuff...

easy to use and very efficient.

 

If you don't mind, I would like to translate the french part to german and publish it as "USB Drive Maker" and "USB Drive Maker 2" in the german forum www.hackintosh-forum.de?

 

Yes, no problem
Once published please send me the link the Forum page

#!/bin/bash
#Crée par Flagd le 22 juin 2016
#http://fljagd.fr

 # Menu

clear
utilisateur=`users`
echo "" Hi, $utilisateur 
echo ""
echo "		?" "Création de votre clef usb - Creating your Flash Drive ?"
echo ""

 # Monter l'installateur
echo "Sur quel Support?"
echo ""
echo "Glissez votre Support dans la fenêtre terminal"
echo ""
echo "On what media want to install?"
echo ""
echo "Drag and Drop your Flash Drive"
read support
echo ""
echo "Glissez l'installer OS X dans la fenetre Terminal"
echo ""
echo "Drag and Drop your installer osx"
read installer
hdiutil attach "$installer"/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

# Creation d'une image temporaire of 7316mb
 hdiutil create -o /tmp/Osx -size 7316m -layout SPUD -fs HFS+J -type SPARSE
 
 # Monter l'image temporaire
 hdiutil attach /tmp/Osx.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build
 
 # Restorer Base System dans l'image temporaire
 asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
 
 # Installation des fichiers
 rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
 cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
 
 # Copie des dépendances d'installation
 cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
 cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg

 # Restoration de l'image Systeme sur la clef Usb
 sudo asr restore -source /Volumes/OS\ X\ Base\ System/ -target "$support" -erase

 
 # Démonter l'Installateur
 hdiutil detach /Volumes/install_app

 # Démonter l'image  Base Système
 hdiutil detach /Volumes/OS\ X\ Base\ System/

 
 # Effacer l'image Temporaire
  rm -f /tmp/Osx.sparseimage

diskutil rename /Volumes/OS\ X\ Base\ System\ 1 OSX\ Flash\ Drive

 

Edited by fljagd

Share this comment


Link to comment
Share on other sites

Here is the link https://www.hackintosh-forum.de/index.php/Thread/27496-USB-DIsk-Maker-Script/

Within this thread I published the old and the new Version.

 

Both edited scripts contain the following information:

 

echo "" Hi, $user 
echo ""
echo "		USB Install-Stick erstellen - Creating your Flash Drive"
echo "		Based on 'Flash Drive Maker' from fljagd"
echo "		http://www.osx86.net/profile/657749-fljagd/" 
echo ""
echo "" Hi, $user 
echo ""
echo "		? "" USB Install-Stick erstellen - Creating your Flash Drive ?"
echo "		Based on 'Flash Drive Maker 1.1.0' from fljagd"
echo "		http://www.osx86.net/profile/657749-fljagd/" 
echo ""

 

Share this comment


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×