VMWare 6 and Ubuntu Hardy: vmmon compile error

컴퓨터/가상머신 : 2008/04/25 11:02
Hardy Heron에  VMWare Workstation 6 을 설치할 때 vmmon compile error가 난다.
이 때 다음과 같은 순서로 해결해 보자...
원본은 http://eitchpress.eitchnet.ch/?p=13에서 발췌했지만 몇군데 본인이 고쳤다.

Problem: include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly, and vmmon-only compile failes

Solution: change line 74 in vmmon-only source file to read: #include “linux/bitops.h”

Steps:

  1. cd /usr/lib/vmware/modules/source
  2. sudo cp vmmon.tar vmmon.tar.orig
  3. sudo tar xvf vmmon.tar
  4. sudo nano vmmon-only/include/vcpuset.h
  5. 74줄에서 #include “asm/bitops.h” 을 #include “linux/bitops.h”으로 바꾼다.
  6. sudo rm vmmon.tar
  7. sudo tar cvf vmmon.tar vmmon-only/
  8. sudo rm -rf vmmon-only/
  9. sudo vmware-config.pl
이렇게 하면 제대로 작동한다.
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[가상머신] VMware와 VirtualBox 비교 0.0.1

컴퓨터/가상머신 : 2007/11/15 18:54
제목이 낚시성임을 인정한다.
두 소프트웨어를 비교한다는 것은 말이 되지 않는다.
다만 가상머신에 푹 빠져서 그 안에서 개발도 함께 하고 있는 상황이기에 몇자 끄적거리고자 하는 것 뿐이다.

# 데스크탑 혹은 노트북에서 XP를 떨거지(!)로 쓰고자 한다면 VirtualBox를 권한다!

    VirtualBox와 VMware는 비교가 안된다. VMWare는 가상머신 군을 이야기 하기 때문에 VirtualBox와 비교하기 힘들다. 물론 VirtualBox도 다른 버전이 있기는 하지만 그래도 나름 정확하게 제목을 쓰자면 VMWare Workstation과 VirtualBox 비교 정도가 좋을듯 하다.
    VMWare Works는 그 명성답게 체계가 탄탄하게 잡혔다고 할 수 있다. 하지만 위에서 쓴 바와 같이 XP를 단순히 떨거지로 쓰고자 하는 경우라면 VMWare Works보다 VirtualBox를 권하고 싶다.
    일단 VirtualBox에서의 XP가 부팅 속도는 물론이고 여러면에서 체감속도가 월등하다. 두 가상머신에서 XP를 각각 돌리고, 곰플레이어로 영화를 돌리면 차이를 느낄 수 있다. VMWare에서는 거의 볼 수 없는 수준이지만, VirtualBox에서는 그나마 참고 볼 수 있는 수준 정도라고 할 수 있다.
    둘째, 리눅스를 호스트로 쓰는 경우겠지만 사운드 카드 관련한 면에서는 VirtualBox가 나은 것 같다. 내가 쓰고 있는 두 대의 데스크탑, 한 대의 노트북만 그렇다고 한다면 어쩔 수 없지만 VMware Works에서는 사운드 카드를 호스트와 게스트가 함께 쓰는데 문제가 있어서 게스트는 사운드 카드를 쓸 수 없는 경우가 많다. Works에서 된다 해도 소리가 제대로 나오지는 않는다.
    셋째, 네트웍은 VMWare가 낳다. 아직 성공하지 못했지만 VirtualBox에서 Host Interface방식으로 두 장의 네트워크 카드를 할당하지 못하고 있다. 하지만 VMWare는 Bridge로 선택하면 곧바로 된다.

오늘은 여기까지 하자.
계속 쓰면서 연구하고 배운 것을 적도록 하자.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[VMWare] 우분투에 VMWare Server 깔고 Console 접속이 안될 때

컴퓨터/가상머신 : 2007/10/19 16:58
우분투에 VMWare 서버를 에러 없이 깔고
VMware Console로 접속을 시도하자 접속이 거부되었다는 메시지가 나올 경우가 있다.
이 경우에는...

sudo apt-get install xinetd

를 해주고,

vmware-config.pl

을 실행시켜 재 설정을 하면 해결 된다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[VMWare] Increase the size of your VMWare disk drive

컴퓨터/가상머신 : 2007/10/09 11:45
Increase the size of your VMWare disk drive

If you're like me you probably have a few older VMWare Images, where you made the disk size a little too small. Fortunately in VMWare Workstation you can change the size of a disk with a simple command line program (how long till someone builds a VB frontend I wonder?). Sadly the command only makes your drive bigger not the actual partition... So how can you can get around that without purchasing a product like Partition Magic? Well it turns out the OpenSource and Linux world have a solution "QTParted", all I did to resize the drive now was issue the VMWARE command line to resize the disk (in this case to 10Gb):

vmware-vdiskmanager -x 10GB myDisk.vmdk

Then I set the vmware session to boot of the Knoppix ISO CD image. and ran QTParted, selected the Windows Drive partition with the right mouse button and chose reseize, set the new size, and then committed the change. Voila my disk had it's size increased with all data intact.
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[VMWare] Linux에서 도는 Works에서 Promiscuous모드 만들기

컴퓨터/가상머신 : 2007/09/29 10:01
Using Virtual Ethernet Adapters in Promiscuous Mode on a Linux Host Products
    
VMware GSX Server
VMware Workstation
Details
    
How do I set my virtual Ethernet adapter on my Linux host to run in promiscuous mode?
Solution
    

VMware software does not allow the virtual Ethernet adapter to go into promiscuous mode unless the user running the VMware software has permission to make that setting. This follows the standard Linux practice that only root can put a network interface into promiscuous mode.

When you install and configure your VMware software, you run the installation as root, and we create the vmnet0-vmnet3 devices with root ownership and root group ownership. We also give those devices read/write access for the owner root only. For a user to be able to set the virtual machine's network adapter to promiscuous mode, the user who launches the VMware product needs to have read/write access to the vmnetx device (/dev/vmnet0 if using basic bridged mode).

One way to do this is to create a new group, add the appropriate users to the group, and give that group read/write access to the appropriate device. These changes need to be made on the host operating system as root (su). For example:

chgrp newgroup /dev/vmnet0
chmod g+rw /dev/vmnet0
where newgroup is the group that should have the ability to set vmnet0 to promiscuous mode.

If you want all users to be able to set the virtual network adapter (/dev/vmnet0 in our example) to promiscuous mode, you can simply run the following command on the host operating system as root:

chmod a+rw /dev/vmnet0

More issues regarding promiscuous mode are discussed in Knowledge Base article 514. Please see:

www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=514.

Product Versions
    
VMware GSX Server 2.0.x (Linux hosts)
VMware GSX Server 2.5.x (Linux hosts)
VMware GSX Server 3.x (Linux hosts)
VMware Workstation 3.x (Linux Hosts)
VMware Workstation 4.x (Linux hosts)

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[VMWare] ESX Server에서 Promiscuous모드 만들기

컴퓨터/가상머신 : 2007/09/17 20:36
원본: http://www.vmware.com/community/message.jspa?messageID=371562

명령어: echo "PromiscuousAllowed yes" > /proc/vmware/net/[vmnic0]/config

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로