viernes, 19 de septiembre de 2014

OSX - Comandos


Iniciar el screen saver de shell:

sudo open -a /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app


Resolución monitor

En casa me tope con que la resolución por default que me daba, era una basura y por mas que cambiaba no quedaba. Leí que cuando entras a la pantalla, presionas "alt" y te sale una lista de posibles resoluciones que no salían por default, ahí estuve probando hasta que quedo perfecto. Esta es básica!


Esta es una lista de comandos muy útiles para OSX... que muchos existen nativos en Windows y no se porque acá no, pero bueno jejejeje, aquí van:

La liga para el documento es:

https://drive.google.com/file/d/0Bw7Rp3elz43pcnZjSWJ5YkRSR28/edit?usp=sharing

Algunos super necesarios:

Ctrl+A .- ir al principio de la línea
Ctrl+E .- ir al final de la línea

Cambiar WARCRAFT a modo Ventana
Cmd+M

Generar USB booteable de Mavericks

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume </Volumes/Untitled> --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction

Generar ISO de Mavericks


  1. Descargar Mavericks (obvio!)
  2. De la App/Content/Shared Support, sacar el DMG y ponerlo en otro lado (copiarlo)
  3. Con el disk utility seleccionar convertir y luego el DMG.
  4. Seleccionar output CD/DVD, lo genera como CDR, pero no importa, es un ISO.
  5. Renombrar la extensión CDR por ISO
  6. disfrutar...
Generar ISO booteable de Mavericks

# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

# Convert the boot image to a sparse bundle
hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Mavericks

# Increase the sparse bundle capacity to accommodate the packages
hdiutil resize -size 8g /tmp/Mavericks.sparseimage

# Mount the sparse bundle for package addition
hdiutil attach /tmp/Mavericks.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build

# Remove Package link and replace with actual files
rm /Volumes/install_build/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/

# Unmount the installer image
hdiutil detach /Volumes/install_app

# Unmount the sparse bundle
hdiutil detach /Volumes/install_build

# Resize the partition in the sparse bundle to remove any free space
hdiutil resize -size `hdiutil resize -limits /tmp/Mavericks.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/Mavericks.sparseimage

# Convert the sparse bundle to ISO/CD master
hdiutil convert /tmp/Mavericks.sparseimage -format UDTO -o /tmp/Mavericks

# Remove the sparse bundle
rm /tmp/Mavericks.sparseimage

# Rename the ISO and move it to the desktop
mv /tmp/Mavericks.cdr ~/Desktop/Mavericks.iso


No hay comentarios.:

Publicar un comentario