Soon after the release of Ubuntu10.10, I went down and tried to install it on a new hard disk in the Virtual Machine. Although I have been playing with it before, I still encountered many problems. First, the installation interface "at least GB disk space is required" is always unable to pass, the Ubuntu partition editor cannot detect the hard disk, try to manually partition before installation is still invalid, later I thought about it. I cannot detect it with SCSI (VMWare automatically chooses SCSI). What about IDE? Re-create a virtual machine and set the virtual disk type to IDE. The virtual disk can be correctly identified and processed smoothly.
Ubuntu 10.10 went down shortly after it was released. It was intended to be installed with a new hard disk in the Virtual Machine. Although it has been used before, it still encountered many problems.
First, the installation interface "at least GB disk space is required" is always unable to pass, the Ubuntu partition editor cannot detect the hard disk, try to manually partition before installation is still invalid, later I thought about it. I cannot detect it with SCSI (VMWare automatically chooses SCSI). What about IDE? Re-create a virtual machine, set the virtual disk type to IDE, correct identification, and smooth partitioning.
After the installation, of course, we need to install VMWare Tools, but I changed the method this time. After clicking "Install VMWare Tools", double-click the disc icon on the desktop to go To the VMWare Tools CD directory, and right-click "... Tar.gz "file and select" decompress to "to decompress it to the desktop, and then enter the decompressed directory in the terminal to execute the installation file. The installation file was still smooth at the beginning, but the problem followed --
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc ".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Wocould you like to change it? [No]
There are several other similar prompts, which seem to be missing a header file.
However, the solution is still found. Execute the following command on the terminal:
Cd/usr/src/2.6.35-22-generic/include
Cp-p generated/utsrelease. h linux/utsrelease. h
Cp-p generated/autoconf. h linux/autoconf. h
After running the first command, the system prompts that the permission is insufficient. Run the su command directly on the terminal and enter the password. If "authentication failed" is always prompted, run sudo passwd to reset the password.
Re-execute the installation command to install VMWare Tools. After restart, VMWare Tools will not start with the system. www.linuxidc.com needs to add it to the "Startup Program Group", but the Ubuntu interface is somewhat changed, without "Preferences", there is no "session". Instead, a new program is added to "Start application, enter/usr/bin/vmware-toolbox in the "command" (however, VMWare-Toolbox is not hidden in the background and should not be closed after startup ).
Therefore, we will summarize how to install VMWare Tools in Ubuntu 10.10:
1. Click "Virtual Machine-install VMWare Tools", double-click the disc icon on the desktop, and right-click "... Tar.gz "suffix file to decompress it on the desktop.
2. Open the terminal, run the su command, enter the password to obtain the root user permission, and execute the following commands in sequence (note that the version number may be different here, you can run uname-a on the terminal to view the current kernel version ):
Cd/usr/src/2.6.35-22-generic/include
Cp-p generated/utsrelease. h linux/utsrelease. h
Cp-p generated/autoconf. h linux/autoconf. h
3. Enter the decompressed directory of the desktop on the terminal (based on the actual partition directory ):
Cd/home/June/desktop/vmware-tools-distrib
Then execute:
Sudo./vmware-install.pl (note/There Is A. Before .)
4. Then there will be nothing left. It is basically the same as the previous one. Press enter all the way until you are prompted to select a resolution and then the prompt "Enjoy,-the VMware team" is displayed. The last step is to add vmware-toolbox in "preferences-Start application.