Agus Priyadi and Mafia.Or.ID

blog all about (brains colocations)

Archive for the ‘MacOS’ Category

Icon Harddisk di Desktop

Posted by mafiaid on 14 January 2008

Hal ini dialami oleh Erwin salah satu member macosx68indo dan pencerahan dari Toni radex sebagai berikut

Coba klik (aktifkan) Finder --> bisa lewat icon di Dock
Masuk menu -> Finder/Preferences -> (Tab) General: (aktifkan) Hard disks -> (Tab) Sidebar: (aktifkan) Hard disks

Posted in MacOS, oprekan | Tagged: | Leave a Comment »

GMA900 with qe/ci

Posted by mafiaid on 25 November 2007

I have got my gma900 working with qe/ci support. I followed this guide http://forum.applesana.com/52/6831/gma900-…tz-extreme.html, but if you dont speak spanish i will lay it out here.

1) Get the AppleIntel915.kext from a previous 10.4.x install DVD

2) Edit the Info.plist in that kext so that any instance of a 915 bundle or plugin reads GMA900 where 915 is

3) Replace the AppleIntelGMA950.kext with your now modded AppleIntel915.kext

4) Repair permissions on the /Extensions/ folder

5) Type sudo defaults write /Library/Preferences/com.apple.windowserver QuartzGLEnabled -boolean YES in terminal

6) Type sudo defaults write /Library/Preferences/com.apple.windowserver Compositor -dict deferredUpdates 0 in terminal

7) Reboot

After doing these steps, your system profiler should read that core image is hardware accelerated, quartz extreme is supported, and quartzGL is supported.

Congrats you now have qe/ci, but if you notice many aspects of qe/ci arent there ( such as transparent menubar, coverflow in itunes, spaces lags, timemachine lags, and everything is still choppy.

This is where my problem lies, how do we fix the fact that it is all supported but we still dont have all the features?

Please leave any feedback you have, no matter how off the wall it is, it may be the thing that works.

rofl

sumber : http://forum.insanelymac.com/index.php?showtopic=72349

Posted in MacOS, oprekan | Tagged: , | Leave a Comment »

10.4.10 to 10.4.11 Tiger OSX

Posted by mafiaid on 18 November 2007

This will tell you how to upgrade from a working 10.4.10 install to 10.4.11.

Requirements:

1) ATA installation. SATA does not work yet. So I am running off an external hard disk.
2) Core 2 Duo or the hacked kernel

Steps:

1) Install EFI Bootloader. This is well documented in other threads.
2) Backup AppleACPIPlatform.kext and AppleSMBIOS.kext to a convenient location.
3) Install 10.4.11 update. You can use Software update if you want. Do not reboot.
4) Unless you have a fully compatible MB, copy 10.4.10 AppleACPIPlatform.kext back to /System/Library/Extensions/
5) Unless you have Core 2 Duo, replace mach_kernel with hacked version.
6) Repair permissions.
7) Reboot

Problems:

1) AppleSMBIOS.kext (neither stock nor the one from EFI bootloader) does not load. The old one from 10.4.10 will load if you copy it across, but then system profiler is broken.
2) AppleHDAPatcher.kext does not work, and my previously patched AppleHDA.kext does not work.
3) No SATA or ICH8R support. I tried the old IOATAFamily.kext as well as the sata-pata and ich8r patches from macdotnub’s disk without success.

Of note tulip.kext still works and so does Safari. This is posted from 10.4.11 with stock kernel.

source : http://forum.insanelymac.com/index.php?showtopic=71641

Posted in MacOS, oprekan | Tagged: , | Leave a Comment »

Howto Upgrade Tiger OSX

Posted by mafiaid on 18 November 2007

1) Open up the terminal and type “sudo -s” then “your password” then the following (line by line):

Code:

cp /mach_kernel /old
cp -R /system/library/coreservices/loginwindow.app /
cp -R /system/library/extensions/AppleSMBIOS.kext /
cp -R /system/library/extensions/AppleACPIplatform.kext /
cp -R /system/library/extensions/AppleAPIC.kext /
cp -R /system/library/extensions/IOATAFamily.kext /
cp -R /system/library/extensions/system.kext /

2) Keep terminal open.
3) Open disk utility and keep it open
4) Run Software Update or download the file and run it. But if you use the Software update :deselect everything but the 10.4.* intel update and install it (AND DO NOT RESTART—IGNORE THE INSTALLER WINDOW)

5) Open terminal and type the following:
CODE

Code:

cp /old /mach_kernel
cp -R /loginwindow.app /system/library/coreservices/
cp -R /AppleSMBIOS.kext /system/library/extensions/
cp -R /AppleACPIplatform.kext /system/library/extensions/
cp -R /AppleAPIC.kext /system/library/extensions/
cp -R /IOATAFamily.kext /system/library/extensions/
cp -R /system.kext /system/library/extensions/
rm -rf /system/library/extensions.*

6) Open disk utility and repair permissions for your OS X partition

7)Reboot

Posted in MacOS, oprekan | Tagged: , | Leave a Comment »

Clear DNS lookup

Posted by mafiaid on 12 November 2007

To flush DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000, Win 98):-

    - Start -> Run -> type cmd
    - in command prompt, type ipconfig /flushdns
    - Done! You Window DNS cache has just been flush.

To flush the DNS cache in Linux, restart the nscd daemon:-

    - To restart the nscd daemon, type /etc/rc.d/init.d/nscd restart in your terminal
    - Once you run the command your linux DNS cache will flush.

To flush the DNS cache in Mac OS X:-

    - type lookupd -flushcache in your terminal to flush the DNS resolver cache.
      ex: bash-2.05a$ lookupd -flushcache
    - Once you run the command your DNS cache (in Mac OS X) will flush.

Posted in Linux, MacOS, oprekan | Tagged: , , , , , | Leave a Comment »

TravelMate 4150 system profile OSX

Posted by mafiaid on 11 November 2007

Hardware Overview:

      Machine Name: Apple Development Platform
      Machine Model: ADP2,1
      Processor Speed: 1.73 GHz
      Number Of Processors: 0
      Total Number Of Cores: 1
      Memory: 1 GB
      Bus Speed: 533 MHz
      L2 Cache: 2 MB

Built-in Ethernet:

      Type: Ethernet
      Hardware: Ethernet
      BSD Device Name: en0
      Has IP Assigned: Yes

      Ethernet:
          MAC Address: 00:0f:b0:7b:a9:94
          Media Options: Full Duplex
          Media Subtype: 100baseTX

System Software Overview:

      System Version: Mac OS X 10.4.8 (8L2127)
      Kernel Version: Darwin 8.8.1
      Boot Volume: OSX
      Computer Name: Agus Priyadi’s Computer
      User Name: Agus Priyadi (aguspriyadi)

Graphics/Displays:

    Intel GMA 900:
      Chipset Model: GMA 900
      Type: Display
      Bus: Built-In
      VRAM (Total): 64 MB of shared system memory
      Vendor: Intel (0×8086)
      Device ID: 0×2592
      Revision ID: 0×0003
      Displays:
        Color LCD:
          Resolution: 1024 x 768
          Depth: 32-bit Color
          Built-In: Yes
          Core Image: Supported
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Quartz Extreme: Supported

Posted in MacOS, oprekan | Tagged: , , | 1 Comment »

How to Create a Bootable Backup of Mac OS X (Cloning Mac OS X disks)

Posted by mafiaid on 6 November 2007

Introduction

Note: These instructions provide the command-line instructions for manual backups or clones. Carbon Copy Cloner follows the rules laid out below — you do not need to follow any of these instructions if you use Carbon Copy Cloner.

There are a few basic rules that you need to follow when cloning a disk with Mac OS X System files in order to get a bootable clone:

1. File permissions must be preserved.

Many files belong to the root user, so you cannot simply copy these files from the Finder. There are other issues with permissions, such as the setuid bit (in English, that is a feature of a file that, when executed, gives the file or application
the same privileges as the owner of the file; if the owner of the file is root, then root privileges are granted during the execution of this file). Copying via the Finder sets the owner of the new files to the user that copied them and assigns a default set of permissions. Many applications and system files will not work properly with the default Finder settings.
2. The invisible Unix system files must be copied.

Mac OS X is driven by a Unix flavored operating system called Darwin. Darwin system files reside at the root level of the derive in four folders: /private, /bin, /usr, and /sbin. These directories hold all the critical files that allow the computer to boot up and have basic functionality.
3. Unix-style links must be preserved.

Symbolic links and hard links are different from the Mac aliases we are familiar with. Likewise, the way we deal with them will not be the same. Because there are some critical symbolic links on a Mac OS X disk, the integrity of these files must be preserved by the utility you use to clone/backup the disk. Some people are very familiar with the error upon booting that states “/etc/master.passwd: Not a directory”. This is because the /etc symbolic link to /private/etc was broken.
4. Some directories are populated by the System after booting, and are thus unnecessary to preserve, however, although empty, they may still have to be present.

Some directories are populated by the System. For example, the Volumes directory is populated with directories corresponding to the names of Volumes you have on your system. If you insert a Zip disk, a new directory in /Volumes is created with the name of the Zip disk. These directories are called “mountpoints”, and are created “on-the-fly” by Apple’s autodiskmount utility. Because these directories do not contain data on your boot volume, they do not need to be copied during a clone operation. The Volumes directory is just a placeholder (and the OS will recreate the Volumes directory on bootup, so it is unnecessary to recreate). The /dev directory is also a placeholder for system devices, such as disk drives, output devices, and communications devices. The list of devices in this directory is created each time the computer is booted up and when new hardware is added, so it is unnecessary (and a little difficult) to copy the items in this directory. Because this is a Unix system directory, however, you will not have a bootable volume unless this directory is recreated on the cloned disk. Creating an empty directory is sufficient. Likewise, it is important to backup mach_kernel (the most important file in the system), but “mach” and “mach.sym” are destroyed and recreated each boot by the /etc/rc boot script. Finally, the Network folder at the root level does not need to be backed up because it is populated by the System on startup.
5. Resource forks must be preserved

While Apple is trying to move away from Resource Forks, there are still many applications and documents that use them. Because of this, any backup or cloning utility must preserve the resource forks. If you try to clone a Mac OS X disk without preserving resource forks, many of your personal documents will be damaged.

* Pre-flight checklist

1. Make sure the “Ignore privileges on this volume” setting is not checked for your source or target volume (Note: this setting is called “Ignore ownership on this volume” in Jaguar). To check this setting, click on the target volume, choose “Show Info” or “Get Info” from the File menu in the Finder and select the Privileges menu (Jaguar: click the disclosure triangle next to ownership and permissions). Make sure the box at the bottom is NOT checked, otherwise permissions and ownership settings will not be preserved, no matter what tool you use to copy files.

2. Run Disk Utility on the target and source volumes before cloning. This is not required, but is a good idea to avoid disk or directory-related problems during cloning. If you are cloning an operating system with ditto or asr, I recommend that you erase the drive with Disk Utility prior to cloning.

* Cloning a disk or backing up your drive with ditto, rsync, hdiutil and asr:

Ditto is a command-line utility that ships with Mac OS X. Ditto preserves permissions when run as root and preserves resource forks by default. Ditto can be used to clone your system with the following step:

sudo ditto -X / /Volumes/Backup

rsync can be used to make a bootable clone as well. In addition to basic file copying, rsync also offers the ability to synchronize the source and target volumes — it can copy only the items that have changed, thus subsequent clones, or backups, are much faster. The syntax is pretty easy:

sudo rsync -xrlptgoEv –progress –delete / /Volumes/Backup

That will backup your entire drive, deleting anything from the target that is not on the source drive (synchronizing, that is). Rsync also preserves resource forks (that’s what the “E” argument is for) and will give you a bootable backup just as well as ditto. Learn more about using rsync to regularly backup your drive to a remote machine.

While it doesn’t give you a bootable clone, backing up to a disk image does offer flexibility in the location of your backup as well as backup portability — your entire volume is located in a single file. Restoring from disk images is pretty easy as well, just mount the disk image and treat it like any other volume. Backing up a volume to a disk image (UDZO means a compressed disk image in this case) is simply done with this one command:

sudo hdiutil create /Volumes/Backup/mikes_laptop.dmg -format UDZO -nocrossdev -srcdir /

Finally, the ideal tool to use for creating bootable clones of your volumes is Apple Software Restore. Apple Software Restore, or asr, is also a command-line tool built-in to Mac OS X. While asr essentially functions like ditto in its file-copy mode, it also has the ability to clone a volume at the block level, preserving every last bit of data on the volume.

asr syntax for volume cloning is also pretty easy:

sudo asr -source / -target /Volumes/Backup -erase -noprompt

The “-erase” argument is optional, though recommended when cloning an operating system. Merged OSes are not usually very happy. To use asr in block-copy mode, you must be able to unmount both the source and target. That is, you can’t block-copy your boot volume. Learn more about this in the CCC documentation about asr.
* The Command-Line-Free version

I have developed a utility that encapsulates the power of asr and rsync and performs all the necessary steps to clone a drive. Download Carbon Copy Cloner here.
* Disclaimer

These instructions require the use of command line utilities. Using command line utilities without experience can have unpredictable consequences including loss of data. Please be mindful of this — the author makes no claims to the fitness of these instructions, and makes no warranties explicit or implied to their effectiveness or safety.

Created July 11, 2001
Updated for Mac OS 10.1 on November 4, 2001
Updated on December 18, 2001 with general info and principles behind successful Mac OS X backups.
Updated January 7, 2002: removed incorrect comment about ditto mishandling symbolic links
Updated January 18, 2002: added info about hfspax, minor modifications to ditto instructions, and comment about resource forks
Updated February 28, 2002: minor modifications, added info about blessing the target, added comments on unlocking files on source.

Updated March 17, 2002: corrected terminology about the setuid bit.

Updated October 9, 2002: Added disclaimer.

Updated January 25, 2007: Removed the overwhelming bulk of code, it’s so much easier than it used to be. Also added rsync and asr alternatives.

Posted in MacOS, oprekan | Tagged: , | 2 Comments »

Mac OS X Leopard GM Final 9A581 Kernel Patch (INTEL/AMD/NO-HPET/NO-NX/SSE2)

Posted by mafiaid on 30 October 2007

Copy Paste lagi http://forum.insanelymac.com/index.php?showtopic=67996

Thanks To Lord.ButtPlug

http://rs180.rapidshare.com/files/65585759/OSx86_Socket_Source_Code_and_581_Kernel_Patcher.zip
http://gudangupload.com/filelink.php?filecode=cecce87f7221436e436d6c6bf8c5ee6d

This file contains NO illegal files or copywrited material and is perfectly acceptable to post here.

Mac OS X Leopard GM Final 9A581 Kernel Patch (INTEL/AMD/NO-HPET/NO-NX/SSE2) and Source Code for OSx86 Hackintosh

This kernel patch will allow you to run the newest leopard build (10.5 final or 9a581) on your (non apple) Intel or AMD pc.

Also included is the source code that was originally written by Lorem (oui, socket), Maxxuss, and Rufus for SSE3 emulation, the CPUID_SET_INFO patch that allows it to run on non Intel, and also several other tweaks and patches that allows all of this to work. This should be open to the world to have, so that others may be able to pick up where they left off and make their own kernels, and not just a few select people to have. The author of the source code has given me permission to post it here.

Tags: ,

Posted in MacOS, bacaan, oprekan | 3 Comments »

Leopard on SSE2 Howto

Posted by mafiaid on 30 October 2007

Copy Paste dari http://forum.insanelymac.com/index.php?showtopic=68077

Thanks to vboyz for great howto

OK folks, this is a quick mini howto on getting Leopard on your SSE2 machine. I got it to work on my Dell 9300.

Not working: System Profiler crashes every time.
Working: almost everything else include Sigmatel sound, Geforce 6800 go with natit, wireless (Atheros), wired (broadcom) internet

OK here it goes.

1. Follow the BrazilMac’s guide to patch the original leopard down to SL DVD. Leave it there once done. Note: this will shrink the DVD size down to single layer DVD. To make it full Dual Layer, if you want, I think you can just edit the script not to remove the files (?) not tested though.
2. Follow this link and download the kernel patcher to bring it down to SSE2. Note: you will need to extract the mach_kernel from your original UNTOUCHED DMG. The patched kernel will be named as “mach_kernel.hacked” rename it to “mach_kernel”
3. Now, you should have a patch dvd and a SSE2 kernel on your desktop (or somewhere else), open a terminal and type: “hdiutil attach -readwrite $path_to_patch_dvd -owners no” (no quotes). This will allows you to mount the iso in writable mode. In terminal, type “cd /Volumes/xxx” where xxx is the label for the patch DVD iso.
4. Now we need to rename the mach_kernel which came from the patched DVD (because it is SSE3 kernel), by typing: “mv mach_kernel mach_kernel.sse3″
5. Then, copy the SSE2 kernel on your desktop to here by typing: “cp /Users/xxx/Desktop/mach_kernel .”
6. Exit out of the terminal, then right click on the mounted DVD ISO and eject it.
7. Burn the DVD, boot and install. Note: during installation, choose your language, then select a drive to install and click Customize and deselect everything.
8. Once installation finished, run the 9a581post-patch.sh however you want (either thru tiger or usb drive).

VERY IMPORTANT here:

9. There are 2 kext from Tiger that you will need: the dsmos.kext and AppleSMBIOS.kext without these you will get Leopard kernel panic.
10. Now boot into single mode of Leopard, copy the dsmos.kext and AppleSMBIOS.kext from tiger partition (or wherever else) to /System/Library/Extensions, overwrite the existing ones (because they are for SSE3 I think)
11. Repair persmision and such and reboot.
12. Now you have Leopard on SSE2 machine.

dsmos

mach_kernel.sse2

Tags: , , ,

Posted in MacOS, bacaan, oprekan | Leave a Comment »

How to build the Mac OS X Package from scratch

Posted by mafiaid on 12 October 2007

Di ambil dari : http://wiki.winehq.org/MacOSX/Building

Installasi manual wine di OS X
Pastikan anda sudah menginstall Xcode dan X11 di mesin anda. Untuk Xcode bisa di ambil dari website nya apple

Download source code Wine. di sini saya download versi 0.9.46

$ wget http://ibiblio.org/pub/linux/system/emulators/wine/wine-0.9.46.tar.bz2

Ekstrak file tersebut

$ tar -jxfv wine-0.9.46.tar.bz2

maka akan menghasilkan folder wine-0.9.46

Download darwine distribusi dari terminal X11

$cvs -z3 -d:pserver:anonymous:@darwine.cvs.sourceforge.net:/cvsroot/darwine co -P distrib

Jalankan applikasi create_darwine_distrib.sh

$ cd ~/distrib
$ export VERSION=0.9.46
$ ./create_darwine_distrib.sh $VERSION ~/Desktop/wine-$VERSION

Tunggu beberapa saat, dengan TravelMate 4150 dibutuhkan waktu 30menit lebih. setelah proses selesai maka akan di hasilkan file Darwine-0.9.46.dmg

Selesai dan tinggal running file Darwine-0.9.46.dmg

ada baiknya sebelum itu anda juga sudah menginstall fontforge

Tags: ,

Posted in MacOS, oprekan | Leave a Comment »