![]() |
|
#1
|
|||
|
|||
Chameleon will not boot Vista on EFI
Hi, I'm new to OSx86, but I think I am close to a working installation.
At the moment, my setup consists of the following:
I can boot fine to both Vista and OS X through my USB stick, which has Chameleon 2rc4 and the OS X installer installed on it. When I install Chameleon to my hard drive though, the computer will just try to boot into windows, but will fail in doing so. By removing the boot flag from the first partition, I managed to get Chameleon working, and I could then get into Snow Leopard, but Windows then complained of a missing or corrupt winload.exe. I decided to go back to the vista bootloader for now with the first partition set as bootable. It seems that since windows is complaining about '\Windows\system32\winload.exe', that it is unable to load its filesystem. Does Chameleon somehow affect the windows boot environment? Do I need to add extra options to my com.apple.boot.plist file to get it to function? I've looked through a lot of articles on this on Google, but they all have either a different set up, or suggest things that are temperamental and could brick my laptop. Any suggestions? I would like to avoid using the windows bootloader if at all possible. Thanks |
#2
|
|||
|
|||
Solution!
I just found out the reason why this happens and how to fix it. The Windows Vista bootloader has a special 'disk signature' at position 000001bc on the disk. This is so that if you move hard drives around, Vista will still boot properly by selecting the disk with this signature. One solution proposed by a site I found was to stop Windows using this:
Code:
BCDEDIT /set {bootmgr} device boot BCDEDIT /set {default} device boot BCDEDIT /set {default} osdevice boot ![]() Solution So, to get vista, 7, etc working, simply get boot0 ready, and use the following to install it: Code:
sudo dd if=/path/to/boot0 of=/dev/rdisk0 bs=436 count=1 The only problem is that when I boot, since I have to boot from my recovery partition, chameleon shows it as an unidentified hard disk, and i can't boot from the actual windows icon, but I should be able to sort that out. Does anyone know how to hide partition in com.apple.boot.plist, and how to add additional partition type images? The recover partition is type 1c, which isn't associated with anything else, and I'd like to give it the windows icon. |