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では使えない
- 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)
- 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
Micro Core on Sakura VPS
- GRUB2 menuへの登録までは#bootwithloopbackGRUB2の通り
install SSH
- WANへ繋がるようにする
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
- passwordを設定し、sshdをstartする
- finger printの確認
- ssh login with PuTTY
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
Last modified 13 years ago
Last modified on Dec 11, 2011 4:11:35 PM
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