| | 1 | [[PageOutline]] |
| | 2 | [[TitleIndex(Dev/KernelHack,format=group)]] |
| | 3 | |
| | 4 | * http://www.coins.tsukuba.ac.jp/~yas/coins/slab-kernel-2011/ |
| | 5 | |
| | 6 | = setup VM = |
| | 7 | == x86 == |
| | 8 | * http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/netboot/mini.iso |
| | 9 | * Create a new VM |
| | 10 | * Ubuntu (not x64) |
| | 11 | * ubuntu-lucid |
| | 12 | * 1/1 cpu/core |
| | 13 | * 512MB |
| | 14 | * NAT |
| | 15 | * Buslogic |
| | 16 | |
| | 17 | == x64 == |
| | 18 | * viola0[1-6]でビルドする場合、そのままx86_64のカーネルが作られるので注意 |
| | 19 | |
| | 20 | * http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/mini.iso |
| | 21 | * Create a new VM |
| | 22 | * Ubuntu 64-bit |
| | 23 | * ubuntu-lucid64 |
| | 24 | * 1/1 cpu/core |
| | 25 | * 512MB |
| | 26 | * NAT |
| | 27 | * LSI Logic |
| | 28 | * BusLogicはx64ゲストでは使用出来ないとのこと |
| | 29 | |
| | 30 | = links = |
| | 31 | * https://help.ubuntu.com/community/Kernel/Compile |
| | 32 | * This page does NOT describe how to build upstream kernels from kernel.org. This is how to rebuild the actual Ubuntu kernel starting from source. |
| | 33 | * [http://d.hatena.ne.jp/haradats/20070819 VMware上のUbuntuで最新カーネルをビルドする - よそ行き顔で] |
| | 34 | > * パッケージの導入 |
| | 35 | > * build-essential(これがなくては/usr/includeすらない) |
| | 36 | > * kernel-package |
| | 37 | > * libncurses5-dev(make menuconfigを行うために必要。本来kernel-packageに入っていると良いような気がする) |
| | 38 | > * subversion, subversion-tools(TOMOYOのレポジトリの参照用) |
| | 39 | > * quilt(もともとはAndrew Mortonが作成したパッチ管理用ツール。自分で使うことはないだろうけれども一応。依存関係でgawkとdiffstatが導入された) |
| | 40 | > もし、rootでコンパイルしたくなければfakerootもあると良い。 |
| | 41 | * [http://d.hatena.ne.jp/adsaria/20081104/1225766991 Ubuntuのカーネル再構築 - adsaria mood] |