SlideShare a Scribd company logo
Chapter 2  Introduction ( Pages 76-98) The second half of Chapter 2 covers virtualization technology, Debugging, OS Generation and the Boot Process.  These powerpoints will skip the Debugging section, since that is a more involved section more suited to a programming class.
OS Layers and Modes Recall that with proper hardware support, an operating system can be written in “layers”. A layer is an absract object composed of data and allowed operations. Hardware is necessary to create modes that protect the resources of the lower layers. Typically  there will be a kernel mode and user mode, and sometimes other layers.
fg2_14
Virtualization Virtualization takes layers a step further: Since a virtual machine will run in kernel and user mode, this requires hardware support for a kernel and user mode for both the host and guest machine. The host creates an illusion that the guest has a processor, memory and hardware all to itself. Virtualilzation existed back in the 1970’s on IBM’s VM370, which could run several CMS single user interactive  operating systems.
fg2_17
Virtualization Benefits Some Benefits of virtualization: Share the same hardware to appear as separate computers Host system is protected from the guest(s) Guest operating systems are protected from each other Run several OS at the same time (good for development, testing, QA, etc.) Run old applications that require obsolete hardware Sharing is possible between guests by: Sharing a file system Creating a virtual network and sharing over the network
Virtualization Methods Virtuallization can be implemented by several methods: Sharing host hardware (system virtualization) requires kernel support, but is typically faster than simulation. Simulation: Guest OS thinks it has different hardware. May be a bit slower since software emulates hardware. Para-Virtualization: Guest presented with hardware “similar” to host machine, but requires guest to be modified to run on the para-virtualilzed hardware. The guest is NOT tricked into thinking it has it’s own machine, but the guest OS must have VM support. Virtualization tool runs in user mode as an application
VMWare Workstation Virtualization Layer is a User Application This Virtualization Layer is the interface between the host OS and the guest OS It abstracts the hardware The physical disk is just a file! The virtualization layer is the heart of VMWare Other similar products: Virtual PC, VirtualBox
fg2_19
3 Virtualilzation Products We use 3 different products at this school, the first two supported by the lab imate:  VMWare Player Microsoft Virtual PC Oracle VirtualBox (on many Linux systems, but not installed on our Lab Computers).
Differrences between these 3 VMWare Player Multi-Platform: versions for Windows, Linux, etc. Full Featured VMWare Product similar to Workstation, but it’s free. Not just a player: you can install an OS. Limitations: Can’t undo changes or choose boot device Microsoft Virtual PC 2007 A fully functional VM which also supports an “undo” disk Host must be Windows OS Oracle VirtualBox Snapshots provide an elaborate “undo” capability Multi-Platform, runs on Linux, Windows, etc.
Some other VM’s Java Virtual Machine (JVM) Java is a popular object oriented language that will run a JVM JVM is a specification for an abstract computer that runs “byte-codes”.  Java is compiled to these byte-codes Byte-codes can be run in hardware (a hardware JVM), or interpreted by software (slower), or compiled to the host’s instruction set using a “just-in-time” (JIT) compiler.  This results in fast execution, almost as fast as code compiled for the host.
And then there was “dot-net” The .NET Framework is Microsoft’s creation It’s a collection of technologies for developing software Programmers don’t worry about  hardware specifics The execution environment abstracts the hardware details and provides a “virtual machine” The  core of .NET Framework is the “Common Language Runtime” or CLR.  CLR is the implementation of the .Net virtual machine
Operating System Generation It’s possible to create an OS for one machine at one site This is not practical, so instead a process called System Gneration (or SYSGEN) will configure the OS for a site. SYSGEN asks questions like: What is the CPU? How is the boot disk formatted? How much memory? What devices available What OS system options desired? The OS is configured at install time to meet these specs SYSGEN is different than “SYSPREP” (discuss)
Boot Process After an OS is generated, it must be made available The process of starting a computer and loading the kernel is called “booting the system” Done by a small program called a “bootstrap program” or “bootstrap loader” that exists on the boot device The bootstrap loader is stored in firmware (BIOS), and it loads a small program from the boot block.
Boot Process The boot block may be too small to hold a large loader program. Boot block [program] typically only knows the address on disk and the length of the rest of the bootstrap loader. Boot block loads the rest of the loader, which loads the OS Every OS must have a loader GRUB is a Linux loader that can be used to boot Windows or Linux (or other OS) in a multi-boot environment.
A Few Miscelaneous Items Sometimes there is no boot loader: For small handheld devices (cell phones, etc.), the entire OS may reside in hardware (this is called firmware).  Note: Methods are provided for updating firmware Operating systems generally are composed of a kernel (or microkernel), and other support programs (called system programs), such as the command line interface (CLI) also called a command interpreter. A microkernel is a small kernel that is stripped of non-essential programs which can be run at the higher user levels.  This results in a smaller kernel.
Some Final Thoughts The OS installed on a Virtual Machine (using a virtualization layer like VMWare) thinks it has it’s own memory, it’s own disk, it’s own network card, etc.  It has no idea it is running in a virtual environment.  Thus, the OS requires no special changes to run virtually. System Calls provide the interface to the Operating System, and it’s through system calls that the application programs obtain OS services.  The set of available system calls is part of the API (application programming interface).
What Next? These short Powerpoints covered some highlights from the short book on Operating Systems that is part of this course. Starting next class, we switch to the Microsoft book and install and learn about Windows 7 and the desktop environment (workstation and domain) We will use VirtualPC for this class, and you will use that or VMWare for most of your classes here. What about other VM options (Virtualbox?) – discuss What are some VM skills and “Best Practices”
VM Best Practices Here are some “best practices” for VMs in this and other classes you may take The virtual machine is really  just a file! Always make a copy of the virtual machine When copying a machine, copy an entire folder! Treat the entire folder as a unit. It contains settings, suspended states, etc. Make sure all files are stored in the folder on your USB hard drive.  Some VMs like to put stuff in “Documents & Settings” on the host – yuk!  You may need to set this up when you create the machine.  Discuss

More Related Content

PPT
Virtualization ppt1
abdulrubbinmohsin
 
PPTX
Virtual Machine
Prakhar Maurya
 
PPT
Virtual machine subhash gupta
Subhash Chandra Gupta
 
PPTX
Virtual Machine
Mehul Boghra
 
PPT
Virtual Pc Seminar
guest5b5549
 
PDF
Xen Hypervisor
Susheel Thakur
 
PPT
Slide final
Nikita Gupta
 
PPTX
Introduction, Installation Operating System and Application
Vichhaiy Serey
 
Virtualization ppt1
abdulrubbinmohsin
 
Virtual Machine
Prakhar Maurya
 
Virtual machine subhash gupta
Subhash Chandra Gupta
 
Virtual Machine
Mehul Boghra
 
Virtual Pc Seminar
guest5b5549
 
Xen Hypervisor
Susheel Thakur
 
Slide final
Nikita Gupta
 
Introduction, Installation Operating System and Application
Vichhaiy Serey
 

What's hot (20)

PPT
Vmm concepts
Libin M
 
PPTX
Xen and Art of Virtualization (Xen Architecture)
Mr Cracker
 
PPS
Xen Euro Par07
congvc
 
PPT
PPT
butest
 
PPT
Virtual Machine Performance
Qian Lin
 
PPTX
Booting and Start-up Sequence
Trinity Dwarka
 
PDF
Booting & shut down,
Bhushan Pawar -Java Trainer
 
PPTX
Device drivers Introduction
vijay selva
 
PPTX
Parth virt
Parth Monga
 
PDF
Course 102: Lecture 25: Devices and Device Drivers
Ahmed El-Arabawy
 
PDF
A510840101 24982 23_2020_lecture_2
Krishna Kumar Singh
 
PPTX
What is Kernel, basic idea of kernel
Neel Parikh
 
PPT
Usenix Invited Talk
webhostingguy
 
PDF
Handout2o
Shahbaz Sidhu
 
PPTX
Virtual Machine Concept
fatimaanique1
 
PPTX
Kernel modules
Elmàgic Àlàâ
 
PDF
Tuning Android for low RAM
Chris Simmonds
 
PDF
Hypervisor Framework
Edgar Barbosa
 
PPTX
bios booting process
Taimoor Ashraf
 
Vmm concepts
Libin M
 
Xen and Art of Virtualization (Xen Architecture)
Mr Cracker
 
Xen Euro Par07
congvc
 
PPT
butest
 
Virtual Machine Performance
Qian Lin
 
Booting and Start-up Sequence
Trinity Dwarka
 
Booting & shut down,
Bhushan Pawar -Java Trainer
 
Device drivers Introduction
vijay selva
 
Parth virt
Parth Monga
 
Course 102: Lecture 25: Devices and Device Drivers
Ahmed El-Arabawy
 
A510840101 24982 23_2020_lecture_2
Krishna Kumar Singh
 
What is Kernel, basic idea of kernel
Neel Parikh
 
Usenix Invited Talk
webhostingguy
 
Handout2o
Shahbaz Sidhu
 
Virtual Machine Concept
fatimaanique1
 
Kernel modules
Elmàgic Àlàâ
 
Tuning Android for low RAM
Chris Simmonds
 
Hypervisor Framework
Edgar Barbosa
 
bios booting process
Taimoor Ashraf
 
Ad

Viewers also liked (20)

PDF
El pensamiento positivo y la mente humana
Euler Ruiz
 
PDF
Parking hormigon prefabricado
CAMPUS11
 
PPT
Itt operating systems unit 05 lesson 06
blusmurfydot1
 
PPT
IT103 Microsoft Windows XP/OS Chap07
blusmurfydot1
 
PPTX
Building Advanced Web UI in The Enterprise World
efim13
 
PDF
Most dangerous searchterm_us
Angeline KH
 
PPSX
Aparato circulatorio
Euler Ruiz
 
PPT
IT109 Microsoft Windows 7 Operating Systems Unit 06 lesson 08
blusmurfydot1
 
PPTX
Organizadores
bernardo55
 
PDF
El aprendizaje y el cerebro humano
Euler Ruiz
 
PPT
IT103Microsoft Windows XP/OS Chap14
blusmurfydot1
 
PDF
DTA 2011 REV B
tynanderek
 
PPT
IT109 Microsoft Windows 7 Operating Systems Unit 07 lesson 10
blusmurfydot1
 
PPT
IT109 Microsoft Windows 7 Operating Systems Unit 06 lesson 07
blusmurfydot1
 
PPTX
La computadora
silovera
 
PPTX
Assistive technology
kturne10
 
PPT
IT103Microsoft Windows XP/OS Chap13
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap11
blusmurfydot1
 
PPSX
Zonas erroneas y la salud mental
Euler Ruiz
 
PPTX
A Track Record of Ingenuity...
EricFermin
 
El pensamiento positivo y la mente humana
Euler Ruiz
 
Parking hormigon prefabricado
CAMPUS11
 
Itt operating systems unit 05 lesson 06
blusmurfydot1
 
IT103 Microsoft Windows XP/OS Chap07
blusmurfydot1
 
Building Advanced Web UI in The Enterprise World
efim13
 
Most dangerous searchterm_us
Angeline KH
 
Aparato circulatorio
Euler Ruiz
 
IT109 Microsoft Windows 7 Operating Systems Unit 06 lesson 08
blusmurfydot1
 
Organizadores
bernardo55
 
El aprendizaje y el cerebro humano
Euler Ruiz
 
IT103Microsoft Windows XP/OS Chap14
blusmurfydot1
 
DTA 2011 REV B
tynanderek
 
IT109 Microsoft Windows 7 Operating Systems Unit 07 lesson 10
blusmurfydot1
 
IT109 Microsoft Windows 7 Operating Systems Unit 06 lesson 07
blusmurfydot1
 
La computadora
silovera
 
Assistive technology
kturne10
 
IT103Microsoft Windows XP/OS Chap13
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap11
blusmurfydot1
 
Zonas erroneas y la salud mental
Euler Ruiz
 
A Track Record of Ingenuity...
EricFermin
 
Ad

Similar to IT109 Microsoft Windows 7 Operating Systems Unit 02 (20)

PPTX
Virtualization
Yansi Keim
 
PPT
Unit II.ppt
HARISHK762704
 
PPTX
Virtual machine
IGZ Software house
 
PDF
virtual-machine-150316004018-conversion-gate01.pdf
KowsalyaJayakumar2
 
PPT
Virtualization (Distributed computing)
Sri Prasanna
 
PDF
Virtualization Approach: Theory and Application
Universitas Pembangunan Panca Budi
 
PPTX
cloud computing and cloud security1.pptx
preethig557
 
PDF
Operating system Definition Structures
anair23
 
PPTX
Virtualization: Force driving cloud computing
Mayank Aggarwal
 
PPT
Joanna Rutkowska Subverting Vista Kernel
guestf1a032
 
PPT
Virtualization session 2
Navaneethan Naveen
 
PDF
Unit 3 Virtualization.pdf
PrachiKurhade3
 
PPTX
Virtualization
Kumar Harsha
 
PDF
Cloud computing | Cloud security | unit 2
dumhack90
 
PDF
CloudComputing_UNIT 2.pdf
khan593595
 
PDF
CloudComputing_UNIT 2.pdf
khan593595
 
PPT
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
nagarajans87
 
PPTX
virtualization.pptx
ssuser6e6eec
 
PPTX
Virtualization-Presentation-with-History
Sachin Darekar
 
PPTX
CC CLOUD RESOURCE VIRTUALIZATION PPT TO REFER
2021ismadhuprasadrna
 
Virtualization
Yansi Keim
 
Unit II.ppt
HARISHK762704
 
Virtual machine
IGZ Software house
 
virtual-machine-150316004018-conversion-gate01.pdf
KowsalyaJayakumar2
 
Virtualization (Distributed computing)
Sri Prasanna
 
Virtualization Approach: Theory and Application
Universitas Pembangunan Panca Budi
 
cloud computing and cloud security1.pptx
preethig557
 
Operating system Definition Structures
anair23
 
Virtualization: Force driving cloud computing
Mayank Aggarwal
 
Joanna Rutkowska Subverting Vista Kernel
guestf1a032
 
Virtualization session 2
Navaneethan Naveen
 
Unit 3 Virtualization.pdf
PrachiKurhade3
 
Virtualization
Kumar Harsha
 
Cloud computing | Cloud security | unit 2
dumhack90
 
CloudComputing_UNIT 2.pdf
khan593595
 
CloudComputing_UNIT 2.pdf
khan593595
 
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
nagarajans87
 
virtualization.pptx
ssuser6e6eec
 
Virtualization-Presentation-with-History
Sachin Darekar
 
CC CLOUD RESOURCE VIRTUALIZATION PPT TO REFER
2021ismadhuprasadrna
 

More from blusmurfydot1 (16)

PPT
IT103Microsoft Windows XP/OS Chap05
blusmurfydot1
 
PPT
IT109 Microsoft Operating Systems Unit 05 lesson 06
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap16
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap15
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap12
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap08
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap04
blusmurfydot1
 
PPT
Microsoft Windows XP/OS Chapt03
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap02
blusmurfydot1
 
PPT
IT103Microsoft Windows XP/OS Chap01
blusmurfydot1
 
PPT
IT109 Microsoft Windows Operating Systems Unit 09 lesson12
blusmurfydot1
 
PPTX
IT109 Microsoft Windows 7 Operating Systems Unit 08 lesson 11
blusmurfydot1
 
PPT
IT109 Microsoft Windows 7 Operating Systems Unit 04 lesson 04
blusmurfydot1
 
PPT
IT109 Microsoft Windows 7 Operating Systems Unit 03 lesson 02
blusmurfydot1
 
PPT
IT109 Microsoft Windows 7 Operating Systems Unit 03 lesson 01
blusmurfydot1
 
PPT
IT109 Microsoft Windows 7 Operating Systems Unit 01
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap05
blusmurfydot1
 
IT109 Microsoft Operating Systems Unit 05 lesson 06
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap16
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap15
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap12
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap08
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap04
blusmurfydot1
 
Microsoft Windows XP/OS Chapt03
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap02
blusmurfydot1
 
IT103Microsoft Windows XP/OS Chap01
blusmurfydot1
 
IT109 Microsoft Windows Operating Systems Unit 09 lesson12
blusmurfydot1
 
IT109 Microsoft Windows 7 Operating Systems Unit 08 lesson 11
blusmurfydot1
 
IT109 Microsoft Windows 7 Operating Systems Unit 04 lesson 04
blusmurfydot1
 
IT109 Microsoft Windows 7 Operating Systems Unit 03 lesson 02
blusmurfydot1
 
IT109 Microsoft Windows 7 Operating Systems Unit 03 lesson 01
blusmurfydot1
 
IT109 Microsoft Windows 7 Operating Systems Unit 01
blusmurfydot1
 

IT109 Microsoft Windows 7 Operating Systems Unit 02

  • 1. Chapter 2 Introduction ( Pages 76-98) The second half of Chapter 2 covers virtualization technology, Debugging, OS Generation and the Boot Process. These powerpoints will skip the Debugging section, since that is a more involved section more suited to a programming class.
  • 2. OS Layers and Modes Recall that with proper hardware support, an operating system can be written in “layers”. A layer is an absract object composed of data and allowed operations. Hardware is necessary to create modes that protect the resources of the lower layers. Typically there will be a kernel mode and user mode, and sometimes other layers.
  • 4. Virtualization Virtualization takes layers a step further: Since a virtual machine will run in kernel and user mode, this requires hardware support for a kernel and user mode for both the host and guest machine. The host creates an illusion that the guest has a processor, memory and hardware all to itself. Virtualilzation existed back in the 1970’s on IBM’s VM370, which could run several CMS single user interactive operating systems.
  • 6. Virtualization Benefits Some Benefits of virtualization: Share the same hardware to appear as separate computers Host system is protected from the guest(s) Guest operating systems are protected from each other Run several OS at the same time (good for development, testing, QA, etc.) Run old applications that require obsolete hardware Sharing is possible between guests by: Sharing a file system Creating a virtual network and sharing over the network
  • 7. Virtualization Methods Virtuallization can be implemented by several methods: Sharing host hardware (system virtualization) requires kernel support, but is typically faster than simulation. Simulation: Guest OS thinks it has different hardware. May be a bit slower since software emulates hardware. Para-Virtualization: Guest presented with hardware “similar” to host machine, but requires guest to be modified to run on the para-virtualilzed hardware. The guest is NOT tricked into thinking it has it’s own machine, but the guest OS must have VM support. Virtualization tool runs in user mode as an application
  • 8. VMWare Workstation Virtualization Layer is a User Application This Virtualization Layer is the interface between the host OS and the guest OS It abstracts the hardware The physical disk is just a file! The virtualization layer is the heart of VMWare Other similar products: Virtual PC, VirtualBox
  • 10. 3 Virtualilzation Products We use 3 different products at this school, the first two supported by the lab imate: VMWare Player Microsoft Virtual PC Oracle VirtualBox (on many Linux systems, but not installed on our Lab Computers).
  • 11. Differrences between these 3 VMWare Player Multi-Platform: versions for Windows, Linux, etc. Full Featured VMWare Product similar to Workstation, but it’s free. Not just a player: you can install an OS. Limitations: Can’t undo changes or choose boot device Microsoft Virtual PC 2007 A fully functional VM which also supports an “undo” disk Host must be Windows OS Oracle VirtualBox Snapshots provide an elaborate “undo” capability Multi-Platform, runs on Linux, Windows, etc.
  • 12. Some other VM’s Java Virtual Machine (JVM) Java is a popular object oriented language that will run a JVM JVM is a specification for an abstract computer that runs “byte-codes”. Java is compiled to these byte-codes Byte-codes can be run in hardware (a hardware JVM), or interpreted by software (slower), or compiled to the host’s instruction set using a “just-in-time” (JIT) compiler. This results in fast execution, almost as fast as code compiled for the host.
  • 13. And then there was “dot-net” The .NET Framework is Microsoft’s creation It’s a collection of technologies for developing software Programmers don’t worry about hardware specifics The execution environment abstracts the hardware details and provides a “virtual machine” The core of .NET Framework is the “Common Language Runtime” or CLR. CLR is the implementation of the .Net virtual machine
  • 14. Operating System Generation It’s possible to create an OS for one machine at one site This is not practical, so instead a process called System Gneration (or SYSGEN) will configure the OS for a site. SYSGEN asks questions like: What is the CPU? How is the boot disk formatted? How much memory? What devices available What OS system options desired? The OS is configured at install time to meet these specs SYSGEN is different than “SYSPREP” (discuss)
  • 15. Boot Process After an OS is generated, it must be made available The process of starting a computer and loading the kernel is called “booting the system” Done by a small program called a “bootstrap program” or “bootstrap loader” that exists on the boot device The bootstrap loader is stored in firmware (BIOS), and it loads a small program from the boot block.
  • 16. Boot Process The boot block may be too small to hold a large loader program. Boot block [program] typically only knows the address on disk and the length of the rest of the bootstrap loader. Boot block loads the rest of the loader, which loads the OS Every OS must have a loader GRUB is a Linux loader that can be used to boot Windows or Linux (or other OS) in a multi-boot environment.
  • 17. A Few Miscelaneous Items Sometimes there is no boot loader: For small handheld devices (cell phones, etc.), the entire OS may reside in hardware (this is called firmware). Note: Methods are provided for updating firmware Operating systems generally are composed of a kernel (or microkernel), and other support programs (called system programs), such as the command line interface (CLI) also called a command interpreter. A microkernel is a small kernel that is stripped of non-essential programs which can be run at the higher user levels. This results in a smaller kernel.
  • 18. Some Final Thoughts The OS installed on a Virtual Machine (using a virtualization layer like VMWare) thinks it has it’s own memory, it’s own disk, it’s own network card, etc. It has no idea it is running in a virtual environment. Thus, the OS requires no special changes to run virtually. System Calls provide the interface to the Operating System, and it’s through system calls that the application programs obtain OS services. The set of available system calls is part of the API (application programming interface).
  • 19. What Next? These short Powerpoints covered some highlights from the short book on Operating Systems that is part of this course. Starting next class, we switch to the Microsoft book and install and learn about Windows 7 and the desktop environment (workstation and domain) We will use VirtualPC for this class, and you will use that or VMWare for most of your classes here. What about other VM options (Virtualbox?) – discuss What are some VM skills and “Best Practices”
  • 20. VM Best Practices Here are some “best practices” for VMs in this and other classes you may take The virtual machine is really just a file! Always make a copy of the virtual machine When copying a machine, copy an entire folder! Treat the entire folder as a unit. It contains settings, suspended states, etc. Make sure all files are stored in the folder on your USB hard drive. Some VMs like to put stuff in “Documents & Settings” on the host – yuk! You may need to set this up when you create the machine. Discuss