overdue-scratch

Author Topic: Ignored com.apple.Boot.plist  (Read 11299 times)

0 Members and 1 Guest are viewing this topic.

kizwan

  • Observer
  • Posts: 20
Re: Ignored com.apple.Boot.plist
« Reply #15 on: November 05, 2010, 10:01:48 AM »
I just want to add here that I also experienced the same thing where com.apple.Boot.plist is ignored by bootloader. Themes, dsdt.aml & extensions are loaded/read correctly when booting. Because of the Boot.plist files is ignored, I have to enter the flags manually (e.g. arch=i386). This is on MBR partition & Chameleon 2 RC5. Just in case the Boot.plist file is corrupted, I already replaced it with the one confirmed working from the other computer. I don't know why Boot.plist is the only file is ignored by bootloader because themes, dsdt.aml & extensions which also in /Extra folder can be loaded without any problem.

I have two computer (MBR) which use Chameleon 2 RC5. The first one which is working, OSX is installed at hd(0,3). While the second one which have this Boot.plist problem, OSX is installed at hd(0,4). Both partition are primary partition.

com.apple.Boot.plist:-
Code: [Select]
<?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>arch=i386</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>RestartFix</key>
<string>No</string>
<key>SMBIOSdefaults</key>
<string>Yes</string>
<key>Timeout</key>
<string>5</string>
</dict>
</plist>
diskutil list:-
Code: [Select]
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *320.1 GB   disk0
   1:                 DOS_FAT_16 DellUtility             41.1 MB    disk0s1
   2:               Windows_NTFS RECOVERY                15.7 GB    disk0s2
   3:               Windows_NTFS OS                      152.3 GB   disk0s3
   4:                  Apple_HFS OSX                     152.0 GB   disk0s4
Extra folder:-
Code: [Select]
total 1600
drwxr-xr-x  13 root  wheel     442 Nov  3 09:25 .
drwxrwxr-t  35 root  admin    1258 Nov  2 23:29 ..
drwxr-xr-x  11 root  wheel     374 Nov  3 09:25 Extensions
-rw-r--r--   1 root  wheel  669131 Nov  3 09:25 Extensions.mkext
drwxr-xr-x   6 root  wheel     204 Sep 10 01:00 Themes
drwxr-xr-x   3 root  wheel     102 Sep 17 20:42 Util
drwxr-xr-x   2 root  wheel      68 Sep 17 20:42 bin
-rw-r--r--@  1 root  wheel     469 Nov  2 23:44 com.apple.Boot.plist
-rwxr-xr-x   1 root  wheel   42525 Nov  3 08:06 dsdt.aml
-rwxr-xr-x   1 root  wheel   42380 Sep 20 20:41 dsdt.aml.backup
-rwxr-xr-x   1 root  wheel   42428 Nov  3 08:05 dsdt.aml.backup02
-rwxr-xr-x@  1 root  wheel     549 Sep 10 01:01 smbios.plist
-rwxr-xr-x   1 root  wheel     264 Sep 10 01:05 updateExtensionsMkext
« Last Edit: November 05, 2010, 10:18:47 AM by kizwan »

kizwan

  • Observer
  • Posts: 20
Re: Ignored com.apple.Boot.plist
« Reply #16 on: November 05, 2010, 10:49:24 AM »
I already tried with "/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" but it also ignored.

The problem only solved when I copied com.apple.Boot.plist file to "Extra" folder in disk0s1 (DellUtility - FAT16). I think I can assume the com.apple.Boot.plist file only readable by the boot loader when it is located in partition 1, 2 & 3. Am I right? (I dunno whether this is a bug or not).
« Last Edit: November 05, 2010, 10:56:55 AM by kizwan »

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Ignored com.apple.Boot.plist
« Reply #17 on: November 26, 2010, 08:57:44 PM »
I have to add to the list here as after some experiments using an HDD with MBR.

Installing boot0, boot1f32 and boot from Chameleon trunk rev644 to disk0s1, Chameleon will load but it won't find the /Extra folder on disk0s1. Erasing the drive and starting again, but this time installing to disk0s2 has the same effect and Chameleon will load but not find the /Extra folder on disk0s2.

Here's the disk layout

Code: [Select]
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk0
   1:                 DOS_FAT_32 FATHD1                  250.1 GB   disk0s1
   2:                 DOS_FAT_32 FATHD2                  250.0 GB   disk0s2

The problem can only be solved by installing Chameleon to disk0s2 and having the /Extra folder on to disk0s1 -  I can then completely remove the /Extra folder disk0s2.  Also, just having /Extra/com.apple.boot.plist on disk0s1 is not enough - it has to be the complete /Extra folder.

But note, it works fine on a USB memory stick with a single partition using MBR - just not on an HDD.

EDIT: Well after some more testing I now know the setup will work from HDD as long as I add a HFS partition. This I guess makes sense as why would anybody install Chameleon to a hard drive using an MBR partition scheme with only FAT32 partitions? So the following setup works with Chameleon installed to disk0s1

Code: [Select]
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *500.1 GB   disk0
   1:                 DOS_FAT_32 FAT                     250.1 GB   disk0s1
   2:                  Apple_HFS HFS                     250.0 GB   disk0s2
« Last Edit: November 27, 2010, 11:09:28 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Ignored com.apple.Boot.plist
« Reply #18 on: December 03, 2010, 07:46:15 AM »
I already tried with "/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" but it also ignored.

The problem only solved when I copied com.apple.Boot.plist file to "Extra" folder in disk0s1 (DellUtility - FAT16). I think I can assume the com.apple.Boot.plist file only readable by the boot loader when it is located in partition 1, 2 & 3. Am I right? (I dunno whether this is a bug or not).
Hi Kizwan,
that's known to happen if you're using boot0hfs and there's a FAT partition "before" the one were Chameleon is installed.
Check this post and the talk around... there's some bs involved :P just filter it. I need to read this again... i think the preference for the Boot.plist is in there, some were?!
Are you stuck with that partition layout? I'd get rid of it if possible, it's the only fix i know for now.

p.s.: And sorry for the late reply.. i stopped following this topic.
« Last Edit: December 03, 2010, 08:07:36 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

kizwan

  • Observer
  • Posts: 20
Re: Ignored com.apple.Boot.plist
« Reply #19 on: December 03, 2010, 08:14:09 AM »
Hi Azimutz,
Thank you for replying. The FAT partition is on it's original place. It contains Dell Diagnostic utility. I can remove it since it is not important. I already have Dell Diagnostic CD. Anyway, I just removed the OSX partition from my Dell. The reason is it have ATI Mobility. Time to move on.  ;D Thank you for the link. Now I know why it happen.

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Re: Ignored com.apple.Boot.plist
« Reply #20 on: December 04, 2010, 06:31:24 PM »
No problem Kizwan... always glad to pass some knowledge :)
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT