Educational operating system-Minix&Weenix

Post on 07-Aug-2015

39 views 8 download

Tags:

Transcript of Educational operating system-Minix&Weenix

Preetha/ME/CSE/I

Minix–Mini Unix (Minix) basically, a UNIX -compatible

operating system.

Minix is small in size, with microkernel-based design.

Minix has been kept (relatively) small and simple.

Multitasking operating system.

Source Code –C language

Networking support –TCP/IP protocol

Preetha/ME/CSE/I

• Simplicity

• Modularity

• Least Authorization

• Fault Tolerance

Preetha/ME/CSE/I

The figure represents the internal architecture of Minix

Preetha/ME/CSE/I

SETTING UP THE NAME FOR THE VIRTUAL MACHINE:

Preetha/ME/CSE/I

SETTING UP THE MEMORY SIZE:

Preetha/ME/CSE/I

Creating a virtual hard drive :

Preetha/ME/CSE/I

CHOOSE PARALLEL HARD DISK:

Preetha/ME/CSE/I

MAKING THE REQURIED SETTINGS:

Preetha/ME/CSE/I

EXTRACTING THE REQURIED FILE:

Preetha/ME/CSE/I

• Setting up Minix 3.• Select Keyboard type.• Create or select a partition for Minix 3.• Select a disk to install Minix 3.• Select the size & block size.• Select a Ethernet chip and configure network.• Type Shutdown.• Power off machine and remove the attachment.• Again start the machine.• Type the command to enter the program inside the editor.• Finally compile and run the program.

Preetha/ME/CSE/I

SETTING UP THE MINIX:

Preetha/ME/CSE/I

TYPE shutdownPress enter

Preetha/ME/CSE/I

Power Off

Preetha/ME/CSE/I

Preetha/ME/CSE/I

ENTER THE ROOT LOGIN TO START THE MACHINE

Preetha/ME/CSE/I

Preetha/ME/CSE/I

Preetha/ME/CSE/I

Preetha/ME/CSE/I

• Weenix is an operating system written for students, by students. While it is mostly based on early versions of Unix.

• It does incorporate many recent developments in operating systems. Working on Weenix, students learn to build all the pivotal parts of an working operating system.

Preetha/ME/CSE/I

Intelligent multitasking

Virtual memory

Terminal emulation

Advanced device support.

Preetha/ME/CSE/I

Weenix specific Tools:Building WeenixFsmaker

 weenix external tools:Bochs is the x86 emulator currently used to run Weenix.Cscope is a great tool for code navigation.Git is a distributed version control system which you can use to locally version control your work on Weenix.

Preetha/ME/CSE/I

• Install VirtualBox• Install Ubuntu in VirtualBox• Download weenix.zip• Extract the weenix.zip in desktop of ubuntu.• Install Weenix in Ubuntu• Type the program• Compile and run the program.

Preetha/ME/CSE/I

Download weenix.zip Copy the extracted folder to desktop of virtual machine

Preetha/ME/CSE/I

• Go to terminal

Preetha/ME/CSE/I

Open the terminal

Preetha/ME/CSE/I

Type the command cd Desktop/weenix/user/usr/bin/

Preetha/ME/CSE/I

o modify hello.c

Preetha/ME/CSE/I

eg: write(1,"welcome\n",14); save it by clicking on save toolbar

Preetha/ME/CSE/I

Now go back to the terminal Type cc -o hello hello.c ./hello

Preetha/ME/CSE/I

Thus educational operating systems are installed and studied successfully.

Preetha/ME/CSE/I