
# prepare for running image from qemu
cd work
bunzip2 minix-3.1.0-book.iso.bz2
sudo mkdir /mnt/minix3
sudo mount -t iso9660 -o loop minix-3.1.0-book.iso /mnt/minix3
mkdir minix
cd minix
qemu-img create minix3.img 2048M
# we are in the work/minix ; iso is in up directory
qemu -boot a -fda /mnt/minix3/bootflop.img -hda "minix3.img" -cdrom ../minix-3.1.0-book.iso -m 64 -localtime
to install with network better proceed with manual:
http://wiki.minix3.org/wikis/minix3/Running_MINIX_3_on_Qemu
Friday, August 15, 2008
Minix3 book version under qemu
Posted by
Roman G.
at
12:27 AM
0
comments
Labels: GNU/Linux, qemu, virtualization
Wednesday, May 21, 2008
KVM on core 2 duo laptop Ubuntu / Failed :(
After successfull usage of KVM on my CentOS desktop,
started installation of kvm on Ubuntu (Xubuntu 8.04) on my Core2 duo laptop:
$ sudo apt-get install kvm
..
* Your system does not have the CPU extensions
required to use KVM. Not doing anything.
# check for presence of vitualization in cpu
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
stepping : 13
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16
xtpr lahf_lm ida
bogomips : 3195.76
clflush size : 64
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
stepping : 13
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est
tm2 ssse3 cx16 xtpr lahf_lm ida
bogomips : 3191.86
clflush size : 64
#is virtualization in flags?
$ egrep 'vmx|svm' /proc/cpuinfo
$
Ups, failed :(
It was because KVM works only with specific processors.
To conclude: Different CPU model have different best virtual machine.
That way further I'll try Xen there
(which failed on my CentOS desktop due to lack of rtl8168/8111 drivers from the box;
It seems that if they will be installed, there is high probability of lacking
the driver after the updates of the xen kernel package).
Posted by
Roman G.
at
1:51 PM
0
comments
Labels: CentOS, GNU/Linux, Ubuntu, virtualization, x64
Monday, May 19, 2008
Virtualization with KVM
Used this guide:
http://wiki.centos.org/HowTos/KVM to run virtual machine on my CentOS box.
Xubuntu run in 3-5 min's, that is 5-10 times faster than with native quemu virtualization from box.
For now I will use it as default virtual machine.
Tips for creation of new machine:
su
qemu-img create -f qcow2 disk.img 5G
qemu-kvm -hda disk.img -cdrom
/media/Elements_/images/eeexubuntu-7.10.3/eeexubuntu-7.10.3-desktop-i386.iso
-m 512 -boot d
Posted by
Roman G.
at
5:49 PM
0
comments
Labels: CentOS, eeeXubuntu, GNU/Linux, Ubuntu, virtualization, x64
Thursday, May 15, 2008
tried 'virtualization' under CentOS QEMU

Just to try what is new in word of virtual machines ( In my opinion it is not long now :) )
No idea why it can be best solution for any of common tasks.
Used file for filesystem, non-xen kernel (due to still having no network on -xen with my card).
Extremely slow.
>30 minutes to load Xubuntu Gutsy in machine.
(2-3 minutes on low-end Asus eeePC).
Host is CentOS 5.1 AMD Opteron x64 machine. Target i686 500 mb memory eeeXubuntu (Xubuntu gutsy 7.10).
Posted by
Roman G.
at
12:17 AM
0
comments
Labels: CentOS, eeeXubuntu, GNU/Linux, Ubuntu, virtualization, x64
Wednesday, May 14, 2008
upd:CentOS 5.1 realtec 8168/8111b
finally I have got it working under 'standard' (non-xen) kernel
using the guides from wolfy and wikipedia (http://wolfy.fedorapeople.org/) :
http://wiki.centos.org/HardwareList/RealTekRTL8111b
http://wolfy.fedorapeople.org/dkms-r8168/quick_install.html
However I still have no network under xen-kernel,
that is boring :(
Posted by
Roman G.
at
3:27 PM
0
comments
Labels: CentOS, GNU/Linux, hardware, virtualization, x64