/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux.Distrib/mac/mac_on_pc.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installation:
 
2
 
 
3
    Installation Media
 
4
    ==================
 
5
    The MAC installation CD is not working on standard PC. There are to reasons
 
6
    for that. First one is Apple computers are using EFI instead of BIOS. EFI
 
7
    is capable of booting from MAC installation CD's (which are using file 
 
8
    system different from standard ISO9660), the BIOS is not. The second point
 
9
    is special TMP chip embedded in MAC computers and used to testify authencity
 
10
    of MAC hardware.
 
11
    Therefore, there are several patches available to convert original DVD's
 
12
    to DVD's bootable from BIOS with TPM checking switched off. Additionaly
 
13
    there are patches to allow operation on AMD based computers and support
 
14
    for additional hardware.
 
15
    
 
16
    1. Most of the patches are works only with specified minor version of MacOS.
 
17
    For example 10.4.7 but not 10.4.8. However, there are so called universal
 
18
    patch but many people are reporting problems about that.
 
19
    
 
20
    2. There are several editions of patches:
 
21
        Working on AMD processors
 
22
        Working on Intel processors (without SSE3)
 
23
        Working on Intel processors (with SSE3)
 
24
    The versions without SSE3 get performance penalty and are not able to 
 
25
    run applications developed for non-x86 Mac's.
 
26
        
 
27
    3. The most known patches:
 
28
        1. MacOS 10.4.1 VMWare Image (Deadmoo). Worked for me.
 
29
            Root password: bovinity
 
30
        2. JAS patches (I had seen 10.4.6-10.4.8). Most used at the moment.
 
31
        The Intel and AMD platforms are supported. The patches to quantity
 
32
        of hardware components are included. 
 
33
        However, many peoples are complaining about 10.4.7 & 10.4.8 and 
 
34
        reporting 10.4.6 to be most stable. I have tested 10.4.7 and 10.4.8, 
 
35
        both are worked for me. At least VMWare configuration with networking 
 
36
        are operating. Not sure about other hardware.
 
37
        3. Universal patch by Bender. A lot of complains and failure reports
 
38
        are existing about that patch. However, there are some positive 
 
39
        reports as well. I haven't tested that one.
 
40
 
 
41
    4. Available Kernels
 
42
        a) Maxxuss (Version 8.4.1). Used in JaS 10.4.5 - 10.4.7. Because of 
 
43
        usage of old kernel in new revisions, there are some patched libraries,
 
44
        etc.. and less stability.
 
45
        b) Mifki (Version 8.8.1, from MacOS X 10.4.8)
 
46
        c) Daemon bugfixes of Mifki's
 
47
        d) Semethex future development of Mifki's. AMD and SSE2 only CPU's.
 
48
            Versions: ivm_rc12, evm_rc12, beta-3 - beta-5, beta7, beta8, 
 
49
            k17-rc12 - k19-rc12, b9, sf9
 
50
 
 
51
            k*: Operating on AMD platforms
 
52
            b9: Working on SSE2 only platform
 
53
            sf9: Latest, SSE3 only
 
54
        e) uname -a - shows currently operating kernel
 
55
            Versions by date
 
56
                Thu Nov 16 21:19:02 - K19  
 
57
                Fri Nov 17 23:52:26 - Beta-5  
 
58
                Wed Nov 22 22:03:00 - Beta7  
 
59
                Mon Nov 27 18:58:11 - Beta8  
 
60
                Tues Dec 9 22:18:27 - B9  
 
61
                Wed Jan 10 01:14:49 - sf3  sf9  
 
62
        f) Official Kernel Versions: 8.x.y is a kernel used by MacOS 10.4.x.
 
63
        g) Installing New Kernel
 
64
            sudo mv /mach_kernel /mach_kernel.old
 
65
            mv /new_mach_kernel  /mach_kernel
 
66
            sudo chmod 644 mach_kernel 
 
67
            sudo chown root:wheel mach_kernel
 
68
        It is possible to make systme optimization with:
 
69
            sudo update_prebinding -root / -force
 
70
 
 
71
    5. Other patches / kernels.
 
72
        a) Tubegirl 10.4.8 PPF2
 
73
        c)
 
74
                
 
75
    5. At the moment there are no known patches to MacOS 10.5.x
 
76
    
 
77
    All together I would recommend to find DVD with JAS patch applied.     
 
78
 
 
79
    VMWare Configuration
 
80
    ====================
 
81
        1. OS Type should be set to Windows NT (Setting FreeBSD sometimes 
 
82
        causes hanging problems). However, after installation it is possible
 
83
        to switch back to FreeBSD 64bit.
 
84
        
 
85
        2. The IDE hard drive should be selected. It is better to preallocate
 
86
        all disk space at once to achieve better performance. The installation 
 
87
        requires about 7GB.
 
88
        
 
89
        3. The SCSI controller should be disabled (not just IDE disk selected). 
 
90
        To achieve that, the scsi0.present = "FALSE" should be set in the 
 
91
        MacOS.vmx configuration.
 
92
 
 
93
        4. It is wise to disable floppy and other unneccesary stuf.
 
94
        
 
95
        5. There is recommendations on the net to add to MacOS.vmx the 
 
96
        following line: paevm = "true". (However, it works for me without
 
97
        that line as well).
 
98
 
 
99
    BIOS
 
100
    ====
 
101
        1. CDROM & HDD should be set in 32bit mode, otherwise nothink will
 
102
        work.
 
103
        
 
104
        2. For better performance the Floppy drive and Serial ports should
 
105
        be disabled in the BIOS. After installation complete the CDROM should
 
106
        be disabled in BIOS or from VMWare configuration as well (It cause
 
107
        a greate slow down).
 
108
        
 
109
    Partioning
 
110
    ==========
 
111
        1. Works only from primary master drive, primary partition (no chance
 
112
        from logical partitions).
 
113
        
 
114
        2. The appropriate partition table could be created from "Terminal" tool
 
115
        with help of fdisk utility. The disk naming scheme is /dev/rdisk#. The
 
116
        numbering is going from 0. So, in most case it is /dev/rdisk0.
 
117
        
 
118
        3. 'fdisk -e /dev/rdisk0' to edit partition table. The single HFS+
 
119
        partition with journal should be created (auto-partition is working
 
120
        correctly). The partition type should be "AF" and partition should
 
121
        be marked as bootable.
 
122
        
 
123
        4. To make partition bootable the following command should be executed
 
124
        on partition from fdisk:
 
125
            a) reinit
 
126
            b) update (updates machine code)
 
127
        Actualy I did that from installation CD after the system was installed 
 
128
        and failed to boot. Hopefuly, it would work even if the operation is
 
129
        performed during install.
 
130
        
 
131
        5. To format partition "Disk Tool" should be executed and Erase 
 
132
        operation should be selected.
 
133
 
 
134
    Installation Process
 
135
    ====================
 
136
        1. It is not possible to install MacOS from VMWare CD Image. The FS
 
137
        on CD is tricky and not supported by VMWare. It is neccesary to burn
 
138
        real CD (In Windows the Daemontools are reported to work).
 
139
    
 
140
        2. It is better to switch verbose mode (You can see that is going on
 
141
        and for me the booting is always hang in non verbose mode).
 
142
        To get in this mode press F8 and give "-v" parameter to kernel.
 
143
        Other supported parameters are:
 
144
            -v  verbose mode
 
145
            -f  file system check
 
146
            -x  debug mode
 
147
            -a  recovery mode
 
148
        
 
149
        3. Another installation problem may be caused by missing DNS server. If
 
150
        DHCP server propogates DNS server, but this server is not available,
 
151
        the MacOS installation can suspend for a long time.
 
152
        
 
153
        4. The custom install should be selected. Then, one of the patches for
 
154
        Intel or AMD CPU's should be checked (it provides appropriate kernel,
 
155
        otherwise the system will not boot). Additionaly there is set of various
 
156
        patches and drivers available. It is important to review them all and
 
157
        select appropriate ones.
 
158
        I have selected only "10.4.4 login window patch" and everything works,
 
159
        however several people are complaining about hang-ups with that patch 
 
160
        selected and recommending to omit it out. Unfortunately, I haven't 
 
161
        checked if everything goes smothly without it.
 
162
        
 
163
        5. The installation process is very slow and could take up to several
 
164
        hours. After it is complete the system will automatically reboot. No
 
165
        interaction is required before that point.
 
166
        After reboot the system ask to provide some configuration & registration
 
167
        information. It is wise to have networking switched off at that point
 
168
        (otherwise the Apple would be notified about new bad-hacker-guy).
 
169
 
 
170
Drivres:
 
171
    Network
 
172
    =======
 
173
        VMWare is supporting several network interfaces (ethernet0.virtualDev)
 
174
            a) e1000
 
175
                Reports the cabling problem. The 00:00:00:00:00:00 is reported 
 
176
                as hardware address.
 
177
                However if instead of "Manual" or "Using DHCP with manual 
 
178
                address" configuration modes the DHCP mode is used - network is 
 
179
                working.
 
180
                
 
181
                After several magic passes from Manual to DHCP and back it 
 
182
                started work in manual as well, but after reboot the connection
 
183
                was lost again.
 
184
                
 
185
            b) vlance (AMD PCNET, default)
 
186
                There is Maxxuss AMDPCNET driver. The version 1.0 (Latest I 
 
187
                could find) is working with Tiger 10.4.7 but not compatible
 
188
                with Tiger 10.4.8.
 
189
 
 
190
Performance:
 
191
 
 
192
1. Delete "/System/Library/Extensions/AppleTPMACPI.kext". 
 
193
It tries to find a TPM chip that is only on the real Intel Developer Machines. 
 
194
It uses all system resources trying to accomplish its impossible task.
 
195
(Done by default in JAS DVD)
 
196
 
 
197
2. Select appropriate Kernel (SSE3 capable). The kernel is called "mach_kernel"
 
198
and stored in the root folder of boot drive.
 
199
 
 
200
3. Disable in the system BIOS all not used hardware: CDROM/Floppy/Serial Ports.
 
201
(Disabling CDROM helps a lot.)
 
202
 
 
203
4. The "FreeBSD 64bit" system should be selected in VMWare configuration.
 
204
(I haven't noticed any performance change compared with "Windows NT")
 
205
 
 
206
5. At the Darwin Boot Screen type this: platform=X86PC. (F8 before system startup
 
207
to get there).
 
208
(I don't see major impact on the performance, but I got several lockups while
 
209
booted with this option).
 
210
 
 
211
6. Using a solid background instead of Mac's default helps a bit.
 
212
 
 
213
x. Other proposals:
 
214
    a) Discovered with Dell D505: Disable MiniPCI in the BIOS.
 
215
 
 
216
 
 
217
All together it is very slow yet. The movement of mouse takes about 50%
 
218
of CPU resources on my brand new Intel system.
 
219
 
 
220
Useful URL:
 
221
    Instllation
 
222
    ===========
 
223
        http://wiki.osx86project.org/wiki/index.php/Installation_Guides
 
224
        http://forum.insanelymac.com/index.php?showtopic=9625&st=240
 
225
        http://translate.google.com/translate?prev=/language_tools&u=http://www.osx86china.com/bbs/
 
226
 
 
227
    Kernels
 
228
    =======
 
229
        Semethex kernel are available on:
 
230
            #kernel on irc.macspeak.net
 
231
 
 
232
    Software
 
233
    ========
 
234
        XCode: GCC and other developer tools are available from Apple
 
235
        developer site after free online registration.
 
236
        VNC: Vine Server (OSXvnc)
 
237
        Total Commander: MuCommander
 
238
        Unix Tools: Fink
 
239
            * In the home directory .profile should be ranmed to .bashrc
 
240
            * dpkg package manager from Debian
 
241
            * 
 
242
              sudo apt-get update (http_proxy, ... environemt should be set)
 
243
              sudo apt-get install mc
 
244