In Ubuntu, how does one install the VirtualBox enhancement package?

Source: Internet
Author: User
PS: this operation is for the environment: WIindowsVista; Guest: Ubuntu9.04 terminal input cd/media/cdrom this is to change the current directory to cdrom, because the VBoxLinuxAdditions-x86.run file is under cdrom, then enter sudosh. /VBoxLinuxAdditions-x86.run and then enter the user password to restart after completion. OK! 1 \ Vir

PS: this operation is applicable to the following environments: WIindowsVista; Guest: Ubuntu9.04

Input in Terminal

Cd/media/cdrom

This is to change the current directory to cdrom because the VBoxLinuxAdditions-x86.run

The file is under cdrom, and then enter

Sudo sh./VBoxLinuxAdditions-x86.run

Enter the user password and restart the system. OK!

1 \ Virtula Box there is a "device" menu in the window for running the virtual computer. after entering the menu, select "Install enhancement ".

At this time, your virtual computer must be running, and you will find that the icon of the virtual optical drive appears on the desktop.

2 \ It is said that it can run automatically, but if it does not run automatically, you click to enter the virtual Optical Drive.

Find a file named "autorun" and click it to automatically run in the terminal. After running, click Enter to exit.

Restart the virtual computer.

3 \ shared folder

First, you must create a folder under the Host. Then, in the "Settings" of the Virtual computer of Virtual Box, assume that the path of this folder is

Enter the virtual computer, first create a folder, it is said that the command is like this

Sudo mkdir/mnt /**

** It is the name of the new folder you created under Guest. Note: The folder names of Host and Guest must be separated; otherwise, a problem may occur.

4 \ Mount

It is said that the command is like this

Sudo mount-t vboxsf sharename/mnt /**

Replace sharename with the name of the shared folder under the Host, and ** with the name of the new folder under the Guest.

Congratulations! After Entering/mnt/**, you will be able to see the files in the shared folder under the Host.

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.