[[PageOutline]] [[TitleIndex(TipAndDoc/Linux/Debian,format=group)]] * [http://www.debian.org/releases/squeeze/releasenotes Debian 6.0 -- リリースノート] * [http://www.debian.org/distrib/netinst インターネット経由の Debian GNU/Linux のインストール] * [http://www.debian.or.jp/using/mirror.html Debian JP Project - ミラーサイトについて] * [http://www.debian.org/releases/stable/amd64/apb.html.ja 付録 B. preseed を利用したインストールの自動化] * [https://help.ubuntu.com/10.04/installation-guide/i386/preseed-contents.html Contents of the preconfiguration file (for lucid)] = 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 (以下略) }}} * attachment:Xorg.0.log * 解決法 * [http://us.generation-nt.com/answer/monitor-detection-failure-video-display-help-200594141.html Answer : Monitor detection failure and video display] > With the new 2.6.32 kernel in Squeeze, KMS is turned on. KMS attempts to autodetect a monitor, and if it doesn't find one video goes blank. The way around this is to override KMS with the video= boot parameter. > > So I modified /etc/default/grub and changed the boot options from "quiet" to "quiet video=VGA-1:e" * ''''副作用(?)として、モニタを繋いでも映らなくなる(!)'''' * [http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=4b8f1a082069a17555d4142003213cf83d4e5464 nouveau/xf86-video-nouveau - Nouveau Xorg driver for NVIDIA chips] == additional packages == * apt-spy * $ sudo apt-spy -s jp -d stable * [http://www.debian.or.jp/using/mirror.html#nearestmirror Debian JP Project - ミラーサイトについて] * apt-file * /etc/cron.daily/apt-file {{{ #!/bin/sh test -x /usr/bin/apt-file || exit 0 /usr/bin/apt-file update > /dev/null }}} * bash-completion dnsutils file firmware-linux-free host htop less locate lsof ntp perl python screen sudo sysv-rc-conf telnet unzip vim == backports == * see also wiki:TipAndDoc/pms#packagemanagementsystem * 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" > }}} * http://backports-master.debian.org/Mirrors/ * /etc/apt/sources.list.d/backports.list {{{ deb http://ftp.jp.debian.org/debian-backports squeeze-backports main contrib non-free }}} == T23 2647-5JJ == * see [../../Hardware#T232647-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 * インストール途中に、以下のような要求が出る。 {{{ Some of your hardware needs non-free firmware files to operate. (snip) The missing firmware files are: b43/ucode5.fw b43-open/ucode5.fw (snip) }}} * [http://ubuntuforums.org/showthread.php?t=759100 ucode5.fw missing error - SOLVED - Ubuntu Forums] * [http://www.linuxwireless.org/en/users/Drivers/b43 b43 - Linux Wireless] = Dual Monitor = * on Debian Squeeze * Apple Cinema HD 30inch + Dell 2405FPW with ATI Radeon HD 4670 * 方法1 GPUがATI Radeon HD 4670なので、以下に従ってドライバを入れるととりあえず2560x1600で映るようになる * [http://wiki.debian.org/ATIProprietary 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に設定出来る * [http://samidarehetima.blog9.fc2.com/blog-entry-116.html 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 == * ATI Radeon HD 4670 * 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 }}} = JapaneseEnvironment = * http://wiki.debian.org/JapaneseEnvironment * フォント * $ sudo aptitude install -R ttf-vlgothic * 日本語入力 * $ sudo aptitude install im-config ibus-mozc * System > Preferences > iBus Preferenes * [Input Method] -> Add