Mac OS X Development Development and discussion on the latest hackintosh drivers and methods.

Reply
 
Thread Tools Display Modes
  (#1) Old
holmes4 holmes4 is offline
Administrator
 
holmes4's Avatar
 
Posts: 6,185
Join Date: Nov 2008
Location: New Hampshire
Default Chameleon install corrupts EasyBCD dual boot - 12-26-2009, 11:15 PM

This was mentioned in passing in the NBI development thread, but I'm putting it here for further discussion.

As several of us have noted, if you run NBI and ask it to (re)install Chameleon, then if you had been using EasyBCD to do the boot select you're greeted with this when you try to reboot Mac OS:

Windows failed to start...

File: \NST\nst_mac.mbr
Status: 0xc000000e
Info: The selected entry could not be loaded because the application is missing or corrupt.

A similar message greets you if you try to boot Windows. Running the Windows "repair" allows you to boot into Windows and then you can rerun EasyBCD and fix up the entries.

It would be nice if this annoyance could be avoided in the future.

---------- Post added at 06:15 PM ---------- Previous post was at 05:20 PM ----------

A sidenote - I decided to see if I could put the Windows recovery CD on a bootable USB stick and use that. Well, yes, I could, but when it does the repair it evidently decides to write the MBR to the USB stick - or something like that - so that the USB stick is required in order to boot at all. Not what I had in mind....


Steve
Mini 9|2GB RAM|64GB RunCore|Intel 5300|Windows 10
Reply With Quote
  (#2) Old
dude245 dude245 is offline
Member
 
Posts: 62
Join Date: Dec 2009
Location: Canada
Default 12-27-2009, 01:16 AM

Just boot into the w7 install disk, selct your windows partiton,make it active, repair my computer, restart, select partition 3 (or 4), mark as active. Chemilion should be able to boot both


Sharing is Caring!
Reply With Quote
  (#3) Old
mechdrew mechdrew is offline
Super Moderator
 
mechdrew's Avatar
 
Posts: 1,356
Join Date: Jan 2009
Location: Idaho
Send a message via AIM to mechdrew
Default 12-27-2009, 03:05 AM

It's not just EasyBCD, I use Chameleon alone and can't get my install to repair with the DVD. (And I found out about the nasty little USB boot thing.) I'm trying to figure this out myself. At least my XP still works...


Dell Mini 10v | Mac OS X 10.6.2 | XP Home | Windows 7 Home | 2GB RAM | 160GB HDD | BIOS A05 | USB Legacy: ON | USB Wake: ON | BT: None | NBI 0.8.3 Final
http://osx.mechdrew.com - News and Guides for Installing Mac OS X via NetbookInstaller - Now on Twitter

Reply With Quote
  (#4) Old
minimalpc minimalpc is offline
Expert Member
 
Posts: 560
Join Date: Dec 2009
Default 12-27-2009, 07:46 AM

Quote:
Originally Posted by holmes4 View Post
A sidenote - I decided to see if I could put the Windows recovery CD on a bootable USB stick and use that. Well, yes, I could, but when it does the repair it evidently decides to write the MBR to the USB stick - or something like that - so that the USB stick is required in order to boot at all. Not what I had in mind....
When that happens, you can fix the USB stick by renaming \boot\BCD.backup.001 to \boot\BCD. Doing the repair again will get Windows booting again. If you remove the stick after you click "repair" but before you click to confirm, I think it will keep the USB stick from getting screwed up.

I think it would be instructive to try to manually fix Windows through the repair console by running fixboot. If that doesn't work, then fixmbr. I believe the automated repair is doing one or both of those and knowing which one works will help diagnose what Chameleon is doing that causes the issue in the first place.

---------- Post added at 01:46 AM ---------- Previous post was at 01:44 AM ----------

Quote:
Originally Posted by mechdrew View Post
It's not just EasyBCD, I use Chameleon alone and can't get my install to repair with the DVD. (And I found out about the nasty little USB boot thing.) I'm trying to figure this out myself. At least my XP still works...
FWIW, if Windows diskpart is saying something about operation not being permitted on a non-fixed HDD, you need to run gptsync again. Been there, done that.


Dell Mini 10v | Mac OS X 10.6.2 | Windows 7 Professional | Ubuntu Netbook Remix 9.10 | 1GB RAM | 160GB HDD | BIOS A05 | USB Legacy: OFF | USB Wake: OFF | BT: Enabled (self-installed BCM2046) | NBI 0.8.3 final
Reply With Quote
  (#5) Old
mechdrew mechdrew is offline
Super Moderator
 
mechdrew's Avatar
 
Posts: 1,356
Join Date: Jan 2009
Location: Idaho
Send a message via AIM to mechdrew
Default 12-27-2009, 07:58 AM

Quote:
Originally Posted by minimalpc View Post
FWIW, if Windows diskpart is saying something about operation not being permitted on a non-fixed HDD, you need to run gptsync again. Been there, done that.
That'd be great, except I'm not running on GUID. I'm MBR all the way, baby!

EDIT: Found the fix. It was stupid.

You need to open the command prompt instead of trying to repair. Type "diskpart", then you can select your hard drive (" select disk 0") and then the Windows 7 parition ("select partition 3" for me). Make it "active" (that's the command), then minimize the window and select the repair option. Once repair is finished, make your OS X partition active (if you use Chameleon like I do, "select parition 2" and "active" in my case) by going back to the command prompt. Then restart and it should be good to go. (You can type "list" at anytime to get the numbers for the drives and the partitions.) I'm typing this from my repaired Windows 7.


Dell Mini 10v | Mac OS X 10.6.2 | XP Home | Windows 7 Home | 2GB RAM | 160GB HDD | BIOS A05 | USB Legacy: ON | USB Wake: ON | BT: None | NBI 0.8.3 Final
http://osx.mechdrew.com - News and Guides for Installing Mac OS X via NetbookInstaller - Now on Twitter

Reply With Quote
  (#6) Old
holmes4 holmes4 is offline
Administrator
 
holmes4's Avatar
 
Posts: 6,185
Join Date: Nov 2008
Location: New Hampshire
Default 12-27-2009, 01:17 PM

That's good to know - but it would be even better if there was an option or smarts in NBI to not make this necessary each time.


Steve
Mini 9|2GB RAM|64GB RunCore|Intel 5300|Windows 10
Reply With Quote
  (#7) Old
HotDog HotDog is offline
Senior Member
 
HotDog's Avatar
 
Posts: 150
Join Date: Mar 2009
Send a message via Skype™ to HotDog
Default 12-27-2009, 03:23 PM

It sounds like you guys use Windows quite a bit, and it seems like every time there is an update it requires some major gymnastics with Windows to get it running again. I've been running XP in VirtualBox over SL. Seems to be fine, is quite snappy, really, and goes along with the update flow with no problems. I finally gave up on the dual boot try mostly for the reason cited above. VB seems to be one decent answer, any may prove to be the way of the future for most OSes.


[ Dell Mini 9 | Black | A04 | NBI 20100616212351 | OS X 10.6.7 | 2GB RAM | 64GB SSD | BT | 1.3MP | WiFi ]
[ Dan-O-Cam : http://smith.soehd.csufresno.edu/ ]
Reply With Quote
  (#8) Old
holmes4 holmes4 is offline
Administrator
 
holmes4's Avatar
 
Posts: 6,185
Join Date: Nov 2008
Location: New Hampshire
Default 12-27-2009, 05:23 PM

I use Windows more than I use OS X. There are no "major gymnastics" involved - just undoing the "damage" that NBI did.


Steve
Mini 9|2GB RAM|64GB RunCore|Intel 5300|Windows 10
Reply With Quote
  (#9) Old
bsoplinger1 bsoplinger1 is offline
Expert Member
 
Posts: 692
Join Date: Mar 2009
Default 12-28-2009, 02:50 AM

The trouble is that NBI is rewriting the MBR boot partition when you choose install Chameleon. And so far each release of NBI has an updated Chameleon so you need to install Chameleon each time. This ends up wiping out the BCD info in the MBR. So you have to do the Win install disc, change partition, repair, boot, re-install EasyBCD each time. No way around it.

Perhaps NBI could get smarts added to it and not rewrite the MBR when installing Chameleon if its magic is already there. But I have idea of exactly the workings of Windows BCD and exactly what Easy BCD does and what changes end up happening to the MBR when you use it. So I have no idea if those changes make the initial boot info in the MBR that makes OS X work is in danger of being changed so would make the checking for changes even harder. (Talk about a convoluted sentence, but hopefully it conveys my meaning)

Also for the why EasyBCD vs Chameleon issue, Hibenation works consistently for Windows when you use EasyBCD and is iffy with Chameleon and only works for OS X.

This also implies a warning. Do NOT update Chameleon if you've hibernated your Windows or you will loose all that work when the MBR is updated by NBI. In case anyone didn't realize that.

And it gets all the more complicated if you're using GUID vs MBR partitioning with the fake MBR partition.


Mini1: Vostro A90, Black, 2G, 1.3 Webcam, Bluetooth, 64G SuperTalent, OS X 10.6.4
Mini2: Mini9, Black, 2G, 0.3 Webcam, Bluetooth, 32G RunCore, OS X/Win 7, internal PCI-e SHDC Reader
Mini3: Mini10v. Black, 2G, Webcam, 640G HD, OS X 10.5.8/Win 7/Ubuntu [Hibernate w/NBI 0.8.3 RC4]
Dropbox Referral
Reply With Quote
  (#10) Old
Scooter70 Scooter70 is offline
Senior Member
 
Posts: 112
Join Date: Jul 2009
Location: Metro Detroit
Default 01-01-2010, 05:16 PM

Quote:
Originally Posted by minimalpc View Post
When that happens, you can fix the USB stick by renaming \boot\BCD.backup.001 to \boot\BCD. Doing the repair again will get Windows booting again. If you remove the stick after you click "repair" but before you click to confirm, I think it will keep the USB stick from getting screwed up.
Thanks for this info. I kept having to go re-format and re-make my install drive every time the Repair killed it. I also figured out that you can make the BCD files on your USB drive read-only so that repair can't mess with them.


-=|| Mini10v | 2GB | 120GB | BT | Win7 Pro | OSX 10.6.2 ||=-
Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright © 2008-2016 MyDellMini.com.