version 1.1, 2012/09/22 15:46:22
|
version 1.7, 2012/09/22 16:32:39
|
Line 1
|
Line 1
|
= how_to_install_netbsd_on_macbook_air_mid_2012 |
|
[2012-09-17 20:32] |
|
|
|
# How to install NetBSD/amd64 current on MacBook Air 11 inch (mid 2012) |
# How to install NetBSD/amd64 current on MacBook Air 11 inch (mid 2012) |
|
|
For older MacBook, please read [how to install netbsd on an apple macbook with core2duo](http://wiki.netbsd.org/tutorials/how_to_install_netbsd_on_an_apple_macbook_with_core2duo/) |
For older MacBook, please read [how to install netbsd on an apple macbook with core2duo](http://wiki.netbsd.org/tutorials/how_to_install_netbsd_on_an_apple_macbook_with_core2duo/) |
|
|
This tutorial is based on it. |
This tutorial is based on it. |
|
|
[[!toc]] |
[[!toc startlevel=2 levels=2]] |
|
|
## Caution |
## Caution |
|
|
Line 101 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 383 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 1368x768, but detected one is 1368x768 :( |
Real display size is 1366x768, but detected one is 1368x768 :( |
|
|
<pre><code> |
<pre><code> |
Section "ServerLayout" |
Section "ServerLayout" |