overdue-scratch

Author Topic: EPIC - Easy Preboot 132 ISO-Creator for Chameleon  (Read 10253 times)

0 Members and 1 Guest are viewing this topic.

nameless2k

  • Observer
  • Posts: 12
  • Individualism is a mass psychosis
    • Incomplete-News.com
EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« on: August 28, 2009, 02:00:40 PM »
sorry removed for the moment due to issues. "I'll be back"
« Last Edit: September 02, 2009, 10:36:03 PM by nameless2k »
<b>1st. rig: Testing environment:</b> EP35-DS3 | nVidia GeForce 7600 GT | HP w2207 | HP w2207h (prevents sleep from working) | SAMSUNG SP2504C | TimeMachine | Chameleon RC1 (I am a bit conservative ;-) | 10.5.8
<b>2nd. rig: Production:</b>MacBook Pro 15" (2007)

Stellarola

  • Entrant
  • Posts: 4
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #1 on: August 30, 2009, 08:09:38 AM »
This is sweet, if it only worked. :P

DSDT doesn't work, theme doesn't load up. I think it'd be best to use PC EFI v10 sources and build a cdboot from that.

nameless2k

  • Observer
  • Posts: 12
  • Individualism is a mass psychosis
    • Incomplete-News.com
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #2 on: August 31, 2009, 04:46:19 PM »
- Chameleon Theme comes up for me.
- DSDT seems not to be taken into account, right

cdboot seems to have issues. do you got a pc-efi based cdboot?

Thanks for your feedback!!
<b>1st. rig: Testing environment:</b> EP35-DS3 | nVidia GeForce 7600 GT | HP w2207 | HP w2207h (prevents sleep from working) | SAMSUNG SP2504C | TimeMachine | Chameleon RC1 (I am a bit conservative ;-) | 10.5.8
<b>2nd. rig: Production:</b>MacBook Pro 15" (2007)

Stellarola

  • Entrant
  • Posts: 4
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #3 on: September 02, 2009, 06:05:40 AM »
- Chameleon Theme comes up for me.
- DSDT seems not to be taken into account, right

cdboot seems to have issues. do you got a pc-efi based cdboot?

Thanks for your feedback!!

Right, the Chameleon theme comes up fine because it's built into the boot file. When you try to use other themes it just doesn't work. I don't have pc-efi based cdboot. Sorry :P

-Stell

nameless2k

  • Observer
  • Posts: 12
  • Individualism is a mass psychosis
    • Incomplete-News.com
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #4 on: September 02, 2009, 12:05:29 PM »
shamelessly stolen from the insanelymac forums
(Source: http://www.ins****ymac.com/forum/index.php?showtopic=183398)

I did not test this as of yet, I just found it a minute ago and added it here for the matter of collecting everything that might be helpful  ;D

Quote from: home000000
hi

I think that this is the first boot-efi for DVD for SNOW with DSDT.aml overwrite file inside ram drive ...
to work there is a small change in boot-efi-10.1 to allow reading DSDT.aml from ram disk... since you have to swap disks ...

for now I tested it only until the SNOW OS Install is loaded ... the boot-132 if only for GIGABYTE EP45-UD3/R

Thanks


----- the boot-132 install is not yet working well -- need to find the right kexts --- the boot part is OK ...

----- the change in code ----

sprintf(dirspec,"bt(0,0)/Extra/%s",dsdt_filename);
fd=open (dirspec,0);
if (fd<0)
{
sprintf(dirspec,"rd(0,0)/Extra/%s",dsdt_filename);
fd=open (dirspec,0);
if (fd<0)
{
verbose ("No DSDT replacement found. Leaving ACPI data as is\n");
return setupAcpiNoMod();
}
}
}
« Last Edit: September 02, 2009, 12:09:27 PM by nameless2k »
<b>1st. rig: Testing environment:</b> EP35-DS3 | nVidia GeForce 7600 GT | HP w2207 | HP w2207h (prevents sleep from working) | SAMSUNG SP2504C | TimeMachine | Chameleon RC1 (I am a bit conservative ;-) | 10.5.8
<b>2nd. rig: Production:</b>MacBook Pro 15" (2007)

zef

  • Administrator
  • Posts: 265
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #5 on: September 02, 2009, 12:36:30 PM »
Guys, how about to use the DSDT option in Preboot.dmg's Extra/com.apple.Boot.plist and add the key which points to "rd(0,0)/Extra/DSDT.aml" for example?

... you don't even need to change a single line of code :)
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

nameless2k

  • Observer
  • Posts: 12
  • Individualism is a mass psychosis
    • Incomplete-News.com
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #6 on: September 02, 2009, 10:30:27 PM »
lol, it seems there a still quite a bunch of issues with my uberscript.

Thanks for your feedback, though  ;D

"I'll be back"
<b>1st. rig: Testing environment:</b> EP35-DS3 | nVidia GeForce 7600 GT | HP w2207 | HP w2207h (prevents sleep from working) | SAMSUNG SP2504C | TimeMachine | Chameleon RC1 (I am a bit conservative ;-) | 10.5.8
<b>2nd. rig: Production:</b>MacBook Pro 15" (2007)

Stellarola

  • Entrant
  • Posts: 4
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #7 on: September 03, 2009, 01:56:09 AM »
lol, it seems there a still quite a bunch of issues with my uberscript.

Thanks for your feedback, though  ;D

"I'll be back"

Please do, I'm quite curious to how this turns out. :)

nameless2k

  • Observer
  • Posts: 12
  • Individualism is a mass psychosis
    • Incomplete-News.com
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #8 on: September 03, 2009, 04:46:38 PM »
status:
- custom theme gets loaded (with crazy errors in advance)
- retail disk gets booted and kp's cause no dsdt.aml
- dsdt.aml still ignored, no matter if put it to
-- /Extra/
-- /Extra/Preboot.dmg/Extra/
 
Tips that would save me a systematic trial and error procedure are highly appreciated  ::)
<b>1st. rig: Testing environment:</b> EP35-DS3 | nVidia GeForce 7600 GT | HP w2207 | HP w2207h (prevents sleep from working) | SAMSUNG SP2504C | TimeMachine | Chameleon RC1 (I am a bit conservative ;-) | 10.5.8
<b>2nd. rig: Production:</b>MacBook Pro 15" (2007)

zef

  • Administrator
  • Posts: 265
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #9 on: September 03, 2009, 09:28:09 PM »
status:
- custom theme gets loaded (with crazy errors in advance)
- retail disk gets booted and kp's cause no dsdt.aml
- dsdt.aml still ignored, no matter if put it to
-- /Extra/
-- /Extra/Preboot.dmg/Extra/
 
Tips that would save me a systematic trial and error procedure are highly appreciated  ::)


You may try this what i suggested 234 posts above:
Quote
Guys, how about to use the DSDT option in Preboot.dmg's Extra/com.apple.Boot.plist and add the key which points to "rd(0,0)/Extra/DSDT.aml" for example?

ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

nameless2k

  • Observer
  • Posts: 12
  • Individualism is a mass psychosis
    • Incomplete-News.com
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #10 on: September 04, 2009, 12:12:06 AM »
Quote from: Zef
Guys, how about to use the DSDT option in Preboot.dmg's Extra/com.apple.Boot.plist and add the key which points to "rd(0,0)/Extra/DSDT.aml" for example?
oh sorry didn't answer directly: does not work either.

To be honest: I checked many combinations of this game called what-goes-where. And I feel your suggestion to put a modified com.apple.Boot.plist into the Preboot's dmg does not make a difference, since the Preboot's Extra/plist seems not to be taken into account at all while initialization.


The magic question is: what goes where? Is this structure correct? According to Sonotone's posting here: the CD structure should be correct like below. According to your posting above: the Preboot.dmg structure should be corret like below. So what is it what I am not seeing here?

CD
/cdboot
/Extra/com.apple.Boot.plist  <- *1
/Extra/Themes
/Extra/Preboot.dmg

Preboot.dmg
/Extra/DSDT.aml
/Extra/com.apple.Boot.plist <- *2
/Extra/Extensions.mkext
 

*1: does the first com.apple.Boot.plist contain those values like:
-- <key>Kernel</key>
-- <key>Rescan Prompt</key>

*2: what is the difference between the second com.apple.Boot.plist (in the ramdisk) to the first?

Notes:
- if I don't supply the first com.apple.Boot.plist: disk will not boot at all
- if I supply both com.apple.Boot.plist : I receive ebios read error: error 0x01 and parse error, but system uses themes and does boot, but it does not use dsdt.aml (and I feel it does not use Preboot's Extensions.mkext either, since KP appleintelcpupowermanagement occurs which should not because of nullcpupowermanagement.kext)

Thanks and kudos, gotta go to bed...
« Last Edit: September 04, 2009, 12:23:07 AM by nameless2k »
<b>1st. rig: Testing environment:</b> EP35-DS3 | nVidia GeForce 7600 GT | HP w2207 | HP w2207h (prevents sleep from working) | SAMSUNG SP2504C | TimeMachine | Chameleon RC1 (I am a bit conservative ;-) | 10.5.8
<b>2nd. rig: Production:</b>MacBook Pro 15" (2007)

zef

  • Administrator
  • Posts: 265
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #11 on: September 04, 2009, 01:51:39 AM »
Quote from: nameless2k

To be honest: I checked many combinations of this game called what-goes-where. And I feel your suggestion to put a modified com.apple.Boot.plist into the Preboot's dmg does not make a difference, since the Preboot's Extra/plist seems not to be taken into account at all while initialization.


Since RC2, we can override the default boot.plist config using another possible boot.plist in the following search order:

Code: [Select]
"rd(0,0)/Extra/com.apple.Boot.plist",
"/Library/Preferences/SystemConfiguration/com.apple.Boot.plist",
"/com.apple.boot.P/Library/Preferences/SystemConfiguration/com.apple.Boot.plist",
"/com.apple.boot.R/Library/Preferences/SystemConfiguration/com.apple.Boot.plist",
"/com.apple.boot.S/Library/Preferences/SystemConfiguration/com.apple.Boot.plist"

All starting "/" means here is the selected partition.

The override will takes place after the booter started and after pressed enter to start the boot process.

So the purpose of this all is to able to put your bootloader and os related defaults to CD/Extra/com.apple.Boot.plist and put all your custom DSDT.aml, custom kernels, kexts to your Preboot.dmg.

Sure, you need to reference these ramdisk related custom files via Preboot.dmg/Extra/com.apple.Boot.plist with their corressponding keys like "DSDT" "Kernel". You can override any default values in this place, just give a try by using a different "Graphics Mode" setting in the Preboot.dmg's boot.plist.

Regarding the parse errors, you can get it with broken xml plist files.
« Last Edit: September 04, 2009, 02:01:27 AM by zef »
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

nameless2k

  • Observer
  • Posts: 12
  • Individualism is a mass psychosis
    • Incomplete-News.com
Re: EPIC - Easy Preboot 132 ISO-Creator for Chameleon
« Reply #12 on: September 05, 2009, 01:36:03 AM »
Thanks for your replies. There are still issues that I feel, you might be the only one to explain. I am now using cdboot from RC2.

What I've done:
1. put this com.apple.Boot.plist to /Extra/com.apple.Boot.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Kernel</key>
   <string>mach_kernel</string>
   <key>Kernel Flags</key>
   <string>-v</string>
   <key>Timeout</key>
   <string>600</string>   
   <key>Rescan Prompt</key>
   <string>yes</string>
</dict>
</plist>

2. put this com.apple.Boot.plist to /Extra folder in the mounted Preboot.dmg
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>DSDT</key>
   <string>rd(0,0)/Extra/DSDT.aml</string>
</dict>
</plist>

3. what happens
- burn disk and start composter with it
- 4 x ebios errors occur
- EBIOS read error: Error 0x01 
- Block 13040 Sectors 64
- I suspect this error coming from the /Extra/com.apple.Boot.plist because they appear BEFORE the Rescan Prompt is displayed
- and: even when I make the com.apple.Boot.plist XML1 conform by: plutil -convert xml1 com.apple.Boot.plist the errors still occur.
- "no ramdisk config" is displayed - what's that supposed to mean?
- after errors I can hit enter to get into Chameleon's GUI
- in GUI: I hit F8
- then change disks to Snow Leo Retail
- wait a couple of secs for the drive to stop spinning
- and hit ESC
- the disk is still epic_preboot and not Mac OS X Install
- and if I hit ENTER "Can't find mach_kernel" and get thrown back to GUI

hints?

Kudos, and ggtb...
<b>1st. rig: Testing environment:</b> EP35-DS3 | nVidia GeForce 7600 GT | HP w2207 | HP w2207h (prevents sleep from working) | SAMSUNG SP2504C | TimeMachine | Chameleon RC1 (I am a bit conservative ;-) | 10.5.8
<b>2nd. rig: Production:</b>MacBook Pro 15" (2007)