NeBSD1.6インストール


Windowsとデュアルブートする時は、最初にWindowsをインストールして、 CドライブとDドライブに区切っておく必要がある。
Dドライブの所にPC-UNIXを入れる形になる。
これはBSDもLinuxも同じ。
Photo NetBSD1.6のCDROMを突っ込んで、 電源入れたらインストーラが立ち上がる。
a: Install NetBSD to hard disk
を選択
このあとインストール作業をつづけますか? とかうんぬんの画面はyesとかそのままでOKみたいな感じでチェック。
Photo ディスク全部にNetBSDを入れる場合と、 外のOSとデュアルブートにする場合で変わって来る。
WindowsXPとのデュアルにしたかったので
a: Use only part of the disk
を選択。
NetBSDだけでOKってしとは b を選択。
Photo パーティションを分ける時に使う単位はメガバイトが楽。
よって
a: Megabytes
選択
Photo partition 0 は Windows なので、ディスク種類(Kind)を DOS FAT にしておく。
ただしこの Kind はほんとにこれでいいのか不明 (デュアルブートはできたけどね)
で partition 1 にNetBSDを入れる。
Photo ブート選択するときの名前を決める。
Photo パーティション0はWindowsなので「dos」とか「windows」とか。
パーティション1はNetBSDなので「netbsd」とか「bsd」とか。
Photo NetBSD内のパーティションはおおよそインストーラが作ってくれる。
HDDの容量が大きいならそのままお任せでOK。
好みで /home とか /var とか作ってくだされ。
Photo これで設定完了。
yes を選択すればインストールだ!

NetBSD X設定 (XF86Config)

NetBSDってほっとんどなーんもはいってないのね(^^;)
ってことで自分で色々とソフトとかパッケージを入れる必要あり。
なーんもしてないのにUSBのマウス一体型キーボードを認識したし、 音も出た。すばらしい!

あとはXの設定だけ。

XFree86 は BSD も Linux もほっとんど同じなので、turbolinux で使っていた XF86Config を流用。
ただしマウスの部分だけ変える必要あり。

SHARP Mebius PC-GP1-C7U の XF86Config turbolinux 版
#
# XF86Config generated by xconfig
# Please do not edit this file by hand!
# Run xconfig to make changes to the X configuration.
# For advanced users, details about the format of this file
# can be found in the XF86Config man page.

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          0 "Screen0" 0 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/extra/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/local/"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/75dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/100dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath        "/usr/X11R6/lib/X11/fonts/PEX/"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
        FontPath        "/usr/X11R6/lib/X11/fonts/TrueType/"
        FontPath        "/usr/X11R6/lib/X11/fonts/tt/"
        FontPath        "/usr/X11R6/lib/X11/fonts/ttf-zh/"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/extra/"
        FontPath        "/usr/X11R6/lib/X11/fonts/unicode/"
EndSection

Section "Module"
        Load            "dbe"
        Load            "extmod"
        SubSection      "extmod"
          #Option       "omit xfree86-dga"
        EndSubSection
        Load            "type1"
        #Load           "freetype"
        Load            "xtt"
        Load            "bitmap"
        Load            "speedo"
        Load            "pex5"
        Load            "GLcore"
        Load            "glx"
        #Load           "dri"
        Load            "record"
        Load            "xie"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
        Option          "AutoRepeat"    "500 30"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc101"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"      "IMPS/2"
        Option          "Device"        "/dev/input/mice"
        #MouseName      "Generic - 3 Button Mouse (USB)"
        Option          "Buttons"       "5"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        HorizSync       31.5-67
        VertRefresh     50-90
        #VendorName     "Generic"
        #ModelName      "Laptop Display Panel 1400x1050"
EndSection

Section "Device"
        Identifier      "Card0"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option         "NoAccel" # []
        #Option         "HWCursor" # []
        #Option         "SWCursor" # []
        #Option         "ShadowFB" # []
        #Option         "Rotate" # []
        #Option         "UseBIOS" # []
        #Option         "LCDClock" # 
        #Option         "ShadowStatus" # []
        #Option         "VideoRAM" # 
        Driver          "savage"
        VendorName      "S3"
        BoardName       "ProSavage KN133"
        BusID           "PCI:1:0:0"
        Option          "SWCursor"
        VideoRam        15296
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection      "Display"
                Depth   8
        EndSubSection
        SubSection      "Display"
                Depth   15
        EndSubSection
        SubSection      "Display"
                Depth   16
        EndSubSection
        SubSection      "Display"
                Depth   24
        EndSubSection
EndSection

Section "DRI"
EndSection

# End of XF86Config.
# Configured by xconfig
# Configured date:
   

NetBSD はマウスの部分だけ変更する

SHARP Mebius PC-GP1-C7U XF86Config NetBSD版
#
# XF86Config generated by xconfig
# Please do not edit this file by hand!
# Run xconfig to make changes to the X configuration.
# For advanced users, details about the format of this file
# can be found in the XF86Config man page.

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          0 "Screen0" 0 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/extra/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/local/"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/75dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/100dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath        "/usr/X11R6/lib/X11/fonts/PEX/"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
        FontPath        "/usr/X11R6/lib/X11/fonts/TrueType/"
        FontPath        "/usr/X11R6/lib/X11/fonts/tt/"
        FontPath        "/usr/X11R6/lib/X11/fonts/ttf-zh/"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/extra/"
        FontPath        "/usr/X11R6/lib/X11/fonts/unicode/"
EndSection

Section "Module"
        Load            "dbe"
        Load            "extmod"
        SubSection      "extmod"
          #Option       "omit xfree86-dga"
        EndSubSection
        Load            "type1"
        #Load           "freetype"
        Load            "xtt"
        Load            "bitmap"
        Load            "speedo"
        Load            "pex5"
        Load            "GLcore"
        Load            "glx"
        #Load           "dri"
        Load            "record"
        Load            "xie"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
        Option          "AutoRepeat"    "500 30"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc101"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"      "Wsmouse"  #ここを変更
        Option          "Device"        "/dev/wsmouse" #ここを変更
        #MouseName      "Generic - 3 Button Mouse (USB)"
        Option          "Buttons"       "5"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        HorizSync       31.5-67
        VertRefresh     50-90
        #VendorName     "Generic"
        #ModelName      "Laptop Display Panel 1400x1050"
EndSection

Section "Device"
        Identifier      "Card0"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option         "NoAccel" # []
        #Option         "HWCursor" # []
        #Option         "SWCursor" # []
        #Option         "ShadowFB" # []
        #Option         "Rotate" # []
        #Option         "UseBIOS" # []
        #Option         "LCDClock" # 
        #Option         "ShadowStatus" # []
        #Option         "VideoRAM" # 
        Driver          "savage"
        VendorName      "S3"
        BoardName       "ProSavage KN133"
        BusID           "PCI:1:0:0"
        Option          "SWCursor"
        VideoRam        15296
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection      "Display"
                Depth   8
        EndSubSection
        SubSection      "Display"
                Depth   15
        EndSubSection
        SubSection      "Display"
                Depth   16
        EndSubSection
        SubSection      "Display"
                Depth   24
        EndSubSection
EndSection

Section "DRI"
EndSection

# End of XF86Config.
# Configured by xconfig
# Configured date:

   
これを /etc/X11 の下に置いて
% xinit

これであっさりXつかえましたー。
かんどー!