OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple...

12
CV>-S6: Q^atirg ^ I ickir *osh Peter Baldwin WILEY Wiley Publishing, Inc.

Transcript of OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple...

Page 1: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

CV>-S6:

Q^atirg ^

I ickir *osh

Peter Baldwin

WILEY

Wiley Publishing, Inc.

Page 2: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

ContentsAcknowledgments. xx

Introduction xxi

Part I: Installing OS XI 0.5 1

Chapter 1: Getting Started 3

DeterminingYour Computer Hardware 3

Finding Specifications for Your Motherboard 5

Finding Your Processor Specifications 6

Working with older processors 7

Using an early Pentium chip 7

Finding Specifications of Your Video Setup 7

Using a separate video card 8

Using integrated video 8

Finding Your Audio Hardware Specifications 9

Finding the manufacturer 10

Finding the device name 11

Finding Your Networking Hardware Specifications 11

Wired networking 12

Finding Your OtherHardware 14

Determining Your Hardware Compatibility.

Finding my motherboard

Finding my processor

Finding my graphics card

Finding my wired network 16

Finding my sound device 16

Chapter 2: Installing Leopard to a Separate Hard Disk...................

1 ?

Booting from a Boot CD 17

Checking your BIOS 18

Finding a boot disk 20

Creating your boot disk 20

Checking thatyou have everything 21

Specifying the Hard Disk identifier 21

Specifying Boot Options 23

PreparingYour Hard Disk 25

Specifying Installation Options 30

Watching the Welcome Video 32

Booting your computer to run Leopard 32

Watching the welcome video 34

ix

Page 3: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Entering Details About Yourself 35

Selecting your keyboard 35

Transferring data from another Mac 37

Entering your networking details 37

Entering your personal details 38

Setting time and date 40

Seeing your Leopard screen for the first time 41

Troubleshooting 42

Summary 42

Chapter 3; Avoiding the Need for the Boot CD .43

Finding and Downloading the Relevant Software 43

Downloading the file to update Leopard 43

Downloading the file to modify your boot system 44

Using the Installer to Complete Your OS X Installation 45

Installing the combo update 45

Installing the boot loader 50

Selecting the Boot Disk from the Menu 54

Installing a Different Bootloader 56

Summary 58

Chapter 4; installing to a Hard Disk with Windows Vista Already Installed,.., 59

Performing a Complete Image Backup of Your Vista Hard Disk 59

Finding and downloading the software 60

Creating a disk image 61

Restoring your system from the disk image 62

Downloading Required Software to Start Vista and OS X 65

Downloading software to partition your Vista system disk 65

Downloading software to modify the Vista boot loader 66

Downloading software to repair your Vista boot sector 67

Partitioning the Vista System Disk 67

Shrinking your existing partition 68

Creating the new partitions 70

Booting the Leopard Installer 72

Finding a boot disk 72

Creating your boot disk 73

Specifying the hard disk identifier 73

Specifying boot options 75

Formatting your disks 78

Modifying Your Leopard Installer 81

Forcing the installer to use your modifications 84

Specifying installation options 87

Restarting your computer 90

Using the Downloaded Software to Restore the Vista Partition 91

Ensuring That Vista Starts 92

Page 4: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Starting OSX 93

Using a Different Boot Loader 93

Expanding Your Windows Partition 95

Summary 96

Chapter 5; Installing to a Hard Disk with WindowsXP Already Installed...

97

Performing a Complete Image Backup of Your XP Hard Disk, 97

Finding and downloading thesoftware 98

Creating a disk image 98

Restoring your system from the disk image 100

Downloading Required Software to Start XP and OS X 102

Downloading software to partition your XP system disk 102

Downloading software to modifythe XP boot loader 103

Partitioning theXPSystem Disk 103

Shrinking your existing partition 104

Creating the new partitions 107

Booting the Leopard Installer 109

Finding a boot disk 109

Creating your boot disk 110

Specifying thehard disk identifier 110

Specifying boot options 112

Formatting your disks 114

Modifying Your Leopard Installer 118

Forcing the installer to use your modifications 121

Specifying installation options 123

Restarting your computer 126

Choosing Your Boot Loader 127

Using the standard Darwin boot loader 127

Using the Windows XP boot loader 127

Using the Chameleon boot loader 130

Summary 132

Chapter 6: Troubleshooting Your Installation 133

Booting from the Install DVD 133

Starting the retail Leopard DVD 133

Starting a modified installation DVD 137

Booting Leopard 138

Restoring Your Computer from Your Backup 143

Using the Vista Backup and Restore utility 143

Using other backup and restore programs 144

Reinstalling with Different Parameters 144

Restoring Your XP Boot Loader 144

Page 5: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Modifying the Apple Property Lists to Specify Future Boot Parameters 1

Specifying boot parameters to the Darwin boot loader 1

Making the changes permanent 1

Fixing file permissions 1

Testing the changes 1

Changing other parameters 1

Summary 1

Part II: Setting Up and Customizing Leopard ..15

Chapter 7: Comparing Leopard and Windows 1!

Using the KeyboardUsing the Single Menu Bar

About This Mac

Software UpdateMac OS X Software

System Preferences

The Dock

Recent Items

Force Quit

Using the Dock

Adding an application to the Dock

Displaying folders in the Dock

Adding a folder to the Dock

Using Application Software

Using window control buttons

Controlling Finder

Using the view buttons

Using Quick Look

Double-clicking the title bar

Arranging icons

Customizing Finder's toolbar

Using a breadcrumbs bar

Missing the StartMenu

Savingfrequently used applications in the Dock

Viewing all programs

Viewing user files and folders

Using system controls

Using Spotlight

Using Time Machine

Setting up Time Machine

Excluding files from Time Machine

Retrieving files from Time Machine

Troubleshooting Time Machine

Using TextEdit

Page 6: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Using the Services Menu 191

Using the Context Menu on Text 194

Summary 195

Chapter 8: Setting Up Personal System Preferences..................... 197

Setting Up Appearance 197

Setting general appearance options 198

Setting scrolling options 198

Setting number of recent items 199

Setting font smoothing 199

Setting Up Desktop and Screen Saver 199

Setting up your desktop 200

Setting up your screen saver 200

Setting up hot corners 201

Setting Upthe Dock 203

Setting Up Expose and Spaces 205

Setting Up International 207

Setting languages 207

Setting formats 207

Using the input menu 209

Setting UpSecurity 211

General security options 211

FileVault 214

Firewall 215

Setting Up Spotlight 216

Using Dashboard 218

Chapter 9: Setting Up Hardware System Preferences....................221

Setting Up Bluetooth 221

Setting up your device 221

Browsing your mobile phone 225

Setting Up CDs and DVDs 225

Setting Up Your Display 226

Setting your screen resolution 226

Setting up a color profile 227

Setting Up Energy Saver 229

Setting sleep options 229

Setting wake and powerdown options 230

Setting Up Keyboard and Mouse 231

Setting up your keyboard 231

Setting up your mouse 233

Using a Bluetooth mouse and keyboard 235

Setting keyboard shortcuts 235

Setting Up Print and Fax 238

Setting up your printer 238

Setting up faxing 239

Page 7: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Setting Up Sound

Finding the correctaudio drivers

Setting up sound in System Preferences

Summary

Chapter 10: Setting Up Internet and Network Preferences...............2-

Setting Up Your Network

Using a wired connection

Using a wireless connection

Managing without networking

Setting Up SharingSetting up file sharing

Setting up printer sharingSetting Up MobileMe

Synchronizing with MobileMe

Using your iDisk

Using the Back to My Mac feature

Setting Up QuickTime

Summary

Chapter 11: Setting Up System Preferences ............................2'

Setting Up User Accounts

Setting login options for your account

Creating a new account

Using fast user switching

Setting login items

Setting Up Date and Time

Setting your time zone

Setting clock options

Synchronizingtime with Windows

Running Software Update

Setting Up SpeechSetting up Speech RecognitionExploring Text to Speech

Exploring Leopard's voices

Setting Up Startup Disk

Setting UpTime Machine

Setting up a separate hard disk

Recovering a file using Time Machine

Fixing the networking kernel extension setup

Setting Up Universal Access

Setting up for seeing difficulties

Setting up for hearing difficulties

Setting keyboard options for assistance

Setting mouse options forassistance

Summary

Page 8: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Port Ills Usincj Your Mscintosh»•• f • ....... ........291

Chapter 12; Using the Main Macintosh Software .293

Using Safari 293

Starting Safari for the first time 293

Working with bookmarks 294

Setting Safari preferences 296

Surfing privately 302

Using Mail 302

Linking to your e-mail provider 303

Setting Mail preferences 306

Using other mailboxes 311

Using smart mailboxes 314

Using Address Book 316

Setting preferences 316

Synchronizing witha mobile phone 317

Synchronizing with Yahoo 319

Synchronizing with Google contacts 320

Using iCal 320

Synchronizing with a mobile phone 320

Synchronizing with Google calendar 321

Synchronizing with Yahoo calendar 321

Using Preview 322

Setting Preview preferences 322

Editing with Preview 323

Using Preview with PDF files 323

Using iTunes 324

Synchronizing with your iPod 324

Playing files on your Windows disks 325

Summary 326

Chapter 13: Reading and 'Writing to Windows Disks. 327

Reading and Writing to FAT Partitions 327

Viewing hidden files 328

Deleting hidden files 332

Reading and Writing to NTFS Partitions 332

Installing MacFUSE 332

Installing NTFS-3G 334

Installing ntfs-mac 334

Summary 335

Chapter 14; Running Windows in OS X -337

Using Parallels Desktop 337

Installing Parallels Desktop 337

Creating a virtual machine 338

Page 9: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Parallels modes 341

Using snapshots 343

Using VMware 344

Installing and creating a virtual machine 344

VMware modes 348

Measuring performance 349

Importing other virtual machines 349

Summary 351

Chapter 15: Running OS X on Windows Using VMware .353

Creating a Virtual Snow Leopard Installation 353

Creating an install disk image 354

Sourcing the other fi les you need 355

Creating a VMware Virtual Machine 356

Obtaining yourVMware software 356

Booting your Snow Leopard install disk 356

Installing Snow Leopard 361

Setting Up Snow Leopard 363

Booting for the first time 363

Saving a snapshot 366

Using Your Virtual Machine 366

Sharing your Windows files 369

Summary 374

Part IV: Enhancing Your Macintosh 375

Chapter 16: Automating Your Work, .377

Getting Around in Automator 377

Preparing to launch Automator 377

Orienting yourself to Automator 378

Running a Sample Workflow 380

Preparing to run workflows 380

Downloading and runningthe workflow 380

Viewing the results and the log 383

Modifying the Sample Workflow 384

Looping 385

Using variables 387

Creating a NewWorkflow 388

Using the actions library 388

Saving a Workflow as a Plug-in 391

Creating Finderplug-ins 391

Using Folder Actions 392

Detecting files added to a folder 392

Converting graphics files to other formats 395

Summary 396

Page 10: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Chapter 17: Creating and Editing AppleScript Macros .397

Starting with AppleScript 397

Starting ScriptEditor 397

Orienting to the ScriptEditor screen 399

Using a Prepared AppleScript 399

Finding prepared scripts 399

Running the script 400

Reading theAppleScript code 400

Changing the script 402

Creating Your Own Scripts 403

Creating Finder scripts 403

Saving and running scripts 408

Using scripts In other applications 424

Summary 439

Chapter 18: Modifying the Dashboard .441

Installing the Apple Developer Tools 441

Downloading the developer tools 442

Installing the developer tools 442

Getting Around with Dashcode 443

Reviewing the Dashboard 443

Starting with Dashcode 444

Creating a Basic Computer Gauge 446

Testing the gauge 448

Modifying the gauge 448

Using the gauge 453

Deploying your widget for anyone to use 455

Creating a Map Widget 455

Creating your widget 456

Creating your Google map 456

Getting your mashup code 458

Putting it together 459

Creating a Countdown Timer 460

Settingthe event 460

Changing the look of thetimer 462

Adding some programming 469

Summary 475

Chapter 19: Using Quartz Composer...................................47?

Introducing Quartz Composer 477

Understanding the main windows 477

Understanding patches 478

Understanding the coordinatesystem 480

Creating a Rotatable Picture 481

Preparing your picture 481

Using sprite rendering 482

Page 11: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

Reading mouse movements

Applying mathematical transforms

Filtering the imageCreating a Rotating Cube

Adding interpolations

Creating a screen saver

Using Image Effect Filters

Using ImageMasks

Understanding alpha channels

Creating an image mask

Using Render in Image Macros

Creating a AudioSpectrum DisplayObtaining audio input

Making a unidirectional bar

Continuing development of the meter

Summary

hapter 20: Using Some Other Developer Tools 5

Using Core Image Fun House

Starting Core Image Fun House

Using the Effect Stack

Saving your work

Using Repeat After Me

Starting with RepeatAfter Me

Modifying the inflection of the voice

Changing the voice to match your inflexion and pitchMaking other changesPlaying the output in another application

Summary

Chapter 21: Using XCode to Create Hem Programs ......5

Developing a Cocoa ApplicationUnderstanding Cocoa

Understanding AquaUsing XCode

Designing the User Interface

Starting a new project

Using Interface Builder

Adding the Programming

Understanding object-oriented programmingCreating the Converter method

Creating the Controller method

Connecting the pieces

Page 12: OSx86 : creating a Hackintosh › dms › tib-ub-hannover › 621065722.pdf · ModifyingtheApple PropertyLists toSpecifyFutureBootParameters 1 Specifying bootparametersto theDarwinbootloader

. V •u-wnAuAc -, . V - . ^ i > < <> I (ill 1

Building the Application 562

Fixing compile-time errors 562

fixing run-time errors 563

Running the Application 564

Refining the Application 564

Changing the submenus 564

Changing the application icon 565

Chapter 22: Some Successful Case Studies..................... ...

.571

Installing to a Gigabyte Motherboard 571

Overcoming difficulties 571

Installing to a Dell Mini 9 573

Overcoming difficulties 573

Appendix A; References .575

Appendix 8: The Missing Theory ...........................................579

Appendix C: Installing Snow Leopard .601

Glossary .607

Index....................................................................613