2010-05-27

Slitaz -- chroot / tazlito

Qemu & zh

Qemu

Boot from slitaz-vbox.iso

Boot from slitaz-vbox.iso & GuestAdditions

slitaz-vbox.iso: based on slitaz-3.0.iso + virtualbox-3.1.8 + guestadditions + wenquanyi_10pt.pcf

Qemu

root@slitaz:~# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 251.1M 0 251.1M 0% /dev/shm
root@slitaz:~# du -sh /
247.9M
root@slitaz:~# free
total used free shared buffers
Mem: 514340 297692 216648 0 0
Swap: 0 0 0
Total: 514340 297692 216648
[..]
root@slitaz:~# fc-list :lang=zh
WenQuanYi Bitmap Song:style=Regular
root@slitaz:~# ls -l /home/slitaz
-rwxrwxrwx 1 root root 1197684 May 26 15:51 vboxadd-3.1.8_2.6.30.6.tazpkg
root@slitaz:~# cat /etc/slitaz-release
3.0
root@slitaz:~#
====

Boot from slitaz-vbox.iso
root@slitaz:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 1.7G 250.0M 1.4G 15% /
tmpfs 1.7G 250.0M 1.4G 15% /
tmpfs 944.7M 0 944.7M 0% /dev/shm
root@slitaz:~# du -sh /
250.0M
root@slitaz:~# free
total used free shared buffers
Mem: 1934820 312836 1621984 0 0
Swap: 0 0 0
Total: 1934820 312836 1621984
root@slitaz:/home/tux# cat /var/log/tazpkg.log
2010-05-27 11:24:08 - Installed - libsdl (1.2.13) - c490ce417515b7f73d840474f29f7301
2010-05-27 11:24:09 - Installed - openssl (0.9.8l) - 43929be1cb7bd473cc24d1fbfd3e401e
2010-05-27 11:24:09 - Installed - libdb (4.7.25) - 88b3fb91256dd36f1b8bd7d3aef73989
2010-05-27 11:24:09 - Installed - xorg-libXss (1.1.2) - fdc154d798c077d27802290d1845e95f
2010-05-27 11:24:09 - Installed - gdbm (1.8.3) - db31351e035c988201ab6a4f54582e96
2010-05-27 11:24:10 - Installed - tcl (8.5.5) - 25ecf5dc353ffdcd1eb63aac551f45b8
2010-05-27 11:24:10 - Installed - tk (8.5.5) - f3456e5e6b37cafe227b8530693607fb
2010-05-27 11:24:12 - Installed - python (2.5.1) - 2260d614c6c89b99eb5ad807f24a2b96
2010-05-27 11:24:13 - Installed - libglu-mesa (7.4.4) - 80f321321678b85dc3ac5bf704159b0c
2010-05-27 11:24:22 - Installed - virtualbox (3.1.8-61349_2.6.30.6) - fe2806b3323f51fb663dd739b9404865
root@slitaz:~# ls -l /home/slitaz
-rwxrwxrwx 1 root root 1197684 May 26 15:51 vboxadd-3.1.8_2.6.30.6.tazpkg
root@slitaz:~# ls /lib/modules/`uname -r`/misc
vboxdrv.ko vboxnetadp.ko vboxnetflt.ko
root@slitaz:~# fc-list :lang=zh
WenQuanYi Bitmap Song:style=Regular
root@slitaz:~# cat /proc/cmdline
root=/dev/null screen=1280x1024x24 lang=en kmap=us acpi=off
root@slitaz:~# VBoxManage --help | head -3
Sun VirtualBox Command Line Management Interface Version 3.1.8
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.
root@slitaz:~#

----
root@slitaz:~# ps ax | grep -i vbox
1108 root /usr/bin/VBoxClient --clipboard
1119 root /usr/bin/VBoxClient --display
1125 root /usr/bin/VBoxClient --seamless
1221 root grep -i vbox
root@slitaz:~# lsmod | grep vbox
vboxvideo 1908 1
drm 121736 2 vboxvideo
vboxsf 29528 1
vboxguest 113576 5 vboxsf
root@slitaz:~# mount | tail -3
tmpfs on /dev/shm type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
none on /mnt/share type vboxsf (rw,nodev,relatime)
root@slitaz:~# ls -lh /mnt/share/iso/slitaz-vbox*
-rwxrwxrwx 1 root root 103.0M May 15 11:26 /mnt/share/iso/slitaz-vbox-0515.iso
-rwxrwxrwx 1 root root 45 May 15 11:26 /mnt/share/iso/slitaz-vbox-0515.md5
-rwxrwxrwx 1 root root 103.0M May 27 15:23 /mnt/share/iso/slitaz-vbox.iso
-rwxrwxrwx 1 root root 58 May 27 15:23 /mnt/share/iso/slitaz-vbox.md5
root@slitaz:~#