31
Preetha/ME/CSE/I

Educational operating system-Minix&Weenix

  • Upload
    student

  • View
    42

  • Download
    8

Embed Size (px)

Citation preview

Page 1: Educational operating system-Minix&Weenix

Preetha/ME/CSE/I

Page 2: Educational operating system-Minix&Weenix

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

Page 3: Educational operating system-Minix&Weenix

• Simplicity

• Modularity

• Least Authorization

• Fault Tolerance

Preetha/ME/CSE/I

Page 4: Educational operating system-Minix&Weenix

The figure represents the internal architecture of Minix

Preetha/ME/CSE/I

Page 5: Educational operating system-Minix&Weenix

SETTING UP THE NAME FOR THE VIRTUAL MACHINE:

Preetha/ME/CSE/I

Page 6: Educational operating system-Minix&Weenix

SETTING UP THE MEMORY SIZE:

Preetha/ME/CSE/I

Page 7: Educational operating system-Minix&Weenix

Creating a virtual hard drive :

Preetha/ME/CSE/I

Page 8: Educational operating system-Minix&Weenix

CHOOSE PARALLEL HARD DISK:

Preetha/ME/CSE/I

Page 9: Educational operating system-Minix&Weenix

MAKING THE REQURIED SETTINGS:

Preetha/ME/CSE/I

Page 10: Educational operating system-Minix&Weenix

EXTRACTING THE REQURIED FILE:

Preetha/ME/CSE/I

Page 11: Educational operating system-Minix&Weenix

• 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

Page 12: Educational operating system-Minix&Weenix

SETTING UP THE MINIX:

Preetha/ME/CSE/I

Page 13: Educational operating system-Minix&Weenix

TYPE shutdownPress enter

Preetha/ME/CSE/I

Page 14: Educational operating system-Minix&Weenix

Power Off

Preetha/ME/CSE/I

Page 15: Educational operating system-Minix&Weenix

Preetha/ME/CSE/I

Page 16: Educational operating system-Minix&Weenix

ENTER THE ROOT LOGIN TO START THE MACHINE

Preetha/ME/CSE/I

Page 17: Educational operating system-Minix&Weenix

Preetha/ME/CSE/I

Page 18: Educational operating system-Minix&Weenix

Preetha/ME/CSE/I

Page 19: Educational operating system-Minix&Weenix

Preetha/ME/CSE/I

Page 20: Educational operating system-Minix&Weenix

• 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

Page 21: Educational operating system-Minix&Weenix

Intelligent multitasking

Virtual memory

Terminal emulation

Advanced device support.

Preetha/ME/CSE/I

Page 22: Educational operating system-Minix&Weenix

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

Page 23: Educational operating system-Minix&Weenix

• 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

Page 24: Educational operating system-Minix&Weenix

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

Preetha/ME/CSE/I

Page 25: Educational operating system-Minix&Weenix

• Go to terminal

Preetha/ME/CSE/I

Page 26: Educational operating system-Minix&Weenix

Open the terminal

Preetha/ME/CSE/I

Page 27: Educational operating system-Minix&Weenix

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

Preetha/ME/CSE/I

Page 28: Educational operating system-Minix&Weenix

o modify hello.c

Preetha/ME/CSE/I

Page 29: Educational operating system-Minix&Weenix

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

Preetha/ME/CSE/I

Page 30: Educational operating system-Minix&Weenix

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

Preetha/ME/CSE/I

Page 31: Educational operating system-Minix&Weenix

Thus educational operating systems are installed and studied successfully.

Preetha/ME/CSE/I