Recovery HFS partition table

First think, scan your damage disk with a tool like “testdisk” (http://www.cgsecurity.org/wiki/TestDisk) look for lost partitions, unfortunately HFS is not fully supported by this great tool, then you need to use pdisk or other partition software. Disk /dev/rdisk3 - 1000 GB / 931 GiB - CHS 121601 255 63 Partition Start End Size in sectors >P HFS 262208 1953525151 1953262944 In my case, I’ve used pdisk directly on OS X: ...

25 March 2012 @ 15:48 · Updated: 30 June 2026 @ 03:28 · leo

Mac OS X - Time Machine network backup without Time Capsule

From OS X 10.5 (Leopard) Apple introduced Time Machine: a great combination of rsync/rsnapshot and a beautiful user interface. Time Machine works in two modes: 1. local volume on local area or 2. Time Capsule over network. Now I don’t wanna buy another box with apple logo over it for much $$$ when I have a lot of file servers on my network. Now I explain a few hoops to get this system to work: ...

3 November 2009 @ 04:44 · Updated: 29 June 2026 @ 04:47 · leo

Mac OS X - Cisco VPN Client

If you are running Cisco’s VPN Client on Mac OSX, you might be familiar with (or tormented by) “Error 51: Unable to communicate with the VPN subsystem”. The simple fix is to quit VPN Client, open a Terminal window, (Applications -> Utilities -> Terminal) and type the following from root user: # /System/Library/StartupItems/CiscoVPN/CiscoVPN restart Stopping Cisco Systems VPN Driver kextunload: unload kext /System/Library/Extensions/CiscoVPN.kext succeeded Starting Cisco Systems VPN Driver kextload: /System/Library/Extensions/CiscoVPN.kext loaded successfully

27 April 2009 @ 02:16 · Updated: 30 June 2026 @ 03:28 · leo

Mac OS X - root user

Abilitare l’utente di root nelle varie versioni dell’os X 10.5 Dal tool “Directory Utility” che si trova in Applications - Utility, sbloccare le impostazioni con il lucchettino, poi dal menu “Edit” c’e’ la comoda voce “Enable Root User” dopodiche’ settare la password. 10.2 - 10.3 - 10.4 Dal tool “NetInfo Manager” che si trova in Applications - Utility, sbloccare le impostazioni con il lucchettino, poi dal menu “Security” c’e’ la voce “Enable Root User” dopodiche’ settare la password. ...

2 November 2008 @ 03:27 · leo

Mac OS X - your network have been changed by another application

Dopo l’aggiornamento sulla sicurezza 2008-006 versione del sistema 10.4.11 e’ insorto un problema nelle preferenze di sistema, sezione network: All’apertura si verifica questo errore “your network have been changed by another application” non reversibile con gli strumenti messi a disposizione per intenderci il tasto “OK” Questo succede per dei monivi di sicurezza dato che le preferenze di rete interagiscono in continuazione con il portachiavi di sistema, vedi per le password PPP, le chiavi Airport e altre configurazioni di accesso. ...

15 October 2008 @ 14:33 · Updated: 30 June 2026 @ 03:28 · leo

Mac OS X - Verbose Boot

Be l’os x anche se propio non sembra un sistema unix a causa di tutta questa bella grafica, in realta’ lo e’ fino all’osso, quindi nel caso si volesse visualizzare il verbose mode del boot ecco come fare: Da terminale in modalita’ root: Per abilitare: # nvram boot-args="-v" Per disabilitare: # nvram boot-args= Per la versione del firmware: # nvram -p

5 October 2008 @ 20:51 · Updated: 30 June 2026 @ 03:28 · leo

Mac OS X - Flush DNS Cache

Ecco i comandi vari ed eventuali sempre utili, ovviamente eseguiti da terminale: Leopard 10.5 # dscacheutil -flushcache Tiger 10.4 # lookupd -flushcache

5 October 2008 @ 20:37 · Updated: 30 June 2026 @ 03:28 · leo