| デバイス | ブート | 始点 | 終点 | ブロック | ID | システム | マウントポイント |
| /dev/hda1 | * | 1 | 765 | 6144831 | 7 | HPFS/NTFS | /mnt/winxp |
| /dev/hda2 | 2173 | 2431 | 2080417+ | 1c | 隠し Win95 FAT32 (LBA) | ||
| /dev/hda3 | 766 | 829 | 514080 | 6 | FAT16 | /mnt/msdos | |
| /dev/hda4 | 830 | 2172 | 10787647+ | 5 | 拡張領域 | ||
| /dev/hda5 | 830 | 846 | 136521 | 83 | Linux | /boot | |
| /dev/hda6 | 847 | 914 | 546178+ | 82 | Linux スワップ | ||
| /dev/hda7 | 915 | 1807 | 7172991 | 83 | Linux | / | |
| /dev/hda8 | 1808 | 2172 | 2931831 | 83 | Linux | /home |
| apt-get install grub | |
| grub-install /dev/hda |
| useradd -c "Kentaro Motohara" -d /home/motohara -g xxx -u xxx -s /bin/tcsh motohara | |
| passwd motohara |
| sndconfig |
| apt-get install a2ps | |
| apt-get install fvwm2 | |
| apt-get install dvipdfm | |
| apt-get install xqbiff | |
| apt-get install gcc-g77 | |
| apt-get install xcolorsel | |
| apt-get install xengine |
| chkconfig --del webmin | |
| chkconfig --del postfix | |
| chkconfig --del httpd | |
| chkconfig --del netfs | |
| chkconfig --del kudzu | |
| chkconfig --del proftpd | |
| chkconfig --del sshd | |
| chkconfig --del lpd | |
| chkconfig --del autofs | |
| chkconfig --del nfslock | |
| chkconfig --level 345 ntpd on | |
| chkconfig --level 345 proftpd on |
| mkkpkg $INSTALLER/kernel-2.4.22-0vl2S55.src.rpm menuconfig |
# Software Suspend Patch #Patch980: swsusp-1.0-2.4.21.bz2 #Patch981: swsusp-1.0.1-incremental.bz2 #Patch982: swsusp-1.0.2-incremental.bz2 #Patch983: swsusp-1.0.3-incremental.bz2 #Patch980: swsusp-1.0.3-2.4.22.bz2 #Patch987: acpi-option.bz2 #Patch988: bootsplash-option.bz2 #Patch989: swsusp-1.0-nodebug.patch Patch980: software-suspend-linux-2.4.22-rev2-whole-without-patch-2.4.24.bz2 Patch981: software-suspend-core-2.0-whole.bz2 |
| と、 |
# software suspend
%ifarch %{all_x86}
%patch980 -p1
%patch981 -p1
#%patch981 -p1
#%patch982 -p1
#%patch983 -p1
#%patch987 -p1
#%patch988 -p1
#%patch989 -p1
%endif
|
General setup ---> Software Suspend support ---> Swap Writer (NEW) => y
LZF Compress image (NEW) => y
Compile in debugging output => y
Default resume2= setting: "swap:/dev/hda6" (NEW)
|
| kernel-2.4.22-0vl2S56.src.rpm |
| kernel-2.4.22-0vl2S56.i386.rpm |
| kernel-doc-2.4.22-0vl2S56.i386.rpm |
| kernel-headers-2.4.22-0vl2S56.i386.rpm |
| kernel-source-2.4.22-0vl2S56.i386.rpm |
| rpm -ivh $INSTALLER/kernel-2.4.22-0vl2S56.i386.rpm | |
| rpm -Uvh $INSTALLER/kernel-doc-2.4.22-0vl2S56.i386.rpm $INSTALLER/kernel-headers-2.4.22-0vl2S56.i386.rpm $INSTALLER/kernel-source-2.4.22-0vl2S56.i386.rpm |
| grub-install /dev/hda |
| $INSTALLER/suspend-vine.sh --install |
| /usr/sbin/hibernate |
| swsusp1.03 | swsusp2.0 | ||
|---|---|---|---|
| ハイバネート | 13秒 | -> | 13秒 |
| 復帰 | -> | 40秒 |
| rpm --rebuild acpid-1.0.2-1.src.rpm | |
| rpm -ivh $INSTALLER/acpid-1.0.2-1.i386.rpm | |
| service acpid start |
| /etc/acpi/events/acadapter.conf | |
| /etc/acpi/actions/acadapter.sh |
| /etc/acpi/events/button2.conf | |
| /etc/acpi/actions/button.sh |
| Fn+Esc | ミュート | |
| Fn+F1 | 画面ロック(xlock) | |
| Fn+F2 | CPUのパフォーマンスを切り替え | |
| Fn+F5 | ビデオ出力切り替え(元々可能) | |
| Fn+F6 | LED輝度増加 | |
| Fn+F7 | LED輝度減少 | |
| Fn+1 | 音量減少 | |
| Fn+2 | 音量増加 |
| cd /usr/src/ | |
| tar zxvpf $INSTALLER/tclkeymon-0.22-motohara0.2.tar.gz | |
| cd tclkeymon-0.22 | |
| cp tclkeymon /usr/local/sbin | |
| cp toshibakey /etc/rc.d/init.d | |
| chkconfig --add toshibakey | |
| service toshibakey start |
