Writing the operating system by yourself-personal practices

Source: Internet
Author: User

I recently started to read the book "write your own operating system", and I found that the boot disk for the system is a floppy disk! That sweat in my heart!

Today, they are all USB flash drives. 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 similarly 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 is that you do not know how to use winhex to write binfiles 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, let's start looking for ideas again.

Finally, I found someone in the same predicament as me. His solution was to use a virtual floppy disk to write the bind file to 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 detailed method is as follows:

1. Write the bind file to the TINIX. Imgfile provided by the author using floppy writer.

2. Create a virtual machine in vmware (virtual pc can also be used). Be sure to select other for both the operating system and version.

3. Edit VM 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 the connection between two similar articles, and I have also taken the exam.

Virtual machine vmware: http://wenku.baidu.com/view/48383d1614791711cc79172f.html

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

 

 

Writing the operating system by yourself-personal practices

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.