cd 를 넣고 mount 명령으로 확인해 보니 읭?
/dev/sr0 on /media/floppy0 type iso9660
웬 뜬금없는 floppy0 ?!?!?!?!
머 안되면 그냥 iso로 하면되지 머 쫄지마!
vmware 설정하듯 메모리 와 사용할 cpu 와 메모리 용량을 설정해주고
하드도 설정해주고
근데 왜 또 네트워크가 말썽이니 ㅠ.ㅠ
----
그나저나 무슨 차이가 있어서 안되나 궁금해서 cpuinfo를 확인해보니
amd용으로는 svm이 있다는데 그런것도 없고 hypervisor가 존재한다.
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
그리고 나서 하라는대로 해보니까 먼가 되긴된다.
저번에는 xm info 할때 에러가 났는데 커널이 문제였던게 확실한듯.
아무튼, 1.8인치 하드의 저렴한(!) 성능 문제도 있지만 11.10이 부팅이 빠름에도 불구하고
xen 커널로 들어가서 화면이 나오기 까지 체감적으로 3분 이상 걸린 느낌이다. (정상 부팅은 1분 미만)
$ uname -a
Linux xen64bit 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ sudo xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1887 2 r----- 59.7
$ sudo xm info
host : xen64bit
release : 3.0.0-12-generic
version : #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
가상화 관련 일하는 친구에게 징징대서 물어보니 이상한 용어들 속출 -_-
아무튼 xen 서버가 될 녀석은 Dom0 커널을 설치해야 하고
xen 의 guest가 될 녀석은 DomU 커널을 설치해야 한다.(반가상화시 para-virtualization)
전가상화(full virtualization)할 경우 win7을 guest로 쓸수 있다고 한다.
Glossary
Host Operating System (Dom0): refers to the operating system on which your guest operating systems will run.What it means is if you want to run Windows inside your Ubuntu as an application with the help of Xen then the Ubuntu will be called as Host Operating System and Windows would be called Guest Operating System and the term Dom0 refers to host Operating System.Technically in terms of Xen the host Operating System is known as Dom0.
Guest Operating System(DomU): An operating system which would be running inside your Ubuntu using Xen is known as Guest Operating System and in Xen terms it is known as DomU.
PV Guest: PV means para-virtualized. Some times due to hardware issues or even software issues it is the guest operating system which should run inside a host needs to be modified and in this situation the Guest Operating system is made aware that it is running on Xen. This is known as para-virtualization and the Guest OS in this case is called a PV Guest.
HVM: means full (hardware) virtualization. In simple terms your guest operating system is not aware that it is running on Xen or inside any other Operating System and the guest OS feels that it is running on an actual hardware.
Hypervisor: is the software which is at the back end of all your virtualization effort and makes possible the installation of Guest Operating System inside Host Operating System. This hypervisor is what we are referring to Xen. In case of any other virtualization solution they have their own hypervisor.
$ sudo apt-cache search xen | grep ^xen xen-tools - Tools to manage Xen virtual servers xen-utils-common - XEN administrative tools - common files
xenomai-doc - Xenomai documentation
xenomai-runtime - Xenomai runtime utilities xenwatch - Virtualization utilities, mostly for Xen xen-hypervisor-4.1-i386 - Xen Hypervisor on i386
xen-docs-4.1 - Documentation for Xen xen-hypervisor-4.1-amd64 - Xen Hypervisor on AMD64 xen-utils-4.1 - XEN administrative tools xenstore-utils - Xenstore utilities for Xen
하이퍼바이저를 설치하면 자동으로 커널이 추가된다.
굳이 별도로 virtual 커널을 설치할 필요가 없다.
---
$ sudo apt-cache search linux-image
linux-image-3.0.0-12-generic-pae - Linux kernel image for version 3.0.0 on x86
linux-image-3.0.0-12-generic - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-12-server - Linux kernel image for version 3.0.0 on x86_64
linux-image-3.0.0-12-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-extra-3.0.0-12-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-13-generic-pae - Linux kernel image for version 3.0.0 on x86
linux-image-3.0.0-14-generic-pae - Linux kernel image for version 3.0.0 on x86
linux-image-3.0.0-15-generic-pae - Linux kernel image for version 3.0.0 on x86
linux-image-3.0.0-16-generic-pae - Linux kernel image for version 3.0.0 on x86
linux-image-3.0.0-17-generic-pae - Linux kernel image for version 3.0.0 on x86
linux-image-generic-pae - Generic Linux kernel image
linux-image - Generic Linux kernel image.
linux-image-3.0.0-13-generic - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-13-server - Linux kernel image for version 3.0.0 on x86_64
linux-image-3.0.0-13-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-14-generic - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-14-server - Linux kernel image for version 3.0.0 on x86_64
linux-image-3.0.0-14-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-15-generic - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-15-server - Linux kernel image for version 3.0.0 on x86_64
linux-image-3.0.0-15-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-16-generic - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-16-server - Linux kernel image for version 3.0.0 on x86_64
linux-image-3.0.0-16-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-17-generic - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-3.0.0-17-server - Linux kernel image for version 3.0.0 on x86_64
linux-image-3.0.0-17-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-extra-3.0.0-13-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-extra-3.0.0-14-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-extra-3.0.0-15-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-extra-3.0.0-16-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-extra-3.0.0-17-virtual - Linux kernel image for version 3.0.0 on x86/x86_64
linux-image-extra-virtual - Linux kernel extra modules for virtual machines
linux-image-generic - Generic Linux kernel image
linux-image-server - Linux kernel image on Server Equipment.
linux-image-virtual - Linux kernel image for virtual machines
linux-virtual - Complete Linux kernel for virtual machines
$ uname -a
Linux xen64test 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-get install linux-virtual
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 패키지를 더 설치할 것입니다:
linux-image-3.0.0-17-virtual linux-image-virtual
제안하는 패키지:
fdutils linux-doc-3.0.0 linux-source-3.0.0 linux-tools
다음 새 패키지를 설치할 것입니다:
linux-image-3.0.0-17-virtual linux-image-virtual linux-virtual
0개 업그레이드, 3개 새로 설치, 0개 제거 및 361개 업그레이드 안 함.
11.6 M바이트 아카이브를 받아야 합니다.
이 작업 후 33.5 M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까 [Y/n]?