Parallels – Boot your physical Windows partition

Sherry Haibara has found a way to boot physical Windows partitions in Parallels,
running inside a MacOS X86 install! Congrats! Here is the tutorial:

Get the latest Parallels beta here
Open Parallels and choose to create a new virtual machine.
It’ll ask you what HD do you want to use. Choose Boot Camp.
Continue the setup, but do not run the Virtual Machine.
When finished, close Parallels.

Use a Text Editor to edit your virtual machine configuration file (*.pvs).
Find the line that says:
“Disk 0:0 image = Boot Camp” and replace it with this
“Disk 0:0 image = Boot Camp;diskxsy”
where diskxsy is your Windows/Linux/Other OS “Boot Camp” disk.
disk0s1 is valid for instance.

Save and exit.
Start up Parallels and launch the Virtual Machine. Enjoy!

source: InsanelyMac

Write NTFS with MACFuse

This one is for multi OS addicts like me.
I have a triple boot with 2 versions of OS X86 and Windows XP.
So how do I exchange files between OS X86 and Windows systems?

Under Windows XP, I use MacDrive to read/write HFS+ partitions.
But under OS X86, I must use a FAT32 partition to write data on a windows partition.
NTFS is not supported in writing mode.

I really want to get rid of that FAT32 partition and avoid the max 4 gigs file size limitation.
So here is the solution, use MACFuse to write to NTFS file system.

Boot MacOS X86 from USB Pendrive

Have you ever dreamed about carrying in your pocket,
your favorite OSx86 install. And boot it everywhere.
When dreams come true…




Before you start

You will need the following stuff:

  • USB pendrive (min. 2 GB required)
  • JaS Mac OS X 10.4.x or 10.4.7 Retail DVD
  • Pacifist software (www.charlessoft.com)

Format the pendrive

Plugin your USB pendrive and open Disk Utility (Applications->Utilities).

Select your pendrive device in the left menu, and click the partition tab.
Enter a nice name for your device like osx86.

Hit Options… button, and choose Master Boot Record.
From the drop-down, choose 1 partition as the volume scheme.

Be sure the filesystem is Mac OS Extended (Journaled),
Hit the Partition button.

Next, we need to enable Owners, open a Terminal and type:

sudo /usr/sbin/vsdbutil -a /Volumes/osx86

Install OSx86

Mount the JaS 10.4.x DVD or the Retail 10.4.7 DVD (I used retail).
Browse to the directory System/Installation/Packages on the DVD.
Open OSInstall.mpkg with pacifist (right-click->Open With Pacifist).

Expand Contents of EssentialSystemSoftware, then expand Contents of
EssentialSystemSoftwareGroup.

Select Contents ofBaseSystem.pkg and Contents ofEssentials.pkg and
right-click and choose Install to Other disk…
Choose your pendrive (osx86) and hit the install button. Now be patient 🙂

Now depending on what DVD you used, you will need to download the
right update from apple.com. I downloaded the 10.4.8 Intel update since I used
10.4.7 retail DVD.

Open MacOSXUpd10.4.8Intel.pkg with Pacifist and install to Other disk…

N.B.: Before installing the update, you may need to free some space on the pendrive.
Just delete the asiatic font files in /System/Library/Fonts (= 100 MB bonus).

Add missing files

Since we installed with Pacifist, some of the files are missing. We need to copy them.
Get them from a full 10.4.8 working install. Those files are:

/System/Library/CoreServices/SetupAssistant
/Applications/Safari.app
/Applications/Address Book.app
/Library/Receipts/BaseSystem.pkg
/Library/Receipts/Essentials.pkg

Copy OSx86 specific files

You need to replace the following files:

/mach_kernel by semthex SSE3 or SSE2 kernel
/System/Library/Extensions/AppleACPIPlateform.kext
/System/Library/Extensions/AppleSMBIOS.kext

Optional:

/System/Library/Extensions/IONetworkingFamily.kext
/System/Library/Extensions/AppleIntelIntegratedFrameBuffer.kext
 (GMA950)

Add this for PS2 keyboard/mouse:

/System/Library/Extensions/ApplePS2Controller.kext

Put all your custom kext you use on your working install.

Do not forget to chmod -R 755 and chown -R root:wheel all files you copy.

Make the pendrive bootable

Be sure that you have bless version 24.0 from 10.4.4.
Any other version of bless won’t work.
Run bless -version in Terminal to check version.

sudo bless –verbose –folder 
“/Volumes/osx86/System/Library/CoreServices” –bootinfo

Repair permissions

Open Disk Utility.app, select your pendrive and repair permissions.

Set Partition Active

Open a Terminal, be sure your pendrive is plugged in:

> sudo -s
> diskutil list

> /dev/disk1
#: type name size identifier
0: FDisk_partition_scheme *1.9 GB disk1
1: Apple_HFS osx86 1.9 GB disk1s1

Note that here the pendrive is disk1 (disk1s1).

> fdisk -e /dev/rdisk1

Enter 'help' for information
fdisk: 1> p
Disk: /dev/rdisk1 geometry: 999/64/63 [4028416 sectors]
Offset: 0 Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
-------------------------------------------------------------
*1: AF 0 1 1 - 1023 254 63 [ 63 - 4028346] HFS+
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

First time you do this, you should not see the star in front of partition 1.
We need to activate the partition.

fdisk: 1> f 1
Partition 1 marked active.
fdisk:*1> write
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] y
Writing MBR at offset 0.

First Boot

During the first boot to OS X from the pendrive,
you’ll have to finish the installation setup.
For the first boot, you need to boot to your current working system.
And specify following boot flags:

mach_kernel -v rd=disk1s1

Notice that we specified disk1s1 from previous diskutil list command.

Next boot should be directly to the USB pendrive,
so don’t forget to enable USB boot in BIOS.
And set USB Flash boot order before harddrive.

Bring your osx86 with you and test it on any PC with SSE2/SSE3 proc!
Enjoy!

fdisk saved my OS X partition

After installing Vista on my second primary partition, dunno how, but…
My third primary OS X partition was not bootable anymore!!!

Maybe it was related to Vista installer, maybe to MacDrive I used to read HFS+.

The problem was the type of my OS X partition has changed from AF to 07 !!!
The type has become NTFS! duh!

My grub was giving me HFS+ parition error… Impossible to boot back in OS X…
I booted a linux livecd and ran fdisk:

su -
fdisk /dev/hda
p (list partitions)
t (assign type)
(choose the partition to change the type)
af (set type to af)
w (write changes to disk and reboot)

Yaye! I booted back in OS X86 !!

Titan NVidia 10.4.8 drivers released!

Omni just released today his modded kext (drivers) to allow full CI/QE support
for NVidia cards!! Amazing project called Titan! Congrats omni!

Follow omni’s instructions:
Please note that this was only tested in OS X 10.4.8
with semthex kernel.

Put the kext in your /System/Library/Extensions/ folder,
then in Terminal:


sudo -s
chown -R root:wheel /System/Library/Extension/Titan.kext
chmod -R 755 /System/Library/Extensions/Titan.kext
rm /System/Library/Extensions.mkext
rm /System/Library/Extensions.kextcache
reboot

Download Titan kext from: omni.starchaser.org/titan/

“X1600 AGP fix” by CycloneFr

Just received this tutorial from CycloneFr, check it out:

Okay guys, Neophus and I were working for months on the famous
Borisbadenov hack, and as we said latest .8 drivers were kernel
dependant. You may have seen Neo posted a 3.4 package for PCIE users
which is working fine (said to). The problem is Apple
(intentionally?) avoid us to use ATINDRV without PCIE support. Before
it was working as PCI, but the new IONDRVSupport.kext seems to force
PCIE mode. All of this to post an AGP fix for X1600 users.

Grab ATINDRV .5.kext (included in Neo 3.2 pkg) else u’ll still get
the artefacts under games (latest ATINDRV overclock the card)

Grab IONDRVSupport .5 or .7 as you want (included in the combo .7)

Run in Terminal:

sudo -s
rm -R /System/Library/Extensions/ATINDRV.kext
rm -R /System/Library/Extensions/IONDRVSupport.kext
cp -R (drag and drop ATINDRV.kext and remove the / at the end) /System/Library/Extensions/
cp -R (drag and drop IONDRVSupport.kext and remove the / at the end) /System/Library/Extensions/
reboot