2

Author Topic: Unable to Hibernate Windows7 as OSX partition is ACTIVE  (Read 18644 times)

0 Members and 1 Guest are viewing this topic.

HNVIJAY

  • Observer
  • Posts: 16
Unable to Hibernate Windows7 as OSX partition is ACTIVE
« on: June 04, 2010, 03:34:52 PM »
I have installed Snowleopard 10.6.3 on my Netbook Asus EeePC 1201N.
Its a dual boot MBR partition. I am using Chameleon Boot loader 2.0 rc4 to boot the OS.
First primary  partition is Windows 7(NTFS) and the third primary partition is OSX and this partition is flagged as ACTIVE. 

Windows 7  expects its partition to be ACTIVE for Hibernation to work.
Chameleon bootloader also expects its partition to be ACTIVE.

Is there a workaround or Can I install Chamelon on windows partition?


« Last Edit: June 17, 2010, 06:46:56 PM by HNVIJAY »
ASUS EeePC 1201N [ BIOS 0326 ] | Intel Atom 330, Dual Core | NVIDIA ION [GeForce 9400M (MCP79)] | 4GB CORSAIR PC2-6400 |500GB HDD  -> | Triple Boot MBR | Chameleon 2.0 RC5 r168 | Windows 7 Home Premium 32bit | SL 10.7.2 X86_64 | Ubuntu 12.04 x86_64 | <-

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #1 on: June 05, 2010, 12:53:08 AM »
Hi,

Have a look here for a discussion of the problem and a fix that will hopefully make it into the next RC.
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

HNVIJAY

  • Observer
  • Posts: 16
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #2 on: June 05, 2010, 08:40:43 PM »
Hi R0m30,

Thanks for the quick reply. Can I get access to the boot0 patch or should I have to wait till RC5 is released.
ASUS EeePC 1201N [ BIOS 0326 ] | Intel Atom 330, Dual Core | NVIDIA ION [GeForce 9400M (MCP79)] | 4GB CORSAIR PC2-6400 |500GB HDD  -> | Triple Boot MBR | Chameleon 2.0 RC5 r168 | Windows 7 Home Premium 32bit | SL 10.7.2 X86_64 | Ubuntu 12.04 x86_64 | <-

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #3 on: June 06, 2010, 08:05:11 AM »
If you look at reply #6 on the thread Blackosx has attached the new boot0 to the thread.
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

HNVIJAY

  • Observer
  • Posts: 16
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #4 on: June 07, 2010, 11:30:23 AM »
With this boot0 patch, Hibernation works fine on Windows 7. Thanks r0m30.

Other issue(s) with ACTIVE flag set.

Looks like Chameleon checks for  ACTIVE partition at other places and they do not work as advertized with this boot0 fix.
One of the case is, if the ACTIVE flag is NOT set to OSX(HFS+) partition, custom Themes(/Extra/Themes) DO NOT work  even though you have entry for themes in /Extra/com.apple.Boot.plist file and it reverts back to Default. 

The same fix can be applied in this case.
« Last Edit: June 07, 2010, 02:37:23 PM by HNVIJAY »
ASUS EeePC 1201N [ BIOS 0326 ] | Intel Atom 330, Dual Core | NVIDIA ION [GeForce 9400M (MCP79)] | 4GB CORSAIR PC2-6400 |500GB HDD  -> | Triple Boot MBR | Chameleon 2.0 RC5 r168 | Windows 7 Home Premium 32bit | SL 10.7.2 X86_64 | Ubuntu 12.04 x86_64 | <-

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #5 on: June 09, 2010, 03:04:08 AM »
@HNVIJAY, try using the latest trunk.. that boot0 @r0m30 pointed is a bit outdated; there were also some changes regarding themes on the trunk since then. If you don't know how to checkout the source and compile, check my Mediafire. Please note that the file is called "boot0hfs"... what it does is look for a hfs partition instead of looking for a Active one, as "boot0" does.
« Last Edit: June 09, 2010, 02:55:16 PM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

HNVIJAY

  • Observer
  • Posts: 16
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #6 on: June 10, 2010, 10:57:00 PM »
@Azimutz, tried the precompiled binary of the latest trunk from the mediafire link. With boot0hfs, there is NO  GUI at all :( .
I could boot through the CLI to windows and also OSX.

I also tried replacing  boot1h and the boot files with the same result.

Am I missing something?
ASUS EeePC 1201N [ BIOS 0326 ] | Intel Atom 330, Dual Core | NVIDIA ION [GeForce 9400M (MCP79)] | 4GB CORSAIR PC2-6400 |500GB HDD  -> | Triple Boot MBR | Chameleon 2.0 RC5 r168 | Windows 7 Home Premium 32bit | SL 10.7.2 X86_64 | Ubuntu 12.04 x86_64 | <-

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #7 on: June 11, 2010, 10:59:30 AM »
The next version of Chameleon, RC5, can be built with or without an embedded theme. You can easily tell the difference by looking at the file size as without an embedded theme it will be around 180K.

But regardless of what type of build you are using (embedded or not), you can still direct it to use a theme by adding the following boot option to the com.apple.Boot.plist
Code: [Select]
<key>Theme</key>
<string>name_of_theme</string>

And replacing 'name_of_theme' with the name of the folder containing the theme which will be in the /Extra/Themes/ folder.
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

zef

  • Administrator
  • Posts: 265
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #8 on: June 11, 2010, 11:54:16 AM »
@Azimutz, tried the precompiled binary of the latest trunk from the mediafire link. With boot0hfs, there is NO  GUI at all :( .
I could boot through the CLI to windows and also OSX.

I also tried replacing  boot1h and the boot files with the same result.

Am I missing something?

If you would like to embed the default theme resources, build the project with "make embedtheme".
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

HNVIJAY

  • Observer
  • Posts: 16
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #9 on: June 11, 2010, 12:05:47 PM »
Code: [Select]
<key>Theme</key>
<string>My_theme</string>
I have these entries for the theme inside /Extra/com.apple.Boot.plist and themes directory /Extra/Themes/My_theme.
Custom theme works only if the OSX partition is ACTIVE with the boot0 patch.

What I am using is built with embedded theme and they are precomplied, the size is around
1.1MB for  Chameleon-2.0-RC4-r684-bin
1.04MB for Chameleon-2.0-RC5-r168-bin

@zef, building the project with "make embedtheme"  may be a workaround. The actua issue is custom themes are not working.
ASUS EeePC 1201N [ BIOS 0326 ] | Intel Atom 330, Dual Core | NVIDIA ION [GeForce 9400M (MCP79)] | 4GB CORSAIR PC2-6400 |500GB HDD  -> | Triple Boot MBR | Chameleon 2.0 RC5 r168 | Windows 7 Home Premium 32bit | SL 10.7.2 X86_64 | Ubuntu 12.04 x86_64 | <-

zef

  • Administrator
  • Posts: 265
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #10 on: June 11, 2010, 12:18:34 PM »
@zef, building the project with "make embedtheme"  may be a workaround. The actua issue is custom themes are not working.

Strange, I was able to use a custom theme both with the embedded and non-embedded builds. True, i didn't test with the active win7 partition layout. The todo is growing ;)
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC

HNVIJAY

  • Observer
  • Posts: 16
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #11 on: June 11, 2010, 02:06:36 PM »
Quote
Strange, I was able to use a custom theme both with the embedded and non-embedded builds. True, i didn't test with the active win7 partition layout. The todo is growing ;)

Infact, I tried multiple combinations with/without setting HFS as ACTIVE without any success,
boot1h and boot of Rc4 with boot0 of Rc5 and viceversa. 
boot0hfs instead of boot0
If I use boot0hfs, there is no GUI boot.

And most of the time I had restore the win 7.

Any idea why Windows 7 requires its partiton to be active for hibernation?

ASUS EeePC 1201N [ BIOS 0326 ] | Intel Atom 330, Dual Core | NVIDIA ION [GeForce 9400M (MCP79)] | 4GB CORSAIR PC2-6400 |500GB HDD  -> | Triple Boot MBR | Chameleon 2.0 RC5 r168 | Windows 7 Home Premium 32bit | SL 10.7.2 X86_64 | Ubuntu 12.04 x86_64 | <-

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #12 on: June 11, 2010, 03:25:14 PM »
HNVIJAY

I am not on my machine right now, but I have boot0hfs, boot1h and boot on an HDD with OS X and Windows7 partitions. Windows7 is marked as active and I can happily use the theme of my choice. I haven't tested Windows 7 hibernation though but sleep works just fine.
« Last Edit: June 11, 2010, 03:26:53 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

HNVIJAY

  • Observer
  • Posts: 16
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #13 on: June 11, 2010, 05:40:08 PM »
@Blackbox, Yes sleep works fine, its only the hibernation which fails.
ASUS EeePC 1201N [ BIOS 0326 ] | Intel Atom 330, Dual Core | NVIDIA ION [GeForce 9400M (MCP79)] | 4GB CORSAIR PC2-6400 |500GB HDD  -> | Triple Boot MBR | Chameleon 2.0 RC5 r168 | Windows 7 Home Premium 32bit | SL 10.7.2 X86_64 | Ubuntu 12.04 x86_64 | <-

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Unable to Hibernate Windows7 as OSX partition is ACTIVE
« Reply #14 on: June 11, 2010, 06:06:00 PM »
Okay. I'll try the hibernation this evening and report back.
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB