etch/A1.debootstrap
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
*debootstrap [#mad62fb1]
debootstrapを使用して、debianのユーザランドを構築する例を...
-debootstrap
#pre{{
landisk:~# debootstrap --arch sh4 \
--include=kernel-image-2.6.16-sh,kexec-tools,reiserfsprog...
gnupg,readline-common,libreadline5 \
etch /debian26 http://192.168.1.81/www/download/debian26
…省略…
I: Base system installed successfully.
}}
-landisk-toolsの適用
#pre{{
landisk0:~# tar vxzpf /share/www/download/debian26/base/l...
./boot/boot.b-selk
./etc/lilo.conf
./etc/init.d/
./etc/init.d/btnctrl
./sbin/lilo
./usr/local/lib/landisk-tools/btn_action.conf
./usr/local/src/landisk-tools/btnctrl.back
./usr/local/src/landisk-tools/gio2.c
./usr/local/src/landisk-tools/sh-lilo-selk.tgz
./usr/local/src/landisk-tools/btnctrl.c
./usr/local/src/landisk-tools/ledctrl.c
./usr/local/sbin/gio2
./usr/local/sbin/gio2_unload
./usr/local/sbin/ledctrl
./usr/local/sbin/landisk-tools.setup
./usr/local/sbin/gio2_load
}}
-初期設定ファイルの適用~
#pre{{
landisk:~# tar vxzpf /share/www/download/debian26/base/ba...
./boot/kernelsw.conf
./dev/sisusbvga0
./dev/sisusbvga1
./dev/sisusbvga2
./dev/sisusbvga3
./dev/sisusbvga4
./dev/sisusbvga5
./dev/sisusbvga6
./dev/sisusbvga7
./etc/X11/xorg.conf
./etc/apt/sources.list
./etc/apt/preferences
./etc/apt/apt.conf
./etc/console/boottime.kmap.gz
./etc/default/hotplug
./etc/securetty
./etc/fstab
./etc/hosts
./etc/hosts.allow
./etc/network/interfaces
./etc/modprobe.d/sisusbvga
./etc/hostname
./etc/localtime
./etc/hotplug/usb/pl2303
./etc/hotplug/usb/ftdi_sio
./etc/hosts.deny
./etc/inittab
./etc/resolv.conf
./root/.Xresources
./root/.emacs
./root/.twmrc
./root/.xsession
}}
-chrootでdebootstrap環境へ入る
#pre{{
landisk:~# chroot /debian26
chroot:/# mount -t proc proc proc
}}
-/devの作成
#pre{{
chroot:/# cd /dev
chroot:/dev# ./MAKEDEV generic-sh initrd usb video input md
chroot:/dev# cd /
}}
-rootパスワード&ユーザ設定
#pre{{
chroot:/# passwd
Enter new UNIX password: &color(red){landisk};
Retype new UNIX password: &color(red){landisk};
passwd: password updated successfully
chroot:/# adduser landisk
Adding user `landisk'...
Adding new group `landisk' (1000).
Adding new user `landisk' (1000) with group `landisk'.
Creating home directory `/home/landisk'.
Copying files from `/etc/skel'
Enter new UNIX password: &color(red){landisk};
Retype new UNIX password: &color(red){landisk};
passwd: password updated successfully
Changing the user information for landisk
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
}}
-landisk-toolsのセットアップ~
#pre{{
chroot:/# /usr/local/sbin/landisk-tools.setup
Removing any system startup links for /etc/init.d/landis...
Removing any system startup links for /etc/init.d/btnctr...
Adding system startup for /etc/init.d/btnctrl ...
/etc/rc0.d/K00btnctrl -> ../init.d/btnctrl
/etc/rc1.d/K00btnctrl -> ../init.d/btnctrl
/etc/rc6.d/K00btnctrl -> ../init.d/btnctrl
/etc/rc2.d/S99btnctrl -> ../init.d/btnctrl
/etc/rc3.d/S99btnctrl -> ../init.d/btnctrl
/etc/rc4.d/S99btnctrl -> ../init.d/btnctrl
/etc/rc5.d/S99btnctrl -> ../init.d/btnctrl
Starting btnctrl/dev/btnctrl open error...
.
}}
-後始末&chroot環境を抜ける~
#pre{{
chroot:/# dpkg --purge debootstrap-udeb
chroot:/# apt-get clean
chroot:/# rm /var/lib/apt/lists/192.168.1.81*
chroot:/# umount /proc
chroot:/# exit
exit
landisk:~#
}}
-圧縮
#pre{{
landisk:~# tar --numeric-owner -cvzpf base26-sh4-20051121...
}}
~
*初期設定ファイルの詳細 [#q643e588]
**ネットワーク/システム関係 [#bfdcca4b]
-ファイルシステム
--/etc/fstab~
起動時fsckをスキップさせるため、6カラム目を0にする。~
シリアルコンソールがない場合、手のほどこししようがなくな...
#pre{{
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/hda3 / ext2 defaults 0 &col...
#proc /proc proc defaults 0 0
/dev/hda2 swap swap defaults 0 0
}}
&color(red){ブート時「Mounting local filesystems...failed...
~
-タイムゾーンの設定~
--Asia/Tokyoを設定~
#pre{{
# tzconfig
Your current time zone is set to UTC
Do you want to change that? [n]: y
…省略
Your default time zone is set to 'Asia/Tokyo'.
Local time is now: Sat Apr 9 18:01:07 JST 2005.
Universal Time is now: Sat Apr 9 09:01:07 UTC 2005.
}}
-ネットワーク設定~
--/etc/hosts~
#pre{{
127.0.0.1 localhost
192.168.1.81 landisk
}}
--/etc/hostname~
landisk
--/etc/resolv.conf~
nameserver 192.168.1.1
--/etc/network/interfaces~
#pre{{
# Used by ifup(8) and ifdown(8). See the interfaces(5) ma...
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.81
netmask 255.255.255.0
gateway 192.168.1.1
}}
-login/セキュリティ関係~
--/etc/securetty
#pre{{
# /etc/securetty: list of terminals on which root is allo...
# See securetty(5) and login(1).
console
&color(red){ttySC1 ←追加};
}}
--/etc/inittab
#pre{{
# Note that on most Debian systems tty7 is used by the X ...
# so if you want to add more getty's go ahead but skip tt...
#
&color(red){1:2345:respawn:/sbin/getty 9600 ttySC1 ← 追...
&color(red){2:23:respawn:/sbin/getty 38400 tty1 ← 追加(...
&color(red){#};1:2345:respawn:/sbin/getty 38400 tty1 ← ...
&color(red){#};2:23:respawn:/sbin/getty 38400 tty2
&color(red){#};3:23:respawn:/sbin/getty 38400 tty3
&color(red){#};4:23:respawn:/sbin/getty 38400 tty4
&color(red){#};5:23:respawn:/sbin/getty 38400 tty5
&color(red){#};6:23:respawn:/sbin/getty 38400 tty6
}}
--/etc/hosts.allow
#pre{{
ALL : 127.0.0.1 192.168.1. 192.168.0. ← 追加
}}
--/etc/hosts.deny
#pre{{
ALL : ALL ← 追加
}}
-apt-getの設定~
--/etc/apt/sources.list
#pre{{
deb http://eggplant.ddo.jp/www/download/debian26 etch nain
deb-src http://ftp.debian.or.jp/debian/ etch main non-fre...
}}
--/etc/apt/apt.conf
#pre{{
APT::GET::AllowUnauthenticated 1;
}}
--/etc/apt/preferences~
ホールド指定(現状ノンアクティブ)とxfree86パッケージを除去...
#pre{{
Package: *
Pin: release l=debian26-hold
Pin-Priority: 1001
… 省略 …
Package: xserver-xfree86
Pin: version 4.*
Pin-Priority: -1
… 省略 …
}}
**USBデバイス、X11、アプリの初期設定 [#l0600c3c]
-USBシリアルケーブルで接続できるように設定しておく~
--/etc/hotplug/usb/ftdi_sio
--/etc/hotplug/usb/pl2303
#pre{{
#!/bin/sh
/sbin/getty -L ttyUSB0 9600 vt100 &
#/sbin/getty -L ttyUSB0 38400 vt100 &
exit 0
}}
-サインはVGA関係のコンソール設定だけしておく~
--/etc/default/hotplug~
下記箇所を変更~
#pre{{
IGNORE_PCI_CLASS_DISPLAY=false
}}
--etc/inittab
#pre{{
1:2345:respawn:/sbin/getty 9600 ttySC1
2:23:respawn:/sbin/getty 38400 tty1
}}
--/etc/modprobe.d/sisusbvga
#pre{{
options sisusbvga first=1 last=1
}}
--/dev/sisusbvgaドライバの用意
#pre{{
landisk:~# mknod /dev/sisusbvga0 c 180 133
landisk:~# mknod /dev/sisusbvga1 c 180 134
landisk:~# mknod /dev/sisusbvga2 c 180 135
landisk:~# mknod /dev/sisusbvga3 c 180 136
landisk:~# mknod /dev/sisusbvga4 c 180 137
landisk:~# mknod /dev/sisusbvga5 c 180 138
landisk:~# mknod /dev/sisusbvga6 c 180 139
landisk:~# mknod /dev/sisusbvga7 c 180 140
landisk:~# chmod 660 /dev/sisusbvga
}}
--コンソールのキーボード配列指定
#pre{{
# ln -s /usr/share/keymaps/i386/qwerty/jp106.kmap.gz /mnt...
}}
-X11関係~
--/etc/X11/xorg.conf
--/root/.xsession
--/root/.Xresources
--/root/.twmrc
-その他~
--/root/.emacs
--/boot/kernelsw.conf
*初期パッケージ [#qe678de8]
#pre{{
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-confi...
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Stat...
||/ Name Version Descript...
+++-======================-=====================-========...
ii adduser 3.77 Add and ...
ii apt 0.6.42.1 Advanced...
ii apt-utils 0.6.42.1 APT util...
ii aptitude 0.2.15.9-7 terminal...
ii at 3.1.9 Delayed ...
ii base-config 2.73 Debian b...
ii base-files 3.1.9 Debian b...
ii base-passwd 3.5.10 Debian b...
ii bash 3.0-17 The GNU ...
ii bsdmainutils 6.1.2 collecti...
ii bsdutils 2.12p-8 Basic ut...
ii console-common 0.7.54 Basic in...
ii console-data 2002.12.04dbs-49 Keymaps,...
ii console-tools 0.2.3dbs-57 Linux co...
ii coreutils 5.2.1-2.1 The GNU ...
ii cpio 2.6-9 GNU cpio...
ii cron 3.0pl1-91 manageme...
ii debconf 1.4.58 Debian c...
ii debconf-i18n 1.4.58 full int...
ii debianutils 2.15 Miscella...
ii dhcp-client 2.0pl5-19.1 DHCP Cli...
ii diff 2.8.1-11 File com...
ii dpkg 1.13.11 package ...
ii dselect 1.13.11 user too...
ii e2fslibs 1.38-2 ext2 fil...
ii e2fsprogs 1.38-2 ext2 fil...
ii ed 0.2-20 The clas...
ii exim4 4.54-1 metapack...
ii exim4-base 4.54-1 support ...
ii exim4-config 4.54-1 configur...
ii exim4-daemon-light 4.54-1 lightwei...
ii findutils 4.2.25-1 utilitie...
ii gcc-4.0-base 4.0.2-2 The GNU ...
ii gettext-base 0.14.5-2 GNU Inte...
ii gpgv-udeb 1.4.1-1 minimal ...
ii grep 2.5.1.ds2-2 GNU grep...
ii groff-base 1.18.1.1-10 GNU trof...
ii gzip 1.3.5-12 The GNU ...
ii hostname 2.91 utility ...
ii hotplug 0.0.20040329-25 Linux Ho...
ii ifupdown 0.6.7 high lev...
ii info 4.8-1 Standalo...
ii initscripts 2.86.ds1-4 Standard...
ii iptables 1.3.3-2 Linux ke...
ii iputils-ping 20020927-3 Tools to...
ii kernel-image-2.6.14-sh landisk.0.1 Linux ke...
ii kexec-tools 1.101-2sh kexec tool
ii klogd 1.4.1-17 Kernel L...
ii laptop-detect 0.12.1 attempt ...
ii libacl1 2.2.32-1 Access c...
ii libattr1 2.4.25-1 Extended...
ii libblkid1 1.38-2 block de...
ii libbz2-1.0 1.0.2-10 high-qua...
ii libc6 2.3.5-8 GNU C Li...
ii libcap1 1.10-14 support ...
ii libcomerr2 1.38-2 common e...
ii libconsole 0.2.3dbs-57 Shared l...
ii libdb2 2.7.7.0-10 The Berk...
ii libdb3 3.2.9-22 Berkeley...
ii libdb4.2 4.2.52-18 Berkeley...
ii libdb4.3 4.3.28-2 Berkeley...
ii libgcc1 4.0.2-2 GCC supp...
ii libgcrypt11 1.2.2-1 LGPL Cry...
ii libgdbm3 1.8.3-2 GNU dbm ...
ii libgnutls11 1.0.16-14 GNU TLS ...
ii libgpg-error0 1.1-4 library ...
ii libident 0.22-3 simple R...
ii libkrb53 1.3.6-5 MIT Kerb...
ii libldap2 2.1.30-12 OpenLDAP...
ii liblocale-gettext-perl 1.05-1 Using li...
ii liblockfile1 1.06 NFS-safe...
ii liblzo1 1.08-2 data com...
ii libncurses5 5.4-9 Shared l...
ii libncursesw5 5.4-9 Shared l...
ii libnewt0.51 0.51.6-31 Not Erik...
ii libopencdk8 0.5.7-2 Open Cry...
ii libpam-modules 0.79-3 Pluggabl...
ii libpam-runtime 0.79-3 Runtime ...
ii libpam0g 0.79-3 Pluggabl...
ii libpcre3 6.4-1 Perl 5 C...
ii libpopt0 1.7-5 lib for ...
ii libsasl2 2.1.19-1.7 Authenti...
ii libsasl2-modules 2.1.19-1.7 Pluggabl...
ii libselinux1 1.26-1 SELinux ...
ii libsepol1 1.8-1 Security...
ii libsigc++-1.2-5c2 1.2.5-5 type-saf...
ii libslang2 2.0.4-7 The S-La...
ii libss2 1.38-2 command-...
ii libssl0.9.7 0.9.7g-5 SSL shar...
ii libssl0.9.8 0.9.8a-3 SSL shar...
ii libstdc++6 4.0.2-2 The GNU ...
ii libtasn1-2 0.2.13-1 Manage A...
ii libtext-charwidth-perl 0.04-3 get disp...
ii libtext-iconv-perl 1.4-2 converts...
ii libtext-wrapi18n-perl 0.06-4 internat...
ii libtextwrap1 0.1-3 text-wra...
ii libusb-0.1-4 0.1.10a-21 userspac...
ii libuuid1 1.38-2 universa...
ii libwrap0 7.6.dbs-8 Wietse V...
ii login 4.0.13-1 system l...
ii logrotate 3.7.1-2 Log rota...
ii lsb-base 3.0-11 Linux St...
ii mailx 8.1.2-0.20050715cvs-1 A simple...
ii makedev 2.3.1-78 creates ...
ii man-db 2.4.3-3 The on-l...
ii manpages 2.02-2 Manual p...
ii mawk 1.3.3-11 a patter...
ii module-init-tools 3.2-pre9-2 tools fo...
ii modutils 2.4.27.0-3 Linux mo...
ii mount 2.12p-8 Tools fo...
ii nano 1.3.8-2 free Pic...
ii ncurses-base 5.4-9 Descript...
ii ncurses-bin 5.4-9 Terminal...
ii net-tools 1.60-16 The NET-...
ii netbase 4.23 Basic TC...
ii netkit-inetd 0.10-10.2 The Inte...
ii nvi 1.79-22 4.4BSD r...
ii passwd 4.0.13-1 change a...
ii perl-base 5.8.7-7 The Path...
ii procps 3.2.5-1 /proc fi...
ii psmisc 21.6-1 Utilitie...
ii reiserfsprogs 3.6.19-1 User-lev...
ii sasl2-bin 2.1.19-1.7 Programs...
ii sed 4.1.2-8 The GNU ...
ii slang1a-utf8 1.4.9dbs-8 The S-La...
ii sysklogd 1.4.1-17 System L...
ii sysv-rc 2.86.ds1-4 Standard...
ii sysvinit 2.86.ds1-4 System-V...
ii tar 1.15.1-2 GNU tar
ii tasksel 2.32 Tool for...
ii tcpd 7.6.dbs-8 Wietse V...
ii telnetd 0.17-32 The teln...
ii util-linux 2.12p-8 Miscella...
ii wget 1.10.2-1 retrieve...
ii whiptail 0.51.6-31 Displays...
ii zlib1g 1.2.3-4 compress...
}}
終了行:
*debootstrap [#mad62fb1]
debootstrapを使用して、debianのユーザランドを構築する例を...
-debootstrap
#pre{{
landisk:~# debootstrap --arch sh4 \
--include=kernel-image-2.6.16-sh,kexec-tools,reiserfsprog...
gnupg,readline-common,libreadline5 \
etch /debian26 http://192.168.1.81/www/download/debian26
…省略…
I: Base system installed successfully.
}}
-landisk-toolsの適用
#pre{{
landisk0:~# tar vxzpf /share/www/download/debian26/base/l...
./boot/boot.b-selk
./etc/lilo.conf
./etc/init.d/
./etc/init.d/btnctrl
./sbin/lilo
./usr/local/lib/landisk-tools/btn_action.conf
./usr/local/src/landisk-tools/btnctrl.back
./usr/local/src/landisk-tools/gio2.c
./usr/local/src/landisk-tools/sh-lilo-selk.tgz
./usr/local/src/landisk-tools/btnctrl.c
./usr/local/src/landisk-tools/ledctrl.c
./usr/local/sbin/gio2
./usr/local/sbin/gio2_unload
./usr/local/sbin/ledctrl
./usr/local/sbin/landisk-tools.setup
./usr/local/sbin/gio2_load
}}
-初期設定ファイルの適用~
#pre{{
landisk:~# tar vxzpf /share/www/download/debian26/base/ba...
./boot/kernelsw.conf
./dev/sisusbvga0
./dev/sisusbvga1
./dev/sisusbvga2
./dev/sisusbvga3
./dev/sisusbvga4
./dev/sisusbvga5
./dev/sisusbvga6
./dev/sisusbvga7
./etc/X11/xorg.conf
./etc/apt/sources.list
./etc/apt/preferences
./etc/apt/apt.conf
./etc/console/boottime.kmap.gz
./etc/default/hotplug
./etc/securetty
./etc/fstab
./etc/hosts
./etc/hosts.allow
./etc/network/interfaces
./etc/modprobe.d/sisusbvga
./etc/hostname
./etc/localtime
./etc/hotplug/usb/pl2303
./etc/hotplug/usb/ftdi_sio
./etc/hosts.deny
./etc/inittab
./etc/resolv.conf
./root/.Xresources
./root/.emacs
./root/.twmrc
./root/.xsession
}}
-chrootでdebootstrap環境へ入る
#pre{{
landisk:~# chroot /debian26
chroot:/# mount -t proc proc proc
}}
-/devの作成
#pre{{
chroot:/# cd /dev
chroot:/dev# ./MAKEDEV generic-sh initrd usb video input md
chroot:/dev# cd /
}}
-rootパスワード&ユーザ設定
#pre{{
chroot:/# passwd
Enter new UNIX password: &color(red){landisk};
Retype new UNIX password: &color(red){landisk};
passwd: password updated successfully
chroot:/# adduser landisk
Adding user `landisk'...
Adding new group `landisk' (1000).
Adding new user `landisk' (1000) with group `landisk'.
Creating home directory `/home/landisk'.
Copying files from `/etc/skel'
Enter new UNIX password: &color(red){landisk};
Retype new UNIX password: &color(red){landisk};
passwd: password updated successfully
Changing the user information for landisk
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
}}
-landisk-toolsのセットアップ~
#pre{{
chroot:/# /usr/local/sbin/landisk-tools.setup
Removing any system startup links for /etc/init.d/landis...
Removing any system startup links for /etc/init.d/btnctr...
Adding system startup for /etc/init.d/btnctrl ...
/etc/rc0.d/K00btnctrl -> ../init.d/btnctrl
/etc/rc1.d/K00btnctrl -> ../init.d/btnctrl
/etc/rc6.d/K00btnctrl -> ../init.d/btnctrl
/etc/rc2.d/S99btnctrl -> ../init.d/btnctrl
/etc/rc3.d/S99btnctrl -> ../init.d/btnctrl
/etc/rc4.d/S99btnctrl -> ../init.d/btnctrl
/etc/rc5.d/S99btnctrl -> ../init.d/btnctrl
Starting btnctrl/dev/btnctrl open error...
.
}}
-後始末&chroot環境を抜ける~
#pre{{
chroot:/# dpkg --purge debootstrap-udeb
chroot:/# apt-get clean
chroot:/# rm /var/lib/apt/lists/192.168.1.81*
chroot:/# umount /proc
chroot:/# exit
exit
landisk:~#
}}
-圧縮
#pre{{
landisk:~# tar --numeric-owner -cvzpf base26-sh4-20051121...
}}
~
*初期設定ファイルの詳細 [#q643e588]
**ネットワーク/システム関係 [#bfdcca4b]
-ファイルシステム
--/etc/fstab~
起動時fsckをスキップさせるため、6カラム目を0にする。~
シリアルコンソールがない場合、手のほどこししようがなくな...
#pre{{
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/hda3 / ext2 defaults 0 &col...
#proc /proc proc defaults 0 0
/dev/hda2 swap swap defaults 0 0
}}
&color(red){ブート時「Mounting local filesystems...failed...
~
-タイムゾーンの設定~
--Asia/Tokyoを設定~
#pre{{
# tzconfig
Your current time zone is set to UTC
Do you want to change that? [n]: y
…省略
Your default time zone is set to 'Asia/Tokyo'.
Local time is now: Sat Apr 9 18:01:07 JST 2005.
Universal Time is now: Sat Apr 9 09:01:07 UTC 2005.
}}
-ネットワーク設定~
--/etc/hosts~
#pre{{
127.0.0.1 localhost
192.168.1.81 landisk
}}
--/etc/hostname~
landisk
--/etc/resolv.conf~
nameserver 192.168.1.1
--/etc/network/interfaces~
#pre{{
# Used by ifup(8) and ifdown(8). See the interfaces(5) ma...
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.81
netmask 255.255.255.0
gateway 192.168.1.1
}}
-login/セキュリティ関係~
--/etc/securetty
#pre{{
# /etc/securetty: list of terminals on which root is allo...
# See securetty(5) and login(1).
console
&color(red){ttySC1 ←追加};
}}
--/etc/inittab
#pre{{
# Note that on most Debian systems tty7 is used by the X ...
# so if you want to add more getty's go ahead but skip tt...
#
&color(red){1:2345:respawn:/sbin/getty 9600 ttySC1 ← 追...
&color(red){2:23:respawn:/sbin/getty 38400 tty1 ← 追加(...
&color(red){#};1:2345:respawn:/sbin/getty 38400 tty1 ← ...
&color(red){#};2:23:respawn:/sbin/getty 38400 tty2
&color(red){#};3:23:respawn:/sbin/getty 38400 tty3
&color(red){#};4:23:respawn:/sbin/getty 38400 tty4
&color(red){#};5:23:respawn:/sbin/getty 38400 tty5
&color(red){#};6:23:respawn:/sbin/getty 38400 tty6
}}
--/etc/hosts.allow
#pre{{
ALL : 127.0.0.1 192.168.1. 192.168.0. ← 追加
}}
--/etc/hosts.deny
#pre{{
ALL : ALL ← 追加
}}
-apt-getの設定~
--/etc/apt/sources.list
#pre{{
deb http://eggplant.ddo.jp/www/download/debian26 etch nain
deb-src http://ftp.debian.or.jp/debian/ etch main non-fre...
}}
--/etc/apt/apt.conf
#pre{{
APT::GET::AllowUnauthenticated 1;
}}
--/etc/apt/preferences~
ホールド指定(現状ノンアクティブ)とxfree86パッケージを除去...
#pre{{
Package: *
Pin: release l=debian26-hold
Pin-Priority: 1001
… 省略 …
Package: xserver-xfree86
Pin: version 4.*
Pin-Priority: -1
… 省略 …
}}
**USBデバイス、X11、アプリの初期設定 [#l0600c3c]
-USBシリアルケーブルで接続できるように設定しておく~
--/etc/hotplug/usb/ftdi_sio
--/etc/hotplug/usb/pl2303
#pre{{
#!/bin/sh
/sbin/getty -L ttyUSB0 9600 vt100 &
#/sbin/getty -L ttyUSB0 38400 vt100 &
exit 0
}}
-サインはVGA関係のコンソール設定だけしておく~
--/etc/default/hotplug~
下記箇所を変更~
#pre{{
IGNORE_PCI_CLASS_DISPLAY=false
}}
--etc/inittab
#pre{{
1:2345:respawn:/sbin/getty 9600 ttySC1
2:23:respawn:/sbin/getty 38400 tty1
}}
--/etc/modprobe.d/sisusbvga
#pre{{
options sisusbvga first=1 last=1
}}
--/dev/sisusbvgaドライバの用意
#pre{{
landisk:~# mknod /dev/sisusbvga0 c 180 133
landisk:~# mknod /dev/sisusbvga1 c 180 134
landisk:~# mknod /dev/sisusbvga2 c 180 135
landisk:~# mknod /dev/sisusbvga3 c 180 136
landisk:~# mknod /dev/sisusbvga4 c 180 137
landisk:~# mknod /dev/sisusbvga5 c 180 138
landisk:~# mknod /dev/sisusbvga6 c 180 139
landisk:~# mknod /dev/sisusbvga7 c 180 140
landisk:~# chmod 660 /dev/sisusbvga
}}
--コンソールのキーボード配列指定
#pre{{
# ln -s /usr/share/keymaps/i386/qwerty/jp106.kmap.gz /mnt...
}}
-X11関係~
--/etc/X11/xorg.conf
--/root/.xsession
--/root/.Xresources
--/root/.twmrc
-その他~
--/root/.emacs
--/boot/kernelsw.conf
*初期パッケージ [#qe678de8]
#pre{{
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-confi...
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Stat...
||/ Name Version Descript...
+++-======================-=====================-========...
ii adduser 3.77 Add and ...
ii apt 0.6.42.1 Advanced...
ii apt-utils 0.6.42.1 APT util...
ii aptitude 0.2.15.9-7 terminal...
ii at 3.1.9 Delayed ...
ii base-config 2.73 Debian b...
ii base-files 3.1.9 Debian b...
ii base-passwd 3.5.10 Debian b...
ii bash 3.0-17 The GNU ...
ii bsdmainutils 6.1.2 collecti...
ii bsdutils 2.12p-8 Basic ut...
ii console-common 0.7.54 Basic in...
ii console-data 2002.12.04dbs-49 Keymaps,...
ii console-tools 0.2.3dbs-57 Linux co...
ii coreutils 5.2.1-2.1 The GNU ...
ii cpio 2.6-9 GNU cpio...
ii cron 3.0pl1-91 manageme...
ii debconf 1.4.58 Debian c...
ii debconf-i18n 1.4.58 full int...
ii debianutils 2.15 Miscella...
ii dhcp-client 2.0pl5-19.1 DHCP Cli...
ii diff 2.8.1-11 File com...
ii dpkg 1.13.11 package ...
ii dselect 1.13.11 user too...
ii e2fslibs 1.38-2 ext2 fil...
ii e2fsprogs 1.38-2 ext2 fil...
ii ed 0.2-20 The clas...
ii exim4 4.54-1 metapack...
ii exim4-base 4.54-1 support ...
ii exim4-config 4.54-1 configur...
ii exim4-daemon-light 4.54-1 lightwei...
ii findutils 4.2.25-1 utilitie...
ii gcc-4.0-base 4.0.2-2 The GNU ...
ii gettext-base 0.14.5-2 GNU Inte...
ii gpgv-udeb 1.4.1-1 minimal ...
ii grep 2.5.1.ds2-2 GNU grep...
ii groff-base 1.18.1.1-10 GNU trof...
ii gzip 1.3.5-12 The GNU ...
ii hostname 2.91 utility ...
ii hotplug 0.0.20040329-25 Linux Ho...
ii ifupdown 0.6.7 high lev...
ii info 4.8-1 Standalo...
ii initscripts 2.86.ds1-4 Standard...
ii iptables 1.3.3-2 Linux ke...
ii iputils-ping 20020927-3 Tools to...
ii kernel-image-2.6.14-sh landisk.0.1 Linux ke...
ii kexec-tools 1.101-2sh kexec tool
ii klogd 1.4.1-17 Kernel L...
ii laptop-detect 0.12.1 attempt ...
ii libacl1 2.2.32-1 Access c...
ii libattr1 2.4.25-1 Extended...
ii libblkid1 1.38-2 block de...
ii libbz2-1.0 1.0.2-10 high-qua...
ii libc6 2.3.5-8 GNU C Li...
ii libcap1 1.10-14 support ...
ii libcomerr2 1.38-2 common e...
ii libconsole 0.2.3dbs-57 Shared l...
ii libdb2 2.7.7.0-10 The Berk...
ii libdb3 3.2.9-22 Berkeley...
ii libdb4.2 4.2.52-18 Berkeley...
ii libdb4.3 4.3.28-2 Berkeley...
ii libgcc1 4.0.2-2 GCC supp...
ii libgcrypt11 1.2.2-1 LGPL Cry...
ii libgdbm3 1.8.3-2 GNU dbm ...
ii libgnutls11 1.0.16-14 GNU TLS ...
ii libgpg-error0 1.1-4 library ...
ii libident 0.22-3 simple R...
ii libkrb53 1.3.6-5 MIT Kerb...
ii libldap2 2.1.30-12 OpenLDAP...
ii liblocale-gettext-perl 1.05-1 Using li...
ii liblockfile1 1.06 NFS-safe...
ii liblzo1 1.08-2 data com...
ii libncurses5 5.4-9 Shared l...
ii libncursesw5 5.4-9 Shared l...
ii libnewt0.51 0.51.6-31 Not Erik...
ii libopencdk8 0.5.7-2 Open Cry...
ii libpam-modules 0.79-3 Pluggabl...
ii libpam-runtime 0.79-3 Runtime ...
ii libpam0g 0.79-3 Pluggabl...
ii libpcre3 6.4-1 Perl 5 C...
ii libpopt0 1.7-5 lib for ...
ii libsasl2 2.1.19-1.7 Authenti...
ii libsasl2-modules 2.1.19-1.7 Pluggabl...
ii libselinux1 1.26-1 SELinux ...
ii libsepol1 1.8-1 Security...
ii libsigc++-1.2-5c2 1.2.5-5 type-saf...
ii libslang2 2.0.4-7 The S-La...
ii libss2 1.38-2 command-...
ii libssl0.9.7 0.9.7g-5 SSL shar...
ii libssl0.9.8 0.9.8a-3 SSL shar...
ii libstdc++6 4.0.2-2 The GNU ...
ii libtasn1-2 0.2.13-1 Manage A...
ii libtext-charwidth-perl 0.04-3 get disp...
ii libtext-iconv-perl 1.4-2 converts...
ii libtext-wrapi18n-perl 0.06-4 internat...
ii libtextwrap1 0.1-3 text-wra...
ii libusb-0.1-4 0.1.10a-21 userspac...
ii libuuid1 1.38-2 universa...
ii libwrap0 7.6.dbs-8 Wietse V...
ii login 4.0.13-1 system l...
ii logrotate 3.7.1-2 Log rota...
ii lsb-base 3.0-11 Linux St...
ii mailx 8.1.2-0.20050715cvs-1 A simple...
ii makedev 2.3.1-78 creates ...
ii man-db 2.4.3-3 The on-l...
ii manpages 2.02-2 Manual p...
ii mawk 1.3.3-11 a patter...
ii module-init-tools 3.2-pre9-2 tools fo...
ii modutils 2.4.27.0-3 Linux mo...
ii mount 2.12p-8 Tools fo...
ii nano 1.3.8-2 free Pic...
ii ncurses-base 5.4-9 Descript...
ii ncurses-bin 5.4-9 Terminal...
ii net-tools 1.60-16 The NET-...
ii netbase 4.23 Basic TC...
ii netkit-inetd 0.10-10.2 The Inte...
ii nvi 1.79-22 4.4BSD r...
ii passwd 4.0.13-1 change a...
ii perl-base 5.8.7-7 The Path...
ii procps 3.2.5-1 /proc fi...
ii psmisc 21.6-1 Utilitie...
ii reiserfsprogs 3.6.19-1 User-lev...
ii sasl2-bin 2.1.19-1.7 Programs...
ii sed 4.1.2-8 The GNU ...
ii slang1a-utf8 1.4.9dbs-8 The S-La...
ii sysklogd 1.4.1-17 System L...
ii sysv-rc 2.86.ds1-4 Standard...
ii sysvinit 2.86.ds1-4 System-V...
ii tar 1.15.1-2 GNU tar
ii tasksel 2.32 Tool for...
ii tcpd 7.6.dbs-8 Wietse V...
ii telnetd 0.17-32 The teln...
ii util-linux 2.12p-8 Miscella...
ii wget 1.10.2-1 retrieve...
ii whiptail 0.51.6-31 Displays...
ii zlib1g 1.2.3-4 compress...
}}
ページ名: