Jump to content

StartupDisk preference pane only works once


Navaira
 Share

4 posts in this topic

Recommended Posts

Hi,

 

I wrote a few days ago about long boot times and that I resolved it by setting Startup Disk in preferences correctly.

 

Well. It only works once. When I reboot, the long boot time returns. I have the correct partition, "Yosemite" set in Clover as default. But somehow it isn't treated as default after reboot. Clover bootloader defaults to "Yosemite", but the boot time becomes long again, and remains long unless I check Startup Disk in Preferences, set it to "Yosemite" and restart. Then it works. Once.

 

When I removed "Default Boot Volume" setting, Clover bootloader defaulted to "Recovery HD" partition. How do I make Clover respect the nvram setting more than once?

 

Thanks in advance!

 

Some bits of boot.log:

0:100  0:000  Clover load options size = 48 bytes
0:100  0:000  Clover started with option to boot boot.efi from Recovery HD
0:103  0:003  Using OEM config.plist at path: EFI\CLOVER\config.plist
0:103  0:000  EFI\CLOVER\config.plist loaded: Success


2:289  0:000  found 19 volumes with blockIO
2:289  0:000   0. Volume:
2:289  0:000    PciRoot(0x0)\Pci(0x1A,0x0)\USB(0x1,0x0)\USB(0x3,0x0)
2:295  0:005    Result of bootcode detection: bootable unknown (legacy)
2:295  0:000    USB volume
2:295  0:000    USB volume
2:295  0:000   1. Volume:
2:295  0:000    PciRoot(0x0)\Pci(0x1A,0x0)\USB(0x1,0x0)\USB(0x3,0x0)\HD(1,MBR,0x0016AA4A,0x3F,0x13986)
2:300  0:005    Result of bootcode detection: bootable unknown (legacy)
2:300  0:000    USB volume
2:300  0:000    USB volume
2:969  0:668   2. Volume:
2:969  0:000    PciRoot(0x0)\Pci(0x1D,0x0)\USB(0x1,0x0)\USB(0x1,0x0)
2:969  0:000    USB volume
2:969  0:000    USB volume
2:969  0:000   3. Volume:
2:969  0:000    PciRoot(0x0)\Pci(0x1D,0x0)\USB(0x1,0x0)\USB(0x1,0x0)\Scsi(0x0,0x1)
2:969  0:000    USB volume
2:969  0:000    USB volume
2:969  0:000   4. Volume:
2:969  0:000    PciRoot(0x0)\Pci(0x1D,0x0)\USB(0x1,0x0)\USB(0x1,0x0)\Scsi(0x0,0x2)
2:969  0:000    USB volume
2:969  0:000    USB volume
2:969  0:000   5. Volume:
2:969  0:000    PciRoot(0x0)\Pci(0x1D,0x0)\USB(0x1,0x0)\USB(0x1,0x0)\Scsi(0x0,0x3)
2:969  0:000    USB volume
2:969  0:000    USB volume
2:969  0:000   6. Volume:
2:969  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)
2:975  0:005   7. Volume:
2:975  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0)
2:975  0:000   8. Volume:
2:975  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0xFFFF,0x0)
2:976  0:000    Result of bootcode detection: bootable unknown (legacy)
2:976  0:000   9. Volume:
2:976  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(1,GPT,B756EAB2-0B67-463E-8BC9-A759EDE5BD58,0x28,0x64000)
2:976  0:000    Result of bootcode detection: bootable unknown (legacy)
2:980  0:003    This is SelfVolume !!
2:980  0:000  10. Volume:
2:980  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(2,GPT,6D2B7220-2F59-4FFD-A2BE-611BAA8F4152,0x64028,0xDDFAC40)
2:980  0:000  11. Volume:
2:980  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(3,GPT,36DB50CE-D10E-4206-B7D9-71E1958B56F7,0xDE5EC68,0x135F20)
2:981  0:000  12. Volume:
2:981  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0)\HD(1,GPT,35FF28FF-BE30-47BC-8403-89775317B18B,0x28,0x64000)
2:982  0:000    Result of bootcode detection: bootable unknown (legacy)
2:990  0:008  13. Volume:
2:990  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,9E7BDAA1-E161-4E0D-8896-BBB4A867F6E7,0x64028,0x15D466360)
2:990  0:000  14. Volume:
2:990  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0xFFFF,0x0)\HD(1,GPT,50A99893-9792-4119-8CA6-952A23F827A2,0x28,0x64000)
2:991  0:000    Result of bootcode detection: bootable unknown (legacy)
3:015  0:024  15. Volume:
3:015  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0xFFFF,0x0)\HD(2,GPT,F69F2E98-11C3-4703-AB63-21A5F9845EBE,0x64028,0x14497E058)
3:016  0:001    Result of bootcode detection: bootable unknown (legacy)
3:016  0:000  16. Volume:
3:016  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0xFFFF,0x0)\HD(3,GPT,6B258868-AB31-416C-B141-12C8DEAE0630,0x1449E2080,0x135F20)
3:017  0:000  17. Volume:
3:017  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0xFFFF,0x0)\HD(4,GPT,90A2EEEE-5B8F-43E5-BAF2-1436C8F6003E,0x144B17FA0,0x1887C4C8)
3:017  0:000  18. Volume:
3:017  0:000    PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x3,0xFFFF,0x0)\HD(5,GPT,B2546346-EBC8-4C61-9C70-851C24C53F4E,0x15D394468,0x175F20)


3:022  0:000  Scanning loaders...
3:022  0:000   0: 'Whole Disc Boot' no file system
3:022  0:000   1: 'CODEMETER'
3:031  0:009   2: 'Whole Disc Boot' no file system
3:031  0:000   3: 'Whole Disc Boot' no file system
3:031  0:000   4: 'Whole Disc Boot' no file system
3:031  0:000   5: 'Whole Disc Boot' no file system
3:031  0:000   6: 'Whole Disc Boot' no file system
3:031  0:000   7: 'Whole Disc Boot' no file system
3:031  0:000   8: 'Whole Disc Boot' no file system
3:031  0:000   9: 'EFI'
3:047  0:016  10: 'Yosemite'
3:057  0:009      AddLoaderEntry for Volume Name=Yosemite
3:064  0:006      Check if volume Is Hibernated:
3:064  0:000      Check sleep image 'by signature':
3:070  0:005      read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success
3:070  0:000      SleepImage name from pref: ImageVolume = 'Yosemite', ImageName = '\private\var\vm\sleepimage'
3:074  0:004      sleepimage not found -> Not Found
3:074  0:000       hibernated: no - sign
3:130  0:055  11: 'Recovery HD'
3:131  0:001      AddLoaderEntry for Volume Name=Recovery HD
3:140  0:008  12: 'EFI'
3:146  0:006  13: 'Backup'
3:172  0:025  14: 'EFI'
3:179  0:006  15: 'Hackintosh'
3:255  0:075  16: 'Recovery HD'
3:256  0:001      AddLoaderEntry for Volume Name=Recovery HD
3:288  0:031  17: 'OS Copy'
3:333  0:045      AddLoaderEntry for Volume Name=OS Copy
3:353  0:019      Check if volume Is Hibernated:
3:353  0:000      Check sleep image 'by signature':
3:391  0:037      read prefs \Library\Preferences\SystemConfiguration\com.apple.PowerManagement.plist status=Success
3:391  0:000      SleepImage name from pref: ImageVolume = 'OS Copy', ImageName = '\private\var\vm\sleepimage'
3:401  0:009      sleepimage not found -> Not Found
3:401  0:000       hibernated: no - sign
3:460  0:059  18: 'Recovery HD'
3:461  0:001      AddLoaderEntry for Volume Name=Recovery HD
3:483  0:021  Custom legacy start
3:483  0:000  Custom legacy end
3:483  0:000  Scanning legacy ...
3:483  0:000   0: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   1: 'CODEMETER' (legacy) not legacy
3:483  0:000   2: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   3: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   4: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   5: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   6: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   7: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   8: 'Whole Disc Boot' (legacy) not legacy
3:483  0:000   9: 'EFI' (legacy) not legacy
3:483  0:000  10: 'Yosemite' (legacy) not legacy
3:483  0:000  11: 'Recovery HD' (legacy) not legacy
3:483  0:000  12: 'EFI' (legacy) not legacy
3:483  0:000  13: 'Backup' (legacy) not legacy
3:483  0:000  14: 'EFI' (legacy) not legacy
3:483  0:000  15: 'Hackintosh' (legacy) not legacy
3:483  0:000  16: 'Recovery HD' (legacy) not legacy
3:483  0:000  17: 'OS Copy' (legacy) not legacy
3:483  0:000  18: 'Recovery HD' (legacy) not legacy
3:483  0:000  Custom tool start
3:483  0:000  Custom tool end
3:485  0:002  found tool \EFI\CLOVER\tools\Shell64U.efi
3:485  0:000  Checking EFI partition Volume 9 for Clover
3:485  0:000   Found Clover
3:489  0:003  Checking EFI partition Volume 12 for Clover
3:489  0:000  Checking EFI partition Volume 14 for Clover
3:527  0:038   Found Clover
3:529  0:002  GetEfiBootDeviceFromNvram: efi-boot-device-data not found
3:530  0:000  EfiBootVolume not found
3:530  0:000   found entry 1. 'Boot Recovery from Recovery HD', Volume 'Recovery HD', DevicePath 'PciRoot(0x0)\Pci(0x1F,0x2)\Sata(0x0,0xFFFF,0x0)\HD(3,GPT,36DB50CE-D10E-4206-B7D9-71E1958B56F7,0xDE5EC68,0x135F20)\com.apple.recovery.boot\boot.efi'

Link to comment
Share on other sites

Hi,

 

Format a USB stick to FAT32 and copy the EFI partition from your HDD to it. 

From there navigate to EFI > Clover > Drivers64 >

If present, delete the EMUVariable.EFI from that folder. If it's not present, install it to that location. 

 

Now in the bios, set the USB as boot device, and start OSX from that Clover, to see if that changes anything. If the performance is better, you can make the changes on your HDD also. 

 

If somehow the system does not boot anymore, you can just pull out the USB and boot from the HDD again.

Link to comment
Share on other sites

Hi,

 

thank you for your response.

 

Unfortunately this changed nothing. I tried with the USB stick first, and saw no change. Then I put EmuVariableUefi-64.efi (that's the one you meant, right?) on EFI partition of my hard drive, also no change. I also changed the boot sequence in BIOS from default Mac OS X (what is that? I don't have a partition called that...) to UEFI: Kingston etc. Also no change. Startup Disk change works once, then no more. It's like it resets somehow after the boot.

 

My nvram variables:

 

fmm-computer-name Hac Pro

prev-lang:kbd en:30788

security-mode none

bluetoothActiveControllerInfo %044%d3%13%01%00%00%00%b0%14@%e20:%d9%86

EmuVariableUefiPresent Yes

OsxAptioFixDrv-RelocBase %00%10%9b%b0%00%00%00%00

boot-args nvda_drv=1

EFIBluetoothDelay %b8%0b

 

EDIT:

 

Oooh, this is interesting. What do you think about my rc.shutdown.log?

 

-------------------------------

DATE: 2015-06-20 TIME: 18:21:19
-------------------------------
>> Begin Script: /private/etc/rc.shutdown.d/80.save_nvram_plist.local
Not saving nvram.plist because booting from an UEFI firmware (American Megatrends)
>> End Script: /private/etc/rc.shutdown.d/80.save_nvram_plist.local
 
EDIT 2:
 
Updated Clover.
Borked the Hackintosh.
Tore out half of my hair.
Found out about the OSXAptio2FixDrv.
Got the Hackintosh running again.
Changed the boot device setting from "Yosemite" to empty.
Discovered that the nvram DOES change after reboot with "Startup Disk" set, but still doesn't seem to respect the setting:
 
efi-boot-device <array><dict><key>IOMatch</key><dict><key>IOProviderClass</key><string>IOMedia</string><key>IOPropertyMatch</key><dict><key>UUID</key><string>6D2B7220-2F59-4FFD-A2BE-**********</string></dict></dict><key>BLLastBSDName</key><string>disk0s2</string></dict></array>%00
fmm-computer-name Hac Pro
prev-lang:kbd en:30788
security-mode none
bluetoothActiveControllerInfo %044%d3%13%01%00%00%00%b0%14@%e20:%d9%86
efi-boot-device-data %02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%02%1f%03%12%0a%00%00%00%00%00%00%00%04%01*%00%02%00%00%00(@%06%00%00%00%00%00@%ac%df%0d%00%00%00%00 r+mY/%fdO%a2%***********
boot-args nvda_drv=1
EFIBluetoothDelay %b8%0b

 

* – removed parts of the number

Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...