I have a similar query regarding dual booting XP and OSX on the same HDD different partitions.
I want to set the active partition as the XP one for safety and speed of booting into Windows.
The way I had planned to do this was the old NT method of loading Linux by putting an option for it in the NTLDR menu. eg.
Copy Linux boot data to a file with:- dd if=/dev/hda2 of=boot.lnx bs=512 count=1
Copy this to the C:\boot.lnx
Edit (append) boot.ini with the line:- C:\boot.lnx="Linux"
I dont see why this wouldn't work for OSX - does anyone know more about it?
So far what I have done is I installed OSX on a second partition on my Laptop, a new Sony VAIO VGN SZ1VP/C. Apart from sound all was working ok - I assume this is because of it's similarity to the new powerbooks including the Infineon TPM module.
When I changed the active partition back to XP I got the MBR Bootloader error "Error Loading Operating System". Now this was strange as I had done nothing that I haven't done before dual booting Linux and Windows. The only difference is that I used Acronis instead of Partition Magic. MS knowledgebase gave me some useless information http://support.microsoft.com/?kbid=326676 that basically says they don't know what it is, although to be honest they were refering to errors during setup.
I tried everything to get it back but the only thing that worked was the last resort of:-
Removing all partitions.
Recreated partitions 1 & 2 for XP and OSX with the XP setup.
Use Acronis to set partition 2 to Primary Active type=AF making sure partition 1 is not hidden.
Reinstall OSX on partition 2 - this time just repaing the file system in Disk Utility & not messing around.
Use Acronis to set partition 1 active and make sure non are hidden.
Restore Windows to from recovery disk to partition 1.
And this is where I am now XP working and OSX bootable with the DVD or partition set active.
In OSX Terminal using df I established that the command I need assuming 512 is enough would be something like:- dd if=/dev/disk0s2 of=bootsect.osx bs=512 count=1
at first I got a permission denied error so I "su root" and the got device busy.
Does anyone know a way to do this from DOS or XP?
Any idea why the device is busy when you can do it in linux?
And is bs=512 is correct for the osx bootloader or is it bigger?
Any help appreciated.