overdue-scratch

Author Topic: Can't find mach_kernel  (Read 10657 times)

0 Members and 1 Guest are viewing this topic.

deltatech

  • Entrant
  • Posts: 1
Can't find mach_kernel
« on: October 14, 2011, 01:22:32 AM »
I am able to boot snow leopard using the DVD, but I can't boot direct from the hard drive.

I have installed Chamaleon on the EFI partition disk0s1 and have my OS on disk0s2.   My mach_kernel is located in the root of disk0s2.   It boots just fine from the DVD Chamaleon just can't see it.

So two questions.. 

1. Do I even need a boot loader if I am going to be doing single boot?  If so, How do I get rid of the EFI partition since it doesn't want to allow me to make anything else active.

2. If I do need a boot loader, is there a better easier one to use?  Is there a way to fix the "can't find mach_kernel" problem?

My /Extra/com.apple.Boot.plist looks like this...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>Default Partition</key>
        <string>hd(0,2)</string>
   <key>Kernel Flags</key>
   <string>rd=disk0s2</string>
   <key>Boot Graphics</key>
   <string>Yes</string>
        <key>Quiet Boot</key>
        <string>No</string>
        <key>Timeout</key>
        <string>5</string>
   <key>device-properties</key>
   <string>420200000100000001000000360200000d00000002010c00d041030a00000000010106000001010 1060000007fff04001e00000072006f006d002d007200650076006900730069006f006e00000004 00000022000000400030002c006400650076006900630065005f00740079007000650000000b000 000646973706c6179100000004e00560043004100500000001800000004000000000003000c0000 0000000007000000000e0000006e0061006d00650000000b000000646973706c617914000000400 030002c006e0061006d0065000000120000004e5644412c446973706c61792d41100000006d006f 00640065006c0000001a0000006e5669646961204765466f72636520383530302047540e0000004 e00560050004d000000200000000100000000000000000000000000000000000000000000000000 000014000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4 220000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644 412c4e564d6163220000005600520041004d002c0074006f00740061006c00730069007a0065000 000080000000000002020000000400030002c0063006f006d00700061007400690062006c006500 00000e0000004e5644412c4e564d616322000000400031002c006400650076006900630065005f0 0740079007000650000000b000000646973706c61791c0000006400650076006900630065005f00 740079007000650000000f0000004e5644412c506172656e74</string>
   <key>arch</key>
   <string>i386</string>
</dict>
</plist>


Blackosx

  • Forum Moderator
  • Posts: 1150
Re: Can't find mach_kernel
« Reply #1 on: October 14, 2011, 12:56:11 PM »
1. Do I even need a boot loader if I am going to be doing single boot?  If so, How do I get rid of the EFI partition since it doesn't want to allow me to make anything else active.
Yes you need a bootloader installed to the HDD if you want to be able to boot from the HDD.
The EFI system partition is created by OS X disk utility when you partition a disk with a GPT. You can't get rid of it unless you re-partition your disk to use MBR.
What do you mean it doesn't want to allow you to make anything else active?

2. If I do need a boot loader, is there a better easier one to use?
To natively boot OS X on a standard PC (i.e. non Apple hardware) can either use Chameleon or GRUB. Chameleon is pretty easy if you ask me, though I've not had much experience with GRUB.

Is there a way to fix the "can't find mach_kernel" problem?
I haven't had the problem you describe when booting Snow Leopard. But check to be sure the mach_kernel is at the root of your OS X installation (it'll be a hidden file).

Try editing your /Extra/com.apple.Boot.plist (which should now be renamed org.chameleon.Boot.plist) by removing rd=disk0s2 from kernel flags.
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB