virtualboxでdebian linuxをいれる

以下単なる作業メモ。


1.isoイメージをおとす

http://cdimage.debian.org/debian-cd/4.0_r7/i386/iso-cd/
ここから

debian-40r7-i386-netinst.iso

2.virtualboxで適当にメモリとハードディスクを割り当てて仮想マシンを作成

ハードディスクを10GB。メインメモリを768MBにした。

3.CDドライブにisoファイルを指定して、起動。あとは画面の指示に従ってインストール。


4.Guest Additionのインストールのため、パッケージマネージャーからgcclinux-headers-2.6-686をインストール。

5.Guest Additionのインストール。

sh VBoxLinuxAddition-x86.run

6.MacBookで画面いっぱいにならないので、解像度を1280x729を設定。

/etc/X11/xorg.conf

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x729" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x729" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection