Version 4 (modified by mitty, 13 years ago) (diff) |
---|
- distributionを知る => lsb_release -a via twitter:tm_tn/status/134106555959349248
- $ lsb_release -a
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.3 LTS Release: 10.04 Codename: lucid
- $ lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 5.7 (Final) Release: 5.7 Codename: Final
- $ lsb_release -a
Swap
- $ swapon -s
Filename Type Size Used Priority /dev/sda1 partition 262136 0 -1
- /proc/sys/vm/swappiness
ちなみに /proc/sys/vm/swappiness というパラメータがあって、これでスワップ具合を調整できます。
disk device
- $ ls -ld /dev/disk/by-*
drwxr-xr-x 2 root root 200 2011-07-19 18:17 /dev/disk/by-id drwxr-xr-x 2 root root 140 2011-07-19 18:17 /dev/disk/by-path drwxr-xr-x 2 root root 100 2011-07-19 17:15 /dev/disk/by-uuid
Tiny Core Linux
- http://distro.ibiblio.org/tinycorelinux/
Tiny Core Linux is a very small (<12 MB) minimal Linux GUI Desktop. It is based on Linux 3.0 kernel, Busybox, Tiny X, and Fltk.
- デフォルトではSCSIデバイスを扱えない模様
- http://wiki.tinycorelinux.net/wiki:vmware_installation
- VMwareはLinuxゲストにSCSI HDDを用意するので、嵌る
- tsubame 2: さくらVPSで tinycorelinux
- GRUB1の方法なので、GRUB2では使えない
boot with loopback (GRUB2)
- mitty@viola-debian:~$ wget http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/microcore-current.iso
- mitty@viola-debian:~$ sudo cp -a microcore-current.iso /boot/
- mitty@viola-debian:~$ sudo vi /etc/grub.d/40_custom
menuentry "microcore" { loopback loop /microcore-current.iso linux (loop)/boot/vmlinuz -- initrd (loop)/boot/microcore.gz }
- /boot が / とは別のパーティションの場合
- see also http://www.panticz.de/MultiBootUSB
- mitty@viola-debian:~$ sudo update-grub
Attachments (9)
- microcore-01.png (11.1 KB) - added by mitty 13 years ago.
- microcore-02.png (9.8 KB) - added by mitty 13 years ago.
- microcore-03.png (8.5 KB) - added by mitty 13 years ago.
- microcore-04.png (5.6 KB) - added by mitty 13 years ago.
- microcore-05.png (10.8 KB) - added by mitty 13 years ago.
- microcore-06.png (14.7 KB) - added by mitty 13 years ago.
- microcore-07.png (9.2 KB) - added by mitty 13 years ago.
- microcore-08.png (8.9 KB) - added by mitty 13 years ago.
- microcore-09.png (15.4 KB) - added by mitty 13 years ago.
Download all attachments as: .zip