wiki:TipAndDoc/Linux/Debian

Version 25 (modified by mitty, 13 years ago) (diff)

--

Install Squeeze

  • smallest install (with SSH server)
    • $ df -h
      Filesystem            Size  Used Avail Use% Mounted on
      /dev/sda1              19G  547M   18G   3% /
      tmpfs                 506M     0  506M   0% /lib/init/rw
      udev                  501M  132K  501M   1% /dev
      tmpfs                 506M     0  506M   0% /dev/shm
      
  • Choose a mirrorでリストにないミラーを選ぶ方法
    • 国別のリストで一番上にある「enter information manually」を選ぶ

X without hardware monitor

  • 「Graphical deskrtop environment」でインストールするとXが導入されるが、(少なくともNVIDIAのGPUが載っている環境で)モニタを繋がずに使おうとすると、Xが正常に起動せず無限に再起動する
    Feb 15 16:01:35 vm-host gdm3[1541]: WARNING: GdmDisplay: display lasted 0.473466 seconds
    Feb 15 16:01:35 vm-host acpid: client 1702[0:0] has disconnected
    Feb 15 16:01:35 vm-host acpid: client connected from 1715[0:0]
    Feb 15 16:01:35 vm-host acpid: 1 client rule loaded
    Feb 15 16:01:35 vm-host gdm3[1541]: WARNING: GdmDisplay: display lasted 0.477113 seconds
    Feb 15 16:01:35 vm-host acpid: client 1715[0:0] has disconnected
    Feb 15 16:01:35 vm-host acpid: client connected from 1964[0:0]
    Feb 15 16:01:35 vm-host acpid: 1 client rule loaded
    
    (以下略)
    

additional packages

  • bash-completion dnsutils firmware-linux-free host htop less locate lsof ntp screen sysv-rc-conf telnet unzip vim

backports

  • http://backports-master.debian.org/Instructions/

    Add backports to your sources.list

    1. Add this line to your sources.list (or add a new file to /etc/apt/sources.list.d/)
      deb http://backports.debian.org/debian-backports squeeze-backports main
      
    2. Run apt-get update

    Install a package from backports

    apt-get -t squeeze-backports install "package"
    
     aptitude -t squeeze-backports install "package"
    

T23 2647-5JJ

  • BIOSからLegacy Floppyをdisableにしないと認識に失敗してか、disk accessランプが付いたまま停止する
    • ps on busybox
      D mount /dev/fd0 -tauto /media
      
  • Wifi -> Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller rev2

Dual Monitor

  • on Debian Squeeze
  • Apple Cinema HD 30inch + Dell 2405FPW with ATI Radeon HD 4670
  • 方法1 GPUがATI Radeon HD 4670なので、以下に従ってドライバを入れるととりあえず2560x1600で映るようになる
    • ATIProprietary - Debian Wiki
    • ただし、そのままでは左右のディスプレイがミラー状態になるので、xorg.confを自分で編集する必要がありそう(未検証)
  • 方法2 Kernelをbackportする
    • deb http://ftp.jp.debian.org/debian-backports squeeze-backports main contrib non-free
    • $ sudo aptitude install -R -t squeeze-backports linux-image-2.6-amd64
    • 再起動するとMonitor Preferencesから問題なく2560x1600+1920x1200に設定出来る
  • Linux愛好者の独り言 Debian 6.0(squeeze)でデュアルモニタ
    • xrandr
      • 実機上でやる必要がある
    • sudo Xorg -configure
      • ログアウト, sudo service gdm3 stopしてからCUI上で行う
        Fatal server error:
        Server is already active for display 0
        	If this server is no longer running, remove /tmp/.X0-lock
        	and start again.
        
        
        Please consult the The X.Org Foundation support 
        	 at http://wiki.x.org
         for help. 
        
        

nonfree

Radeon firmware

  • dmese (before)
    [    5.461457] [drm] Loading RV730 Microcode
    [    5.588838] r600_cp: Failed to load firmware "radeon/RV730_pfp.bin"
    [    5.588878] [drm:rv770_startup] *ERROR* Failed to load firmware!
    [    5.588917] radeon 0000:01:00.0: disabling GPU acceleration
    
  • $ sudo aptitude install -R firmware-linux-nonfree
  • dmese (after)
    [    5.279896] [drm] Loading RV730 Microcode
    [    5.863369] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
    [    5.863685] radeon 0000:01:00.0: WB enabled
    

Attachments (1)

Download all attachments as: .zip