How to install WiinXp with virtualbox in Ubuntu

Source: Internet
Author: User
1. First download VirtualBox, external. 2. The InnotekVirtualBox menu appears under the System-system tool. Click it to start running.

1. first go to the following URL to download VirtualBox, http://www.virtualbox.org/download/1.3.6/VirtualBox_1.3.6_Ubuntu_dapper_i386.deb

Alternatively, you can enter sudo apt-get install virtualbox in the terminal for installation.

2. The Innotek VirtualBox menu appears under the System-system tool. Click it to start running virtualbox.

3. Download deepinxp Lite version from the Internet (I have seen the latest version 5.6 (-5-11). A fully optimized XP system is very simple, but most of its functions are available.

4. The downloaded image file must be placed under the ubuntu directory. If you are under the original windows, copy it directly to the ubuntu partition. (Ubuntu supports partitions in the fat format. If you need to download an NTFS write Support Program in the NTFS format, you can search for the program from the source ).

5. There is a new icon on VirtualBox. Click Enter, next, enter the system name, and select the system type to be installed in the options below. I want to install Windows XP, so I chose Windows XP.

6. next, allocate the memory. If it is 512, it will be done by default. If it is not, the allocated memory should not exceed half of your actual memory.

7. next, boot harddisk, new, next, select Dynamiclly expending image (image), next. (Dynamiclly is dynamic, and the following is static. A virtual hard disk space. VirtualBox is used in this way. You can divide the space by yourself, but it is used only based on the space occupied by you. If you need more space, it will increase dynamically, static is how much you allocate. When your virtual system exceeds this limit, you cannot increase the space. We recommend that you do it dynamically on the Internet .)

8. next, select a space. Do not set it to less than 1 GB. Otherwise, xp cannot be installed. For personal suggestions, score 5 ~ 10 Gb, then the system can be divided into two disks (C, D), it is not directly occupied so much, but dynamic.

9. next, finish, OK, next, finish.

10. Now you have the virtual space you just created in your VirtualBox. Select Settings. Select CD/DVDROM and select Mount CD/DVDROM, which means to Mount the optical drive, select ISO iamge file, and then select your Windows XP image file.

11. Check Enable Audio at Audio and select ALSA Audio Driver. Otherwise, the system has no sound installed. Select OK.

12. Select Start to Start. Then I started to install the Operating System. Like Installing Windows XP, I won't say much.

13. After the installation is complete, remember to unmount the image. Otherwise, the image will be mounted each time it is started, affecting the speed, or the CD/DVDROM will be directly unmounted.

14. after entering the virtual system, use the right Ctrl key to switch the mouse between the two systems. Of course, it can also be full screen, Ctrl + f. You only need to set the IP address to be dynamically obtained to access the Internet. The IP address is accessed through Ubuntu. However, windows is not particularly suitable at this time, because the screen size is not suitable and it is easy to handle. In the menu bar FILE of VirtualBox software, there is an Install Guest Additions, after installing it, you can switch between windows and ubuntu.

15. After installing qq, delete the npkcrypt. sys in the qq installation directory. Otherwise, QQ cannot be used.

16. usb recognition problems. Due to the system's own usb fs permission restrictions, the root permission is required to run VirtualBox to load the USB device; that is, the sudo VirtualBox method is required to start the program; as long as the usb fs permission is granted to common users, you can also enable the usb directly, that is, add the following line of automatic mounting in the/etc/fstab file:

None/proc/bus/usb usbfs devgid = 1000, devmode = 664 0 0

Note that you do not need to add a usb fs group. Simply use an existing user group. If you have only one user on the desktop, the user group using gid = 1000 is the group of the first user. By using devmode = 666, any user can have the usb fs permission. Note that the host needs to be restarted because the USB Fs has been mounted before.

17. VirtualBox mainly uses smb to communicate with the host. By default, it adopts the NAT mode and comes with the DHCP service. Therefore, the client does not need to perform any settings. The Default Client ip is 10.0.2.15, the gateway is 10.0.2.2, And the DNS is 10.0.2.3. However, the built-in DHCP takes effect only once the host is restarted. To share host resources in smb mode, you need to use \ IP address (Host IP address) for access. In fact, VirtualBox also has a virtual small local area network, provides an additional smb service, that is, the program VBoxManage. Using this command line, you can specify the host directory to share with the guest machine. The host is virtualized into netbios named vboxsvr, the client accesses \ vboxsvr \ shared name to obtain read/write sharing. However, this sharing method is very troublesome, And it is convenient to Enable smb without using the host directly. To simplify this sharing, user huangjiahua (ubuntu China) specially made a configuration software, click http://archive.ubuntu.org.cn/ubuntu-cn/dists/dapper/main/binary-i386/virtualbox/vboxsharedfolder_1.3.6_dapper_all.deb get deb installation package. Note that the installed menu is also under the system tool. The guest cannot be enabled before sharing configuration.

18. after the sharing is configured, start windows, select the ing drive in the menu tool, and map the shared folder or drive to the local computer. Then, the shared folder or drive can be directly accessed through my computer, it can also be read and written.

Related Article

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.