Install VMWare, then install RHEL4 and ubuntu9.04, and install vmware-tools respectively.

Source: Internet
Author: User

It is understood that many people have installed dual systems before, but since the birth of VMware, it has brought more convenience to people.

1. Install VMware Workstation

Because it is in Windows, you can choose to download it from the official VMware website or from the websites such as huajun or Pacific. The installation process is similar to other software in windows. You can click Next to install the software successfully.

My current version: vmware-workstation 6.5.2

 

Ii. Install RHEL4 and ubuntu9.04

When I first installed it, I downloaded a virtual optical drive under Windows early, and later I found that I could not use it. Since it has been installed before, it is relatively smooth.

RHEL4: the installation file is larger (about 2 GB) and may take a little longer, about half an hour!

Ubuntu9.04: the installation file is small (more than 600 mb), and it will take 10 minutes to complete.

Note: During centos installation, select Custom (advanced) in the Virtual Machine and select the IDE mode.

 

3. Install vmware-Tools

RHEL4: First VM-> install vmware-tools, then copy it to the folder you specified, decompress it, enter the directory after decompression, and execute. /vmware-install.pl. note that the resolution is set to 800*600. After the installation is successful, reboot. After the restart is complete, set VM-> setting-> hardware-> **. select the shared folder.

This is quite smooth. Press enter all the way and it will take several minutes to complete.

Ubuntu9.04: the problem lies in Ubuntu. It took me two days to read N Articles.ArticleAfter asking many people, the installation was successful only with the help of a student.

There are two problems:

1. If you directly install vmhgfs.tar, an error will occur (see figure) and you need to modify it.

Steps for errors: decompress, install, and modify vmhgfs.tar under/usr/lib/vmware-tools/modules/source/after an error.

Then you are prompted to delete some files/lib/modules/$ (uname-R)/MISC/Vm *. {0, Ko}, So I deleted the file and reinstalled it. The error continued. The endless loop ....

 

The correct solution is: after the installation file is decompressed, CD vmware-tools-distrib /, then enter the Lib under the decompressed vmware-tools (full path:/home/user/vmware-tools-distrib/lib/modules/source /), instead of/usr/lib/vmwork-tools/vmware-tools/modules/source/, we strongly despise the irresponsible behaviors of some mistaken articles on the Internet.

 

The modification content is in the same place. The modification method is similar, but not identical. The following content is the modified content successfully installed:

As described above, go to/home/user/vmware-tools-distrib/lib/modules/source/and run the command tar-xvf vmhgfs.tarto decompress vmhgfs.tar, and then run CD vmhgfs-only and sudo VI page. c. Locate and:

Page = _ grab_cache_page (mapping, index );

Replace:

# Indef aop_flag_nofs

Page = grab_cache_page_write_begin (mapping, index, flags );

# Else

Page = _ grab_cache_page (mapping, index, flags );

# Endif

WQ! Then, delete the previous vmhgfs.tarand compress the current vmhgfs-onlyinto the new vmhgfs.tar.

/Vmware-install.pl

Select "Y" for "[Yes]", and select "N" for "no". Install the tool step by step.

After the installation is successful, restart and set the shared folder. The installation is complete. Then you will see that the folder can be shared.

 

2. You cannot press enter in the same way as RHEL4. Instead, you have to wait. Select y when selecting [Yes] and N when selecting [No] instead of press Enter, and step by step, don't worry. (I used to press enter all the way)

 

Finally, the mouse question:

If you do not want to use CTRL + ALT for each system switchover, try the following methods:

Sudo apt-Get install xserver-Xorg-input-vmmouse mdetect

If you are prompted that the above package has been installed, You can uninstall them before installing
Sudo apt-Get autoremove xserver-Xorg-input-vmmouse mdetect

After the installation is complete, reboot.

When you enter the system again, you will find that the mouse can be switched between systems at will.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.