「各種設定」の編集履歴(バックアップ)一覧はこちら

各種設定」(2015/03/12 (木) 09:01:08) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

**表示言語を英語にする > # dpkg-reconfigure locales > # reboot **ホスト名を設定する > # vi /etc/hostname > KUROBOX-PRO > :wq > # vi /etc/hosts > 127.0.0.1 localhost KUROBOX-PRO > :wq **df 実行時に root device disk が UUID で出力されるのを止める > # vi /etc/initramfs-tools/scripts/local-premount/rootdevice > #!/bin/sh > # Mimic a "normal" mount of root device by translating the device link > # (UUID or LABEL) to the actual device. > > set -e > > [ "$1" = prereqs ] && exit 0 > > REALROOT=`readlink -f ${ROOT}` > [ "${REALROOT}" ] && echo "ROOT=${REALROOT}" >> /conf/param.conf > > exit 0 > # chmod +x /etc/initramfs-tools/scripts/local-premount/rootdevice > # update-initramfs -u > update-initramfs: Generating /boot/initrd.img-3.2.0-4-orion5x > flash-kernel: installing version 3.2.0-4-orion5x > Generating kernel u-boot image... done. > Taking backup of uImage.buffalo. > Installing new uImage.buffalo. > Generating initramfs u-boot image... done. > Taking backup of initrd.buffalo. > Installing new initrd.buffalo. > # reboot > # df > Filesystem 1K-blocks Used Available Use% Mounted on > rootfs 239758888 1019300 226560492 1% / > udev 10240 0 10240 0% /dev > tmpfs 12560 116 12444 1% /run > /dev/sda2 239758888 1019300 226560492 1% / > tmpfs 5120 0 5120 0% /run/lock > tmpfs 98220 0 98220 0% /run/shm > /dev/sda1 233191 12534 208216 6% /boot 更に / がふたつ出力されるのが気になるなら > # vi .bashrc > alias df='df -H -x rootfs -x tmpfs' で > # df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 239758888 1019300 226560492 1% / > /dev/sda1 233191 12534 208216 6% /boot こうなる
**表示言語を英語にする > # dpkg-reconfigure locales > # reboot **ホスト名を設定する > # vi /etc/hostname > KUROBOX-PRO > :wq > # vi /etc/hosts > 127.0.0.1 localhost KUROBOX-PRO > :wq **df 実行時に root device disk が UUID で出力されるのを止める > # vi /etc/initramfs-tools/scripts/local-premount/rootdevice > #!/bin/sh > # Mimic a "normal" mount of root device by translating the device link > # (UUID or LABEL) to the actual device. > > set -e > > [ "$1" = prereqs ] && exit 0 > > REALROOT=`readlink -f ${ROOT}` > [ "${REALROOT}" ] && echo "ROOT=${REALROOT}" >> /conf/param.conf > > exit 0 > # chmod +x /etc/initramfs-tools/scripts/local-premount/rootdevice > # update-initramfs -u > update-initramfs: Generating /boot/initrd.img-3.2.0-4-orion5x > flash-kernel: installing version 3.2.0-4-orion5x > Generating kernel u-boot image... done. > Taking backup of uImage.buffalo. > Installing new uImage.buffalo. > Generating initramfs u-boot image... done. > Taking backup of initrd.buffalo. > Installing new initrd.buffalo. > # reboot > # df > Filesystem 1K-blocks Used Available Use% Mounted on > rootfs 239758888 1019300 226560492 1% / > udev 10240 0 10240 0% /dev > tmpfs 12560 116 12444 1% /run > /dev/sda2 239758888 1019300 226560492 1% / > tmpfs 5120 0 5120 0% /run/lock > tmpfs 98220 0 98220 0% /run/shm > /dev/sda1 233191 12534 208216 6% /boot 更に / がふたつ出力されるのが気になるなら > # vi .bashrc > alias df='df -x rootfs -x tmpfs' で > # df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 239758888 1019300 226560492 1% / > /dev/sda1 233191 12534 208216 6% /boot こうなる

表示オプション

横に並べて表示:
変化行の前後のみ表示: