overdue-scratch

Author Topic: Boot0: error after cham install  (Read 11994 times)

0 Members and 1 Guest are viewing this topic.

zef

  • Administrator
  • Posts: 265
Re: Boot0: error after cham install
« Reply #15 on: April 27, 2010, 03:17:17 PM »
i've done just these three commands a lot of times and it didn't work. but i've done it normally to disk0s1 - but now i've done it to disk0s2 and it didn't help. maybe there is really something wrong in the bootsector after so many tries with so different ideas and tools. (i tried everything...)

Ok, i need your mbr and both hfs partition's boot sectors:

Code: [Select]
dd if=/dev/rdisk0 of=screwedxMBR bs=512 count=1
dd if=/dev/rdisk0s1 of=screwedxs1 bs=512 count=2
dd if=/dev/rdisk0s2 of=screwedxs2 bs=512 count=2

Please attach the screwedxMBR, screwedxs1, screwedxs2 files.
 
the patching of the DVD would be no problem. as far as i know you must eliminate one line in os[xxx - don't know the right name].mpkg. is that correct? (i never could use a mbr partition to install osx after the patching)

Editing the OSInstall.mpkg doesn't work anymore in Snow Leopard, you need a modified OSInstall.framework, google for "OSInstall.framework MBR".
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

screwedx

  • Observer
  • Posts: 12
Re: Boot0: error after cham install
« Reply #16 on: April 27, 2010, 03:33:44 PM »
yeah i will sure wait. after two weeks of minimum 2 installations per day i can wait a little bit longer. ;)

Lunch, oh, where do you come from? i have now 3:30 pm, so you are not too much away...

screwedx

  • Observer
  • Posts: 12
Re: Boot0: error after cham install
« Reply #17 on: April 27, 2010, 04:52:31 PM »
ok, sorry for the long time, was on a meeting.

zef

  • Administrator
  • Posts: 265
Re: Boot0: error after cham install
« Reply #18 on: April 27, 2010, 04:59:40 PM »
Screwedx,

If you take a look at the attached screwedxs1 or screwedxs2 files they're both contain zeros which means that the boot1h code was not installed correctly. Please 'cd' to the folder where boot1h resides, then run the dd command posted above.

What output do you get after dd'ing the boot1h code?
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

screwedx

  • Observer
  • Posts: 12
Re: Boot0: error after cham install
« Reply #19 on: April 27, 2010, 05:24:43 PM »
Ok, i've been in the directory where the boot1h comes from (original Chameleon 2 rc4 folder).
when i type cat boot1h then i see the file is not empty.

so i used the 2 commands to bring back boot0 and boot1h to rdisk0 / rdisk0s2
before i did a restart i used your command and i did see the same results as before as i use the cat command.

after reboot the file is empty.

file screwedxs2 is before restart
file screwedxs2new is after restart.

zef

  • Administrator
  • Posts: 265
Re: Boot0: error after cham install
« Reply #20 on: April 27, 2010, 05:29:03 PM »
after reboot the file is empty.

file screwedxs2 is before restart
file screwedxs2new is after restart.

Really strange...
Try to boot in single user mode (type -s at the boot prompt), repeat installing boot1h, then reboot.
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

screwedx

  • Observer
  • Posts: 12
Re: Boot0: error after cham install
« Reply #21 on: April 27, 2010, 05:39:23 PM »
ok. that works. where's the difference
i want to understand what was / is there.

zef

  • Administrator
  • Posts: 265
Re: Boot0: error after cham install
« Reply #22 on: April 27, 2010, 06:20:33 PM »
ok. that works. where's the difference
i want to understand what was / is there.

No idea, maybe it can be something service which isn't loaded in single user mode. Btw i never experienced such issues when updating the HFS+ fs leading sectors.
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Boot0: error after cham install
« Reply #23 on: April 27, 2010, 07:29:50 PM »
Screwedx, after lunch lazyness caught me.. it's now 18:30 in Lusitânia ;)
I see the problem is solved.. installing in -s mode wouldn't cross my mind so soon. Really strange problem..!? i was starting to think you were not changing dir to the booter folder, before installing.
Never got such problem my self either!!
« Last Edit: April 28, 2010, 02:49:01 PM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

screwedx

  • Observer
  • Posts: 12
Re: Boot0: error after cham install
« Reply #24 on: April 30, 2010, 11:00:01 AM »
Hello zef,
i've played a little bit around to see if i can come behind the unsolved mystery.
i can now say which process kills my boot1h sector:

Everytime i umount the hfs(EFI) partition (i've mounted it to copy kext and boot) the boot1h is empty after...
so i think that's the problem. after umount i just write the boot1h again and everything is fine.

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Boot0: error after cham install
« Reply #25 on: May 07, 2010, 12:18:21 AM »
Yooh Screwedx,
how is it going? Did you go for MBR or..?
Had to test EFI partition install yesterday; refreshed my memory here (seems to me the most up to date guide) and everything went fine.. almost fell in love with it again :P But, one more time, circumstances prevailed and win7 ended up the passion. When i went to boot it after install, it started treating the partitions on the GPT HDD like if they were external ones being mounted at the moment and Autoplay kicked in. This probably has also to do with the way MacDrive works; i have it installed set to "read only" and with icon/notifications hidden, it's really just to have read access like Mac has for ntfs.
It was time to revert the situation to confirm, but how? I finally had this idea: copy/paste the EFI partition from my external USB drive with Gparted Live and that did the trick.. no more Autoplay on the GPT partitions ;)
I don't know if the EFI partition file system is ok, because gParted complained about not being able to extend the file system to the whole partition; people tend to say it's just a FAT32 file system but that's not what Apple says:
http://developer.apple.com/mac/library/technotes/tn2006/tn2166.html

Anyway, everything looks fine...
See ya later.
« Last Edit: July 12, 2010, 02:01:13 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT