Howto: upgrade OSx86 kernel

Here's a small howto about upgrading the OSx86 kernel.

First, download a kernel and unzip / unrar the archive
Place the kernel (named 'mach_kernel' ) file on your desktop
Open terminal and type:
    sudo cp /mach_kernel /mach_kernel_old
    (this will backup your current kernel)
    (type your password)
    sudo cp -f ~/Desktop/mach_kernel /
    sudo chown root:wheel /mach_kernel*
    sudo chmod 644 /mach_kernel*
Comments (0)  Permalink

Intel to Sell Mac Pro Motherboard ?

Both The Inquirer and HotHardware published a short test of Intel V8, the prototype of a new motherboard. When looking at the specification, the dual socket supports Quad Core Xeon 5365 (Clovertown), the 1333MHz Greencreek FSB chipset and 8 FB-DIMM memory slots.

In other words, this motherboard looks almost like the one found in current Mac Pro models. Here's a list with small modifications brought by Apple:

- For improving cooling, Apple installed FB-DIMM modules on daughter cards

- Apple does not offer 6 SATA ports

- Apple did not keep the 2 PCI-X slots found on the V8 kit

- location of the Airport and BT modules

But overall the V8 motherboard is the sister of the one found in our Mac Pro. Of course it lacks the EEPROM making the one in the Mac Pro able to run OS X; and without it, running OSX on the V8 might not be so easy.

While some analysts consider this V8 kit as the first answer from Intel to AMD Barcelona; it could also be introduced because a special agreement for one-year exclusive rights between Apple and Intel will be ending soon in June. Of course, the V8 kit was identified by The inquirer as a very hot piece of hardware requiring a lot of work for cooling it down. This is exactly what Apple did more than a year ago...

Comments (1)  Permalink

How to activate PHP in Mac OS

Leopard:

  • Startup Terminal, and run the following commands:
    1. $> cd /etc/apache2/
      $> sudo pico httpd.conf
      [Enter]
      press [CTRL]+[W]
      type: php [Enter]
  • You should see the following line:
    1. # LoadModule php5_module libexec/apache2/libphp5.so
      Now remove the hash (#)
    Thats it, now save the file:
    press [CTRL]+[O], [Enter]

    To exit Pico, press [Ctrl]+[X]

    To activate PHP, reboot or enter in terminal:
    $> sudo apachectl restart

    Tiger:

  • Startup Terminal, and run the following commands:
    1. $> cd /etc/httpd
      $> sudo pico httpd.conf
      [Enter]
      press [CTRL]+[W]
      type: php [Enter]
  • You should see the following line:
    1. # LoadModule php4_module libexec/httpd/libphp4.so
      Now remove the hash (#)
      Repeat the same procedure until you find this line:
      # AddModule mod_php4.c
      And remove the hash (#).
    Thats it, now save the file:
    press [CTRL]+[O], [Enter]

    To exit Pico, press [Ctrl]+[X]

    To activate PHP, reboot or enter in terminal:
    $> sudo apachectl restart

    Comments (4)  Permalink

    Custom 'About this Mac' Graphics

    To change your 'About this Mac' logo, you only have to Custom About this Mac
    replace one file. First we are going to backup your
    existing logo, located in:

    /System/Library/CoreServices/loginwindow.app/Contents/..
    ../Resources/ MacOSX.tif and rename it to MacOSX.tif.bak

    After that you can download one of the supplied logo's and rename it to MacOSX.tif and place the logo back again in
    /loginwindow.app/Contents/Resources

    Fix permissions, logout and login and enjoy your custom About this Mac graphic!

    Custom Logo's:

    Hackintosh.tif
    MacOSX-Aqua.tif
    MacOSX-Aqua2.tif
    MacOSX-Aqua3.tif
    MacOSX86.tif
    iHack.tif
    Comments (0)  Permalink

    VMware Fusion beta3, solving kernel panic

    Some people get a kernel panic when using/installing VMware Fusion.
    Here is a patched kernel extension, that solves this problem

    you need to place it here:

    /Library/Application Support/VMware Fusion/kexts/

    during installation

    for using it, you can use this script (script needs to be run under root):

    while sleep 2 ; do cp -r ./vmmon.kext /Library/Application\ Support/VMware\ Fusion/kexts/ ; chown -R 0:0 /Library/Application\ Support/VMware\ Fusion/kexts/vmmon.kext ; done

    after installation, press ctrl-c

    if you see some errors, just ignore them :)
    Comments (0)  Permalink

    How to iSync a Nokia 6300

    Nokia 6300 It appears that Mac OS X’s iSync does not natively support the Nokia 6300. A closer look revealed that several other Nokia phones that run the exact same operating system as the Nokia 6300 are supported in OS X, so therefore, the 6300 is actually supported. We are going to modify iSync, so its also seeing the 6300 as a supported phone.

    In order to get this device working with iSync, follow these steps:

    Quit iSync if its running. Right-click on the iSync application in your /Applications folder, and select “Show Package Contents”. Navigate through the folders to Contents -> PlugIns -> ApplePhoneConduit.syncdevice -> Contents -> PlugIns -> PhoneModelsSync.phoneplugin -> Contents -> Resources. Back-up the MetaClasses.plist file by clicking on it, and select File->Duplicate from the Finder menu. Next, open MetaClasses.plist with a text editor.

    The Nokia 6280 runs Series 40, 3rd edition with Bluetooth and USB, exactly the same as the 6300. We're going to copy the XML entry of the 6280 model, and changing it a little bit, so the 6300 is getting recognized by iSync.
    The 6280 XML entry starts with “family.com.nokia.series40.3rdEd.bus.usb-bt”. So make a copy of it’s XML entry, and replace 6280 to 6300, and insert the new entry below it. Here is my Nokia 6300 definition or just use my complete MetaClasses.plist file.

    In order to get an 6300 icon displayed in iSync, we need to add a tiff file to the same directory as the MetaClasses.plist
    The icons are 60×60 pixel tiff files with transparent back-grounds. Here is the icon file that I used for the 6300, just put it in the same folder.

    Save and close the MetaClasses.plist file and start up or restart iSync. Make sure that Bluetooth is enabled on your phone. Select “Add Device” from the iSync Devices menu. iSync should find your Nokia 6300, and display the icon that you've added.

    For fixes regarding Birthdays and Contact Photos, take a look at this blogpost at dabgotra.com.
    Comments (204)  Permalink

    Setup Beryl on Ubuntu Edgy

    Make sure you have installed graphics drivers.

    For NVidia
    Add this repo:
    deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable
    Install drivers:
    sudo apt-get update && sudo apt-get install linux-restricted-modules-$(uname -r) nvidia-glx
    Backup and update xorg.conf:
    sudo nvidia-xconfig 
    restart

    Composite
    Active composite in X:
    gksudo gedit /etc/X11/xorg.conf
    Add these lines:
    Option "TripleBuffer" "true" Option "AddARGBGLXVisuals" "true
    Installing Beryl
    sudo apt-get install beryl
    Startup Beryl
    beryl-manager

    After this, beryl should be working fine.
    In my case, it didn't.
    I fixed it after adding this line to my xorg.conf:
    Option "DisableGLXRootClipping" "True"
    Run Beryl on startup
    Go to System -> Preferences -> Sessions
    Tab: Startup Programs -> Add
    Startup Command: beryl-manager
    and add: beryl-xgl
    Comments (0)  Permalink

    How to Monitor resolution

    For NVidia Drivers: http://doc.gwos.org/index.php/Latest_Nvidia_Dapper

    First, just in case, make a back up of you current file:


    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.org
    For restoring:
    sudo cp /etc/X11/xorg.conf.org /etc/X11/xorg.conf

    Step 1.

    First, try a quick fix. It may not work, but if is does you are done.

    sudo dpkg-reconfigure -phigh xserver-xorg
    • The -phigh option selects the defaults for everything but the screen resolution.
    • To select a resolution, use the arrow keys to move up and down, hit the "Space bar" to select/unselect a resolution.
    • You will recieve a message indication your old file was backed up.

    If that fails you will need to know the specifications of your monitor and video card.

    Step 2.

    Monitor information
    Google search your monitor by make and model. You are looking for the technical specifications for the horizontal and vertical refresh rates.

    Videocard information In a terminal run this command:

    lspci | grep VGA

    Next step is editing the /etc/X11/xorg.conf file

    If you have Gnome running:

    sudo gedit /etc/X11/xorg.conf
    If you have no video and are stuck at the CLI:
    sudo nano /etc/X11/xorg.conf

    You are looking for the following sections:

    Monitor:

    Quote:
    Section "Monitor"
    Identifier "Monitor1"
    VendorName "DEL"
    ModelName "DELL P1110"
    HorizSync 29-121
    VertRefresh 50-180
    EndSection

    Enter you monitors horizontal and vertical refresh rates:
    If you do not know what they are, google search for your monitor.
    I put an entry in my xorg.conf with my monitors web site for reference:
    Section "Monitor"Identifier "Generic Monitor"HorizSync 30.0 - 70.0VertRefresh 50.0 - 160.0Option "DPMS"EndSection

    After editing your xorg.conf you need to re-start X: Ctrl-Alt-Backspace
    This will bring you to the log-in screen (GDM).

    Step 3.
    Screen section

    If this fails, next reduce the color depth:
    Again open xorg.conf with an editor (vi, nano, gedit)

    This time you are looking for the "Screen" section:
    Quote:
    Section "Screen"
    Identifier "twinviewscreen"
    Device "twinview"
    Monitor "Monitor1"
    DefaultDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 32
    Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    EndSection
    1. Reduce the DefaultDepth (this is color depth, 16 is more then adequate for most people and 24 may be excessive).
      Change it to 16:
      Code:
      DefaultDepth 16    Subsection "Display"        Depth       16        Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"    EndSubsection
    2. Make sure the Subsection "Display" lists your desired resolution.
      On occasion I have "fooled" X into giving me my desired resolution by setting the resolution 1 step higher.
      If you are not sure, you can use "1600x1200" and reduce it later.

    After editing your xorg.conf you need to re-start X: Ctrl-Alt-Backspace
    This will bring you to the log-in screen (GDM).

    Comments (0)  Permalink

    Clone a bootable hard disk the easy way

    Hook the, to be backuped Mac(1) in Target Disk Mode (start it up with the 'T' key held down) with a FireWire cable to the second Mac(2). Select in Disk Utility on the Mac(2) the volume of the new hdd and use the Restore tab, drag and drop the old drive from the Mac(1) as the source, and the new one as the target, and press the button.

    You can also use software like SuperDuper, but it failed with my attempts to clone a hdd and keep it bootable.
    Comments (0)  Permalink

    AppleTV OS Booting on a PC

    http://www.youtube.com/watch?v=7Mt9B0GsSak

    The video basically says everything.

    OS: 10.4.8 base
    Comments (0)  Permalink
    Next1-10/17