&size(24){&color(darkgreen){''Debian GNU/Linux''};}; #navi(Linux) ''CONTENTS'' #contents ---- ''REFERENCES'' -[[Debian UnstableでGO!>http://www.ut-info.com/unstable/]] -[[Debian GNU/Linux スレッドテンプレ>http://debian.fam.cx/index.php?TopPage]] -[[How to Rebuild Kernel>http://namazu.org/~tsuchiya/debian/kernel.html]] -[[RedHat ユーザの Debian GNU/Linux 3.0 インストール日記 >http://www.deer-n-horse.jp/linux/dialy/debian_woody_install-old.html]] -[[grub splash image>http://www.schultz-net.dk/grub.html]] -[[Dell Inspiron 700m and Debian 3.1>http://www.progsoc.org/~wildfire/notes/dell700m.html]] -[[Dell 700m with Debian Sarge>http://www.celifornia.com/documents/dell700m.html]] ---- *** grub [#id4c6509] -SplashImage の設定 ~/boot/grub/menu.lstを編集 title の前に追加 splashimage=(hd0,2)/boot/grub/hoge.xpm.gz *** service の設定 [#b449c866] # update-rc.d service_name start 起動順の番号 runlevel . stop 起動順の番号 runlevel . # update-rc.d -f xdm remove (事前にリンクを削除しておく) # update-rc.d xdm stop 1 0 1 6 . stop 99 2 3 4 5 . *** keymap の変更 [#gd4038ca] -/etc/console-tools/remapを編集。/etc/console/boottime.keymap.gzを直接編集でもOK *** package 管理 [#ieb59ff7] |~パッケージ管理|~RedHat Linux 7.3|~Debian GNU/Linux 3.0| |コマンド|rpm|dpkg/apt-get| |パッケージファイル拡張子|rpm|deb| |パッケージのインストール|rpm -i package.rpm |dpkg -i package.deb| |パッケージに含まれるファイル一覧表示 |rpm -ql package|dpkg -L package| |パッケージアーカイブに含まれるファイル一覧表示|rpm -qpl package.rpm |dpkg -c package.deb| |ファイルの所属するパッケージ名検索 |rpm -qf [PATH]/[FILENAME] |dpkg -S [PATH]/[FILENAME]| |パッケージアーカイブの依存関係チェック |rpm -qpR package.rpm |dpkg -I package.deb| |パッケージ情報の表示 |rpm -qi package |dpkg -s package| |パッケージアーカイブの情報表示 |rpm -qpi package.rpm |dpkg -I package.deb| |アップデートテスト (時には、アップデートパッケージがちゃんと入るかテストしたいときもある。)| rpm -ivh --test updatepackage.i386.rpm| apt-get upgrade --simulate (アップデート侯補のリストアップ)| :-force-all|禁断のdpkgオプション *** Unstable用aptlines [#jd3cafe3] deb http://http1.debian.or.jp/debian-ddtp ja/unstable main deb-src http://http1.debian.or.jp/debian-ddtp ja/unstable main deb http://http1.debian.or.jp/debian/ unstable main contrib non-free deb-src http://http1.debian.or.jp/debian/ unstable main contrib non-free deb http://http1.debian.or.jp/debian-non-US/ unstable/non-US main contrib non-free deb-src http://http1.debian.or.jp/debian-non-US/ unstable/non-US main contrib non-free deb http://http1.debian.or.jp/debian-jp unstable-jp main contrib non-free deb-src http://http1.debian.or.jp/debian-jp unstable-jp main contrib non-free deb http://security.debian.org/debian-non-US unstable/non-US main contrib non-free deb-src http://security.debian.org/debian-non-US unstable/non-US main contrib non-free deb http://navi2ch.sourceforge.net/debian ./ deb ftp://ftp.nerim.net/debian-marillat/ unstable main deb-src ftp://ftp.nerim.net/debian-marillat/ unstable main *** Kernel Rebuild [#a70babd4] # apt-get install kernel-package # apt-get install kernel-source # apt-get install kernel-patch vi /etc/kernel-pkg.conf patch_the_kernel := YES cd /usr/src/linux make-kpkg clean make-kpkg --config=menuconfig --revision=redmagic4.0 kernel_image dpkg -i ../kernel-image-2.4.x_redmagic4.0_i386.deb (initrd imageで組込みたいmoduleがあるときは、/etc/mkinitrd/modulesに書いておく) vi /etc/mkinitrd/modules vesafb