The first example of "Orange's: an operating system implementation" in a virtual machine

Source: Internet
Author: User

The first example of "Orange's: an operating system implementation" in a virtual machine

Recently, I started to look at the "Orange's: Implementation of an operating system". The first example is "write the smallest 'operating system' immediately". It is very depressing to use a soft drive, I finally found the method on the Internet:

 

Conversion from the following.

I recently started to read the book "write an operating system by myself". At the beginning, I found that the boot disk for the system was a floppy disk! That sweat in my heart!

The USB flash disk is used now. So we are considering using a USB flash drive.

Start the following steps:

1. Since the book says that the floppy disk should be used as the boot disk, I will make the USB disk as the boot disk. After finding usboot for half a day on the internet, I used it to create a boot disk for my USB flash drive.

2. Write the compiled boot. binfile to the USB flash drive using the absolute sector tool. Similarly, winhex is found on the Internet (there is also ultraiso, this is useless), but this key step, I do not know how to use winhex to write the binfile into the USB flash disk. You can try it out...

After two hours, I still failed. So I thought, could I use a virtual floppy disk?

Well, you can start looking for new ideas.

Finally, I found someone in the same predicament as me. His solution was to use a virtual floppy disk to write the BIND file into the image file. in IMG, And then mount the most Startup file to a virtual floppy disk, you can achieve your first operating system in name ---- hello, OS world!

The specific method is:

1. Write the BIND file to the tinix. in the imgfile (if you want to create your own IMG, the fastest way is this method. Here the target file "tinix. IMG is not limited. You can find one. imgfile. In addition, this step is not required. You can simply use a. IMG .)

2. Create a virtual machine in VMware (you can also use virtual PC). Select other for the operating system and version.

3. Edit virtual machine settings in VMware. For details, see:

Note the floppy disk settings:

If you have two virtual systems, you need to change the settings of the virtual Optical Drive.

Start your system.

The following is a connection between two similar articles. I have also made a reference.

Virtual Machine VMware: http://wenku.baidu.com/view/48383d1614791711cc79172f.html

Virtualbox: http://student.csdn.net/space.php? Uid = 97077 & Do = Blog & id = 26069

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.