version 1.3, 2012/09/22 15:48:56
|
version 1.9, 2012/09/23 04:27:22
|
Line 4 For older MacBook, please read [how to i
|
Line 4 For older MacBook, please read [how to i
|
|
|
This tutorial is based on it. |
This tutorial is based on it. |
|
|
[[!toc]] |
[[!toc startlevel=2 levels=2]] |
|
|
## Caution |
## Caution |
|
|
Line 36 This tutorial is based on it.
|
Line 36 This tutorial is based on it.
|
|
|
* USB 2.0/1.0 (no USB 3.0) |
* USB 2.0/1.0 (no USB 3.0) |
|
|
* FaceTime HD Camera (uvideo device; I have not tested yet) |
* FaceTime HD Camera (uvideo device) |
|
|
* Keyboard backlight |
* Keyboard backlight |
|
|
Line 98 from GENERIC kernel, and build GENERIC k
|
Line 98 from GENERIC kernel, and build GENERIC k
|
If you do not know how to build kernel, |
If you do not know how to build kernel, |
please read [How to build a kernel section of NetBSD kernel documentation](http://www.netbsd.org/docs/kernel/#how_to_build_a_kernel) . |
please read [How to build a kernel section of NetBSD kernel documentation](http://www.netbsd.org/docs/kernel/#how_to_build_a_kernel) . |
|
|
### Copy GENERIC kernel |
### Copy no-dkwedge kernel |
Mount USB stick and copy no-dkwedge kernel to it. |
Mount USB stick and copy no-dkwedge kernel to it. |
|
|
|
|
## Boot your MacBook Air and install NetBSD with sysinst |
## Boot your MacBook Air and install NetBSD with sysinst |
In detail, see [The NetBSD Guide](http://www.netbsd.org/docs/guide/en/index.html). |
In detail, see [The NetBSD Guide](http://www.netbsd.org/docs/guide/en/index.html). |
<em>Be careful</em>, you must not install bootselect code to your disk. |
<em>Be careful</em>, you must not install bootselect code to your disk. |
|
|
|
## Install no-dkwedge kernel |
|
Copy /netbsd to your / partition. |
|
|
## Set NetBSD as default OS |
## Set NetBSD as default OS |
On OS X, open terminal and run |
On OS X, open terminal and run |
Line 380 wsdisplay0: screen 3 added (80x25, vt100
|
Line 381 wsdisplay0: screen 3 added (80x25, vt100
|
wsdisplay0: screen 4 added (80x25, vt100 emulation) |
wsdisplay0: screen 4 added (80x25, vt100 emulation) |
</pre> |
</pre> |
|
|
### /etc/X1/xorg.conf for native X.org |
### /etc/X11/xorg.conf for native X.org |
With this xorg.conf, you can find one problem. |
With this xorg.conf, you can find one problem. |
Real display size is 1366x768, but detected one is 1368x768 :( |
Real display size is 1366x768, but detected one is 1368x768 :( |
|
You can fix display size with |
|
|
|
xrandr --size 1366x768 |
|
|
<pre><code> |
<pre><code> |
Section "ServerLayout" |
Section "ServerLayout" |