This tutorial will explain you to setup a development environment for your own operating system. For windows users I presume that they have gone through the previous article on ubuntu on windows. This article will be used after Ubuntu is installed in your system.

To do this first open up the terminal by pressing ALT+CTRL+T (For Ubuntu users) and those who have installed on windows using Virtualbox start your virtual machine and wait till you see the Ubuntu desktop, then press ALT+CTRL+T. After you have done this follow the below mentioned steps:

  1. Type the command shown. After you type it will ask you for the password. Type the password you used during login.Update Ubuntu
  2. After the system has updated its repositories. Type the following command to setup development tools. Type “y” when askedbuild essential
  3. Now install bcc (This is a C-compiler for 8086 CPUs which is important for the development of boot loaders or BIOS related 8086 code). Press y to install.
  4. After installing bcc now install nasm( It is an assembler). nasm
  5. The last package which you will install now is hexedit. hexedit

Now, you are ready to roll your own operating system. So now read the bootloader article.

Creative Commons License
Design and Development of Operating System for teaching operating system course by Gaurav Parashar is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.