Win7Guset: Use of Bochs in Ubuntu11.04

Source: Internet
Author: User
My Configuration: I didn't follow the previous versions mentioned in the book step by step because I always like to use the latest things and technology is always improving. But this will inevitably cause some troubles, but all these troubles can be solved. easy solution on the Internet first download vmwear and install it by default. Then you need to download an Ub

My configuration: the operating system Windows 7 runs Ubuntu 11.04 on VMWare 7.1.4, and then runs bochs2.4.6.tar.gz In Ubuntu.

I did not follow the previous versions mentioned in the book step by step, because I always like to use the latest things, and the technology is always improving. But this will inevitably happen in the process.

But these troubles can be easily solved on the Internet.

First download vmwear and install it directly by default.

Then you need to download an Ubuntu image file online, which can be easily downloaded. However, you need to declare that at the beginning, I downloaded the Ubuntu11.10 test version, so I thought I would use the latest version, however, after the installation, various unexpected problems may arise. In the end, I had to reinstall version 11.04, which is relatively stable and has not been used much.

Then install Ubuntu on the vmwear virtual machine. This is not particularly difficult. The online tutorials are described as follows. I heard it is best to use an empty hard disk space to install the system.

The key is to install vmware-tools. First, let's briefly introduce the role of this tool: 1. it significantly improves the overall graphic performance.

2. Synchronize time between the host and client

3. automatically capture and release the mouse cursor (that is, you do not need keys like ctrl + alt to switch between systems)

4. copy and paste the text or file on the host between the host and the client, or from one virtual machine to another)

5. Improved network performance

Generally, there are two files in the installation directory of vmware, linux. iso and windows. iso file. At the beginning, I followed the online statement and I had a hard time understanding it. For example, if host is window and guest is linux, linux. iso is used. The host is windows, and the guest is windows. Therefore, windows. iso is used to install vmware-tools.

This means that the iso file to be used depends entirely on what your virtual system is and has nothing to do with the host. You may be able to install vmware-tools in Windows or vmware-tools in linux. The installation tutorial on the Internet is also called installation.

I may also want to say that the terminal in Ubuntu is almost equivalent to the cmd in windows. After a folder is shared, operations in the shared folder of host or guest will affect the other party.

Then install bochs In Ubuntu. It takes a long time to install bochs, because the installation of software in linux and Windows is completely different. In Ubuntu, you can download and install the software directly on the terminal. This may make users who have never been in touch with linux feel helpless for a moment, but it is not that difficult. As long as they calm down and solve a problem, nothing can be done.

Here I provide a very detailed description of the methods to install Bochs under Ubuntu and encounter exceptions how to solve the http://www.linuxidc.com/Linux/2011-07/38371.htm this may be of great help to you

I want to talk about my troubles.

What is more difficult during the installation process is the bochs configuration file.

This is the Bochs Configuration Interface, where you can describe

Machine that you want to simulate. Bochs has already searched for

Configuration file (typically called bochsrc.txt) and loaded it if it

Cocould be found. When you are satisfied with the configuration, go

Ahead and start the simulation.

You can also start bochs with the-q option to skip these menus.

1. Restore factory default configuration

2. Read options from...

3. Edit options

4. Save options...

5. Restore the Bochs state from...

6. Begin simulation

7. Quit now

I believe you can also understand the above meaning. Anyway, it is difficult for new users to create a bochs configuration file by yourself.

Another way is to directly use the file that has been written to bochs as your configuration file.

On the "Implementation of an operating system" disc, there is such a bochsrc file that can be used as a configuration file and you only need to modify the parameters.

This is certainly not difficult for smart people.

But what makes me Tangle is that according to the book vgaromimage: file = a specified path vgabios. the binfile is so annoying that it keeps making mistakes. Later, I found that the new version may be improved because double quotation marks are added. For example, vgaromimage: file = "/usr/share/vgabios. bin"

It should also be noted that do not specify the bios-bochs-latest and vgabios in the virtual system installation directory according to what is in the book, such as romimage and vgaromimage. bin note that the installation paths for different people may be different, which may result in the above parameters may be completely different.

In the previous article, bochs2.4.5 is used, while 2.4.6 is used for debugging the operating system with bochs. This is the command "dump_cpu" but it seems the new version no longer supports the dump command, but uses "info cpu" instead. Note that there is no _ character in the middle. If you want to know more, enter the help command to view

----------------------------------------------------------

Good luck! Write your own operating system as soon as possible

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.