Chameleon > General Discussion

"Error loading operating system"?

(1/3) > >>

rcfa:
I had to reinstall Chameleon on the EFI partition because I was playing around with XP.

Now, I get "error loading operating system". The system boots fine, however, using my custom boot-132 CD, as is evidenced by me writing this on the machine in question.

What's causing this error message? Also, we really need a "fix Chameleon install" script. Reinstalling Chameleon wipes out the EFI partition and requires all kexts to be copied over again, the boot.plist to be edited again, etc. when all that's needed would be the Chameleon equivalent of blessing the disk properly again.

I can't think of what would be different now as compared to yesterday when things worked just fine.

Also, to avoid future issues like these, what's the best way to create an image of the EFI partition that can be written back exactly as it was? Might save some hassle in the future...

rocksteady:

--- Quote from: rcfa on May 09, 2009, 04:37:40 AM ---I had to reinstall Chameleon on the EFI partition because I was playing around with XP...

Now, I get "error loading operating system"...
What's causing this error message?
--- End quote ---
what partition scheme are you using? guid/mbr?

rcfa:

--- Quote from: rocksteady on May 09, 2009, 10:53:41 PM ---
--- Quote from: rcfa on May 09, 2009, 04:37:40 AM ---I had to reinstall Chameleon on the EFI partition because I was playing around with XP...

Now, I get "error loading operating system"...
What's causing this error message?
--- End quote ---
what partition scheme are you using? guid/mbr?

--- End quote ---

GUID/MBR hybrid, i.e. GUID set up by Apple's DiskUtility. That hasn't changed, neither should there have been any changes in the Mac OS X partition.

So all I can think is that some boot blocks got messed with, and that reinstalling Chameleon does not properly rewrite them. The OS X partition boots fine with a home-spun boot-132 CD, so I know the OS itself is bootable and working (there's only a small subset of the required kexts on the CD).

I know somewhere in the vast expanse of the internet I read something about what boot blocks need to be written where to get things to boot where someone had an issue dual booting, but I don't seem to be able to find that post again, not do I remember on which site it was...

Ronald

rocksteady:
hmm not sure if i got you right...

are we talking about the same HD but different partitions?
or different HDs?

XP doesn't like GUID and iirc, you could hack your way with a util (gptsync) but i've 'm not sure no idea if it's reliable or not

in any case re-installing boot0/boot1h should fix that, did you try?

--- Code: ---sudo fdisk -f boot0 -u -y /dev/rdisk0
sudo dd if=boot1h of=/dev/rdisk0s2
--- End code ---

best way is to chose different HDs for different OSes, you might find MacGirl's solution interesting (among others)

rcfa:

--- Quote from: rocksteady on May 09, 2009, 11:53:28 PM ---XP doesn't like GUID and iirc, you could hack your way with a util (gptsync) but i've 'm not sure no idea if it's reliable or not

--- End quote ---

I'm aware of that, which is why I'm playing around to find a way to get it to work.
Have to figure out how to reorder existing partitions in the guid and mbr partition tables, since there's some evidence that XP will properly boot on the fourth partition, now it's on the third.


--- Quote from: rocksteady on May 09, 2009, 11:53:28 PM ---in any case re-installing boot0/boot1h should fix that, did you try?

--- Code: ---sudo fdisk -f boot0 -u -y /dev/rdisk0
sudo dd if=boot1h of=/dev/rdisk0s2
--- End code ---

--- End quote ---

Thanks, that were exactly the lines I was looking for. I cd-ed into /usr/standalone/i386/ first, or do these commands magically know where to get the files from?

I wish Chameleon would do this when it's being (re)installed. Is that a bug, oversight, or is there a good reason for that not being part of the Chameleon postinstall scripts?


--- Quote from: rocksteady on May 09, 2009, 11:53:28 PM ---best way is to chose different HDs for different OSes, you might find MacGirl's solution interesting (among others)

--- End quote ---

I'm aware of some of these, but since I'm working with a EeePC 1000HE netbook (although upgraded with a 500GB harddisk), more than one drive isn't an option, or else I lose precisely the portability that made me buy one of these in the first place. If I want to schlepp stuff around, I could use my 15" MacBook Pro, and if/when I buy a new desktop, it's highly-likely going to be a Mac, too, for a whole bunch of reasons.
So the hackintosh approach is for my purposes interesting where Apple has no offerings. I may think of a Atom330/ION/4GB+ nettop setup once such a machine is available. Would be the ideal low-power home server....

Ronald

Navigation

[0] Message Index

[#] Next page

Go to full version