Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of installation and configuration bochs in ubuntu14.04 (2)

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "detailed explanation of bochs installation and configuration in ubuntu14.04 (2)". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

The previous article mainly talked about the installation. The logo of the installation is that there is a bochs program on the command line. Take a picture:

If there is this interface, it means that the installation is successful.

The next thing to do is to make a floppy disk and configure it. If the configuration is not successful, you will report all kinds of errors after selecting 6.

Let's start with floppy disk production!

After compilation, there will be a bximage executable file under the bochs2.4.5 folder, which runs on the terminal:

Following the above steps, we have made an empty floppy disk, which, like our hard disk, is used to store system files.

Then write a system image, and the image file can download http://www.oldlinux.org/Linux.old/images/bootroot-0.11

This is the image file of linux0.11.

Then execute the command at the terminal to write the image to the floppy disk we made:

Dd if=/home/freedemos/Downloads/bootroot-0.11 of=a.img

Note: the dd command executed here, if= the path of your image, of= the path of your floppy disk, copying must be wrong.

Next, let's talk about the configuration file (since the configuration file should be the most annoying, I don't know much about it until now, but it would be nice to make the virtual machine work properly, heh heh):

First of all, post your own configuration and comments and take a look at it!: my configuration file name is bochwang

# Note'#'is followed by a note, not a configuration file

Megs:32

# this 32 is the memory of the simulator

Romimage:file=/usr/share/bochs/BIOS-bochs-latest

# this is the path of BIOS-bochs-latest. Find it slowly by yourself. It should be different.

Vgaromimage:file=/usr/share/bochs/VGABIOS-lgpl-latest

# this is the path of VGABIOS-lgpl-latest. Find it slowly by yourself. It should be different.

Floppya:1_44=a.img,status=inserted

# this is the boot floppy disk, the one we just did, in the current directory

Boot:floppy

# this decides whether boot starts from floppy disk or hard disk. Just copy it.

Log:bochsout.txt

# this is a copy of the login option

Mouse:enabled=0

# this is a copy of the mouse option

# there are many more options. For more information, you can refer to the original .bochsrc, which is an invisible file, and you can see it at the command line ls-a.

With the basic configuration above, we can launch linux0.11 from bochs by executing the following command:

. / bochs-f bochwang

And then this interface appears:

Select 6 to continue:

A black patch? Do you feel like you have failed? In fact, this is not the case, this is debug mode, and then we enter c in the terminal, in the confirmation, it will be normal.

This is the end of the introduction of "detailed explanation of installation and configuration of bochs in ubuntu14.04 (2)". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report