[[PageOutline]] = 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を用意するので、嵌る * [http://www.tsubame2.org/2010/09/vps-tinycorelinux.html tsubame 2: さくらVPSで tinycorelinux] * GRUB1の方法なので、GRUB2では使えない * [http://forum.tinycorelinux.net/index.php?topic=9113.0 GCC can't find stdio.h inttypes.h errno.h] > Do you mean compiletc.tcz from N. Carigon at 2009/08/22 ? = boot with loopback (GRUB2) = 1. mitty@viola-debian:~$ wget http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/microcore-current.iso 2. mitty@viola-debian:~$ sudo cp -a microcore-current.iso /boot/ 3. 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 4. mitty@viola-debian:~$ sudo update-grub = Micro Core on Sakura VPS = * GRUB2 menuへの登録までは[#bootwithloopbackGRUB2]の通り * GRUB menu[[br]][[Image(microcore-01.png,33%)]] * NICへのIP割り当て(DHCPは使用出来ない)[[br]][[Image(microcore-02.png,33%)]] * fdisk -lu /dev/sda[[br]][[Image(microcore-03.png,33%)]] * netcatは元から使用出来るが、sshはインストールされていない[[br]][[Image(microcore-04.png,33%)]] == install SSH == * WANへ繋がるようにする[[br]][[Image(microcore-05.png,33%)]] {{{ sudo ifconfig eth0 49.212.22.108 netmask 255.255.254.0 sudo route add default gw 49.XXX.YYY.ZZZ sudo sh -c "cat > /etc/resolv.conf" }}} * tce-load -wi openssh.tcz[[br]][[Image(microcore-06.png,33%)]] * passwordを設定し、sshdをstartする[[br]] [[Image(microcore-07.png,33%)]] * finger printの確認[[br]][[Image(microcore-08.png,33%)]] * ssh login with PuTTY[[br]][[Image(microcore-09.png,33%)]] = mounting XFS with LVM = * tc@box:~$ tce-load -wi filesystems-`uname -r` * tc@box:~$ tce-load -wi lvm2 * tc@box:~$ sudo vgscan {{{ Reading all physical volumes. This may take a while... Found volume group "vgroot" using metadata type lvm2 }}} * tc@box:~$ sudo lvscan {{{ inactive '/dev/vgroot/lvroot' [19.07 GiB] inherit inactive '/dev/vgroot/lvswap' [120.00 MiB] inherit }}} * tc@box:~$ sudo vgchange -ay {{{ 2 logical volume(s) in volume group "vgroot" now active The link /dev/vgroot/lvroot should had been created by udev but it was not found. Falling back to direct link creation. The link /dev/vgroot/lvswap should had been created by udev but it was not found. Falling back to direct link creation. }}} * tc@box:~$ ls -l /dev/vgroot/ {{{ total 0 lrwxrwxrwx 1 root root 25 Dec 2 02:02 lvroot -> /dev/mapper/vgroot-lvroot lrwxrwxrwx 1 root root 25 Dec 2 02:02 lvswap -> /dev/mapper/vgroot-lvswap }}} * tc@box:~$ sudo mount -r /dev/vgroot/lvroot /mnt/ -t xfs