トップ 差分 一覧 ソース 置換 検索 ヘルプ PDF RSS ログイン

Libretto L1 に Linux をインストールする

解像度の設定

http://tmplog.jugem.jp/?eid=202

xorg.confの全体は次の通り。

 Section "ServerLayout"
         Identifier     "X.org Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection
 
 Section "Files"
         RgbPath      "/usr/pkg/share/X11/rgb"
         ModulePath   "/usr/pkg/lib/xorg/modules"
         FontPath     "/usr/pkg/lib/X11/fonts/misc/"
         FontPath     "/usr/pkg/lib/X11/fonts/TTF/"
         #FontPath     "/usr/pkg/lib/X11/fonts/OTF"
         FontPath     "/usr/pkg/lib/X11/fonts/Type1/"
         FontPath     "/usr/pkg/lib/X11/fonts/100dpi/"
         FontPath     "/usr/pkg/lib/X11/fonts/75dpi/"
         FontPath     "/usr/pkg/lib/X11/fonts/local/"
 EndSection
 
 Section "Module"
         Load  "extmod"
         Load  "record"
         Load  "dbe"
         Load  "xtrap"
         Load  "dri"
         Load  "freetype"
         Load  "type1"
 EndSection
 
 Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
         Option      "XkbRules" "xorg"
         Option      "XkbModel" "jp106"
         Option      "XkbLayout" "jp"
         Option      "XkbOptions" "ctrl:swapcaps"
 EndSection
 
 Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "wsmouse"
         Option      "Device" "/dev/wsmouse"
         Option      "ZAxisMapping" "4 5 6 7"
 EndSection
 
 Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
         HorizSync    31.5-64.3
         VertRefresh  50-70
         #ModeLine     "1280x600" 60 1280 1328 1512 1712 600 601 603 625
         ModeLine     "1280x600" 69 1280 1328 1360 1696 600 601 615 631
 EndSection
 
 Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "NoAccel"                   # [<bool>]
         #Option     "AccelMethod"               # <str>
         #Option     "HWCursor"                  # [<bool>]
         #Option     "SWCursor"                  # [<bool>]
         #Option     "ShadowFB"                  # [<bool>]
         #Option     "Rotate"                    # [<str>]
         #Option     "UseBIOS"                   # [<bool>]
         #Option     "LCDClock"                  # <freq>
         #Option     "ShadowStatus"              # [<bool>]
         #Option     "CrtOnly"                   # [<bool>]
         #Option     "TvOn"                      # [<bool>]
         #Option     "PAL"                       # [<bool>]
         #Option     "ForceInit"                 # [<bool>]
         #Option     "Overlay"                   # [<str>]
         #Option     "TransparencyKey"           # [<str>]
         #Option     "ForceInit"                 # [<bool>]
         #Option     "DisableXVMC"               # [<bool>]
         #Option     "DisableTile"               # [<bool>]
         #Option     "DisableCOB"                # [<bool>]
         #Option     "BCIforXv"                  # [<bool>]
         #Option     "DVI"                       # [<bool>]
         #Option     "IgnoreEDID"                # [<bool>]
         #Option     "BusType"                   # [<str>]
         #Option     "DmaType"                   # [<str>]
         #Option     "DmaMode"                   # [<str>]
         #Option     "AGPMode"                   # <i>
         #Option     "AGPSize"                   # <i>
         #Option     "DRI"                       # [<bool>]
         Identifier  "Card0"
         Driver      "savage"
         VendorName  "S3 Inc."
         BoardName   "86C270-294 Savage/IX-MV"
         BusID       "PCI:0:4:0"
         #Option      "UseBIOS" "True"
         Option      "UseBIOS" "False"
 EndSection
 
 Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         DefaultDepth 16
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
                 Modes     "1280x600"
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
         EndSubSection
 EndSection

Device セクションで

Option      "UseBIOS" "False"

を設定すれば、他はなにもしなくても動作するみたいだけど、
Monitor セクションの

ModeLine     "1280x600" 69 1280 1328 1360 1696 600 601 615 631

とScreen セクションの

SubSection "Display"
                 Viewport   0 0
                 Depth     16
                 Modes     "1280x600"
EndSubSection

くらいは書いた方が無難。

Puppy Linux の場合

xvesa を使うほうが楽。
1280x600 を選ぶ際に選択画面が切れていて見えないので注意。ちゃんと選択肢にあるので、ウインドウを広げるなどして選択する。

Grub の設定

menu.lst

 title KNOPPIX
 root (hd0,2)
 kernel /boot/vmlinuz root=/dev/sda3 rootwait lang=ja apm=power-off nomce libata.force=noncq tz=localtime loglevel=1  rw
 
 title Puppy Linux 420 frugal
 rootnoverify (hd0,1)
 kernel /puppy420/vmlinuz pmedia=atahd psubdir=puppy420 nosmp
 initrd /puppy420/initrd.gz
 
 #title Windows
 #rootnoverify (hd0,1)
 #chainloader +1
 
 title Plop Boot Manager
 root (hd0,2)
 kernel /boot/plpbt.bin
[カテゴリ: OS > Linux]

[通知用URL]



  • Hatenaブックマークに追加
  • livedoorクリップに追加
  • del.icio.usに追加
  • FC2ブックマークに追加

最終更新時間:2011年10月17日 21時13分36秒