Jump to content

The Official Dual Booting Thread


  • Please log in to reply
540 replies to this topic

#121
joern_ki

joern_ki

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
[quote name='joern_ki' date='May 16 2006, 03:14 PM' post='113712']

problems with dual boot after a clean install that works fine as a standalone...


hi!

i got my osx 10.4.3 installed on a second harddisk on the first partition (normally disk1s1 or secondary master in that bios).

but... i only got it recognized and installed when i changed the hd to the first master or disk0s1... i opened my pc and changed the bus cable...

in this combination i can boot osx really fine and some kinda fast...
but... in this configuration i don't have that win xp disk (which is normally disk0) at hand (cause it's unplugged) and my secondary slave which normally is my second DVD drive and burner will not be recognized in osx (only my first DVD drive which isn't a burning drive)...

when i reconfigure my drives (XP on disk0 - bootdisk and first master, DVD drive as first slave, osx on disk1s1 and secondary master, DVD burning drive as secondary slave) windows will load correct... i get that boot menue and choosed osx... the darwin boot loader is appearing and counting 5 secs... then starts darwin, the apple sign comes up and after ca. 3-5 minutes it hangs with a no parking sign...

i used boot.ini and that chain.0 file to try dual boot and in that bootfile.plist of darwin/mac i statued a time countdown of 5 secs.

i tried the same procedere in verbose mode... and after showing up some drivers (usb and firewire) it hangs again...

then that well known message appears: still waiting for root device...

thats my problem! why is the hard drive not recognized??? darwin boot loader shows after stroking F8 the right start partition and begins to load drivers... but i think darwin IS using the start up informations from the right partition... (i don't have another osx drive or osx DVD running)

any suggestions?

i don't like that idea of always having my pc open and unplug and change manually drives on the bus cable...

btw... if i got osx started it works pretty fine... and relativly fast so that you can work with InDesign and Acrobat for example...

joern
[quote]



hi again!

i got this problem fixed! :D

i changed the queues of the 2 ATA-Busses: XP on disk0 - bootdisk and first master, osx on disk1s1 and first slave, DVD drive as secondary master, DVD burning drive as secondary slave...

... and that's it! i've got dual-booting with no problems! with that mentioned chain0 method. :-)

now i have a new problem:
osx seems to have difficulties to recognize my second ATA-bus... both DVD drives are not mounted!
i have "only" all my partitions mounted (NTFS & HFS+)...

any suggestions?

joern

#122
acido

acido

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
bootcamp for PC?

#123
acido

acido

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
can you pass methe file chain0, please... or exist a Tutorial Guide with images?

#124
blackest_knight

blackest_knight

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
nx6110 laptop triple boot xp home osx 4.5 ubuntu 5.10

how i did it first booted from
osx86_10.4.4__10.4.5_prepatched_Install_DVD
wiped the hd with the disk utility and created 3 partitions
left 1 and 3 empty and formatted 2 as mac extended installed osx onto this.
next booted xp home cd selected 1st partition and formated fat32 then quit
rebooted with xphome install disk and installed xp
next booted ubuntu 5.10 install dvd
chose to install to largest free space (partition 3)
installed grub to MBR only Xp detected but no worries
next edited menu.lst in ubuntu and basically copied the entry for xphome
changed xp home to osx 86
and hda0,0 to hda0,1

now grub loads choose from menu any boot option
with osx86 i get a further boot option of osx or xp
pretty simple

with osx86 I needed to get round the external monitor problem
first set the desktops to mirror (you do need an external monitor for this)
i then used 2 resistors of about 150 ohms on the external vga port
one pin 1-6 the other pin2 to 12.

the only problems were enabling wifi in both ubuntu and osx
with ubuntu you need the ndiswrapper and the broadcom inf and sys files
with osx you need to modify the entry for the chipset.
check the 10.4.3 wiki entry for nx6110 for details.

ubuntu is a great linux distro and everything i needed to know is available in the wiki

#125
Paul M

Paul M

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
OK so i did have XP and OSX running on my Dell Inspiron 9300. I already had XP installed, i then created a new partition using Partition Magic 8, however i am unsure about setting the new partition to active or not. Some posts have said that in XP you do not have to set it to active. I changed the boot.ini file and checked boot paths and all was ok, i then saved it to the root of my C:\ drive and also placed chain0 there aswell and set them both to hidden incase of accidental deletion. I then restarted and booted of my dvd drive and ran OSX, went into Disk Utilities formated the the new drive using the MAC journal option and installed onto that drive, all loaded up and all was well, however when i restart and try to go into OSX i get a message saying missing hal.dll file or something about unable to boot from loaction or something. I did not get this the first time i attempted it, so why now. My only thought is that the new partition was set to "active". Obviously i cannot install i 2nd hard drive on my laptop, which drive should be set to primary or logical etc. All was going well............never update OSX....screws it up proper, find a patch for updating !!! Please help...anyone. I have read the threads about Dual Booting, i cant see anything that i have not already tried.

#126
xandiztxu

xandiztxu

    The anti-cancer

  • Members
  • PipPipPipPip
  • 228 posts
I get it working buy this way
Installed OSX, Than After Installed Windows, and than installed OSX again.

It worked, and have to add something on a file boot.plist something like that u find in that topic!

#127
RAF2

RAF2

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
I'm using triple boot here. :(

1 -I first had Windows 2000 installed (single boot).
2- Made a 6 GB partition with Partition Magic for Linux install.
3- I installed Ubuntu 6.06 and let it boot manage with GRUB. (dual boot)
4- Back to Partition Magic, another 6 GB FAT32 partition, this time for Mac OS X.
5- Got the chain0 file, put it on C:\ and edited the boot.ini accordingly.
6- Then I installed Mac OS X to the new 6 GB partition. (now triple boot)
6a- Currently I'm loading Mac OS X through the chain0 method (Select "Windows 2000" in GRUB, then "MacOS X")
6b- Made a new entry in GRUB menu for MacOS X, now I'm trying to make GRUB load Mac OS X so I wouldn't need to choose Windows 2000 for loading MacOS X. So far no luck. :/

#128
fyi

fyi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Most of you might have already read Some Desi's "HowTo: Dual boot Mac OS X86 and Win XP" which introduces dual boot Mac OSX86 and Windows by including Chain0 in Boot.ini.

But if you try to boot Mac OSX86 10.4.6 from the NTLDR menu of Windows x32/x64, you might get "HFS+ partition error." That's because the boot sector, created by installing from the Mac OSX86 10.4.6 DVD, expects to receive some parameters sent by the Window's MBR. To be more specific, the OSX86's boot sector should be run right after executing the following instruction code within the Win2K/XP's MBR (Master Boot Record):
0694: 8BFC	   mov	 di,sp
0696: 1E		 push	ds
0697: 57		 push	di
0698: 8BF5	   mov	 si,bp
069A: CB		 retf	; jump to 0:7c00
ds:[si] should point to the active partition entry (OSX86 or Windows) in memory, usually located at 0:[0x7be] which is the first entry. Besides, CPU register "dl" should contain "Drive no." which is "0x80" if booting from the first harddrive.

The Mac OSX86 10.4.6 boot sector entry point:
7C00: FA		 cli
7C01: 31C0	   xor	 ax,ax
7C03: 8ED0	   mov	 ss,ax
7C05: BCF0FF	 mov	 sp,0FFF0
7C08: FB		 sti
7C09: 8EC0	   mov	 es,ax
7C0B: 8ED8	   mov	 ds,ax
7C0D: 6631C0	 xor	 eax,eax
7C10: 66A300E4   mov	 [0E400],eax
7C14: 807C04AF   cmp	 b,[si][00004],0AF	; 10.4.6 only boots up HFS+ (0xAF)
7C18: 7503	   jne	 000007C1D
7C1A: E90900	 jmp	 000007C26
Normally, if the OSX86 is the active partition, it should run fine. The MBR passes control directly to OSX86's boot sector which loads the bootloader. The bootloader then loads the OSX86 kernel.

What if the Windows x32/x64 becomes the active partition? The MBR passes control to NTLDR (NT loader) which shows the boot menu. When Mac OSX86 is selected, control is passed to Chain0 and Chain0 loads the OSX86's boot sector. Because Chain0 doesn't follow the rule defined by Win2K/XP's MBR to properly set up the "si" and "dl" CPU registers, that's why you'll get "HFS+ partition error."

The simpliest way to overcome this, is to let NTLDR load a copy of the MBR image in which the active partition is set to Mac OSX86. This MBR image replaces Chain0 or the OSX86 Boot Sector image submitted in the Boot.ini. You can run Windows Support Tools "DskProbe" included in Windows Installation CD to do this. When you think everything is set, here comes the second issue. When you select Mac OSX86 from the NTLDR menu, you'll keep bumping into the same menu again and again. Why? It's because the Mac OSX86 bootloader loads the MBR again to verify the real active partition entry and dump the one which was fed to it. That's why you'll need some other kind of partition manager which can dynamically set up any one of the four pasrtition entries as active and modifies the MBR physically. Note: the free partition manager "SPFDisk 2K3R" doesn't fully comply with the Windows MBR.

Windows XP SP2 Support Tools for Advanced Users

Besideds installing another partition manager, I decided to modify MBR instead. Let MBR load Window's boot sector no matter what active partition is and physically set Mac OSX86 partition as active. It's OK with Windows because NTLDR doesn't reload the MBR once it has been loaded into memory.

To proceed, you have to make sure that the MBR was created by Windows 2K/XP. Run DskProbe to save a copy of the current MBR and compare it with Win2k Master Boot Record (MBR) Revealed! Or you can simply open the Windows Recovery Console by booting from the Installation CD and run "fixmbr" to restore Window's MBR. Don't worry. It only changes the binary codes in the MBR without affecting the partition table.

Suppose you have saved two copies of the MBR image and name them "Sector00.dsk" and "Chain0.dsk"

Open Notepad and created a script file "MBR-XP.txt" like this:

a 118
jmp 280

a 280
rep movsb
mov byte ptr [7be],80
mov byte ptr [7ce],0
mov byte ptr [7de],0
mov byte ptr [7ee],0
retf

e 2be 0
e 2ce 80
e 2de 0
e 2ee 0

w
q
(append at lease one blank line)

Open Notepad and created a script file "MBR-OSX.txt" like this:

a 118
rep movsb
retf

f 280 l20 0

e 2be 0
e 2ce 80
e 2de 0
e 2ee 0

w
q
(append at lease one blank line)

In the above example, Windows is the first partition and Mac OSX86 is second.

Put "Sector00.dsk", "Chain0.dsk", "MBR-XP.txt" and "MBR-OSX.txt" together under C:\

Now open a DOS command prompt window by runing "cmd"

Copy and paste the following command into the command windows.

cd \

debug Sector00.dsk <MBR-XP.txt

debug Chain0.dsk <MBR-OSX.txt

Run DskProbe to write Sector00.dsk to PhysicalDrive0 Sector 0 where MBR resides.

Modify Boot.ini. Append with

c:\Chain0.dsk="Mac OS X86"

Now you can reboot and enjoy dual booting Mac OSX86 with Windows. From the above example, you can also do a triple boot. The OS limit is four as retricted by the partition table entries. But there's no limit to open floppy images.

#129
xandiztxu

xandiztxu

    The anti-cancer

  • Members
  • PipPipPipPip
  • 228 posts
Good tutorial, but if MAC OS X is in the first partion and windows on second?

#130
fyi

fyi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
Open Notepad and created a script file "MBR-XP.txt" like this:

a 118
jmp 280

a 280
rep movsb
mov byte ptr [7be],0
mov byte ptr [7ce],80
mov byte ptr [7de],0
mov byte ptr [7ee],0
retf

e 2be 80
e 2ce 0
e 2de 0
e 2ee 0

w
q
(append at lease one blank line)

Open Notepad and created a script file "MBR-OSX.txt" like this:

a 118
rep movsb
retf

f 280 l20 0

e 2be 80
e 2ce 0
e 2de 0
e 2ee 0

w
q
(append at lease one blank line)

In the above example, Mac OSX86 is the first partition and Windows is second.

The hard part is to handle DskProbe. Run it with care.

BTW, this method only works with dual booting on generic PC, not Mac.

#131
Boopop

Boopop

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
Is there actually a way to install OSX on a preprepared partition? Last time I did it, it wiped the whole hard disk. I think the closest thing to "leave partition" i could get on the OSX partition manager was "Free space", although I can't remember.... :whistle:

EDIT: Also, I tend to use Acronis Disk Suite for my Dual boot. It's installed and configured via windows XP which I use a lot more than OSX. Added to this I know how to get back to windows with the WindowsXP disc if anything goes wrong, with the mbr or boot order.

Scripts and such scare me >.< Normally I just copy and paste and edit things a little, so this is much easier for me.

#132
RAF2

RAF2

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Hi,

Nice tutorial. :)

Is it possible to have such one using GRUB? Maybe by editing Grub's menu.lst? I tried with several commands, but it doesn't work, GRUB doesn't load the MacOS X boot system. :/

So, I'm using Windows + chain0 method.

#133
RAF2

RAF2

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

Is there actually a way to install OSX on a preprepared partition? Last time I did it, it wiped the whole hard disk. I think the closest thing to "leave partition" i could get on the OSX partition manager was "Free space", although I can't remember.... :)

EDIT: Also, I tend to use Acronis Disk Suite for my Dual boot. It's installed and configured via windows XP which I use a lot more than OSX. Added to this I know how to get back to windows with the WindowsXP disc if anything goes wrong, with the mbr or boot order.

Scripts and such scare me >.< Normally I just copy and paste and edit things a little, so this is much easier for me.



You could use a dedicated partitioning tool (Partition Magic 8, for example) to make a Mac OS X partition and format it as FAT32 (which Mac OS X can read), then during the installation you select this partition to have the system installed. :graduated:

#134
fyi

fyi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
To explain the Debug patch scripts I made, "MBR-XP.txt", for example:

a 118 ; tell Debug to start assembly codes at 0x118
jmp 280

To make more room for the necessary codes, I move two instructions starting at 0x118 (3 bytes) to 0x280.

a 280 ; tell Debug to start assembly codes at 0x280
rep movsb ; code moved from 0x118
mov byte ptr [7be],80 ; modify the partition table in memory
mov byte ptr [7ce],0
mov byte ptr [7de],0
mov byte ptr [7ee],0
retf ; code moved from 0x11a

I then insert four "mov" instructions to force the first partition entry as "active (80)" and clear the rest. The partition table is modified in memory, not physically, so this is why the first partition (WinXP) is always loaded.

e 2be 0
e 2ce 80 ; physically set second partition active to fool OSX86
e 2de 0
e 2ee 0

Because "Sector00.dsk" is going to physically replace the MBR in the harddrive, to let Mac OSX86 resided in second partition think that it's the "active" partition, I mark the second partition entry (0x2ce) as "active (80)." The OSX86's bootloader shall see this when it reloads the MBR.

To apply the trick, for example, to boot Mac OSX86 in the second partition, I modify "MBR-OSX.dsk"; restore the original codes at 0x118 and mark the second entry (0x2ce) as "active (80)." When NTLDR loads "MBR-OSX.dsk", the process is very similar to BIOS boots.

To boot the third partition, simply make a copy of "MBR-OSX.txt"; put an "80" at "0x2de" and reset the others. I'm not sure if this worked with Linux because OSX86 already became the active partition in the MBR.

#135
dmfunk

dmfunk

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Hello people who know much more than me in regards to dual booting.

I have a question that has been bugging the {censored} out of me. If I were to buy a Macbook/Macbook pro, would I be able to install windows on an external hard drive (usb/firewire) and boot from it (using bootcamp I assume) whenever I wanted to use my xp apps? If so, how? If not, why? If I'm posting this in the wrong place, tell me?

#136
willgonz

willgonz

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
Here's what I am looking for:
I have OS X and other OSes on other drives. I would like to use a boot manager that will just boot the drive. Sort of like the one that some bioses use. I would like to boot from a USB thumb drive by default as set in my BIOS. The boot menu will reside on the thumb drive and not install stuff on the drive partitions.

Any ideas/recommendations?

#137
fyi

fyi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
The best multi-boot solution, Free Partition Manager - SPFDisk.

#138
writedoc

writedoc

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I'm having problems getting my OS X 10.4.6 booting properly. Here's what I've done:

1. Using the GParted program, I created 12.5gigs of unallocated space and parititoned it with the primary tag.
2. Loaded up the 10.4.6 DVD, formatted the partitioned space with the Erase option off of the DVD installer, and installed, choosing the patches in the customize option.
3. At this point, I would try to restart my computer, and get an "Error loading operating system." However, I got past this by reinstalling windows XP again.
4. I then got the chain0 thing, and editted my boot.ini properly.
5. Restart, up comes the two options. Choosing XP boots it up perfectly. When I choose Mac OS X, it starts loading a bunch of stuff, goes black for a split second, and an "unresolved kernel trap" and a panic thing happens, and everything just pauses (i have to push the power button on the comp in in order to turn it off and restart)

The error message I get at this point contains a cpu0 caller 0x0019C352, CPU 0, Type 0=divide error.

So far, I haven't been able to find a fix for it (or any Google results that pop up are in some foreign language I don't understand).

Right now, I'm trying to reinstall again on a newly partitioned space with more space, but I don't have much hope, hehe.

Anyone know a fix for this?

I'm running a Dell Dimension XPS Gen 5, with 2 gigs of RAM. I have 150GB harddrive with about 20 gigs of free space (not including the 17 gigs i allocated for the OSX).

Any help is appreciated :)

#139
Nalgon

Nalgon

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Hi Lads, a noob here and after reading loads of ways to dual booting I decide to choose the chain0 way.
This is what I did:

copy chain0 to c:
edit the boot.ini adding the c:\CHAIN0="Apple Mac OS X x86"
reboot

Sorted, I got the dual boot and test it a few times yaiiii :D , that was last night. Today woke up turn on pc and wadaaa
surprise mate, no boot menu instead a blo :censored2: message saying:

Boot from CD:
Disk Boot Failure, Insert System Disk And Press Enter

WTF :censored2: happen here?????

So, After thinking a bit :idea: I decided to boot with the macos intall dvd and it loaded the macos.
Tried the same with the XP install cd and no luck there. :censored2:

So if ne got ne ideas on how to fix this issue they're more than welcome.

I'm using macos 10.4.1 Marklar installation dvd

Now I have some other issues here.

2. Trying to reboot mac os and it hangs up, no rebooting here, only way with reset button, I tried to fix the
mach_kernel with hex workshop changing the offset 0x8d2b8 with b0fee664, but then I "late" read that this
fix is for 10.4.4 so it didn't work.

3. Trying to update to 10.4.3 and because I can't reboot, after installing the update it requires to reboot so it just hangs up
and after the "reset button" it says macos 10.4.1, so I don't know if I'm doing something wrong.

4. Got the 10.4.5 update myzar or something like that and the jas 10.4.6 but don't know how to install it yet I just read that you cant install 10.4.6 direct from 10.4.1 to 10.4.6,
haven't found a tut yet, and with the reboot issue well I think I'll happen the same.

My system specs
MOBO: Abit AI7
Procesor: Pentium 4 3.2gh (ss2 i believe hehe havent found out yet, as soon as able to boot xp I'll find out, but macos says ss2)
VC: ASUS ATI 9800xt 256(agp)
Ram: Corsair 512
HD1: WD 160gb SATA (XP)
HD2: Maxtor 20gb ATA (MACOSx)10.4.1
HD3: WD 160gb SATA (files)
DVD-RW: Lite-On 16x 4x
Mouse: Logitech MX900 bluetooth
Keyboard: HP

If ne 1 can put me In the correct path to find patches and solutions for this issues & hardware you'll be a legend. :sorcerer:

Cheers Lads

#140
fyi

fyi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
SPFDisk is compatible with 32-bit Windows, Linux, FreeBSD and Mac OS X. Why are you still struggling with chain0? First of all, make sure the OSX is working properly while HFS+ partition set active and then continue to install SPFDisk Boot Manager into MBR.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy