Advanced Operating Systems and Virtualization. Alessandro Pellegrini A.Y. 2017/2018

Similar documents
PL-I Assignment Broup B-Ass 5 BIOS & UEFI

The kernel is not to be confused with the Basic Input/Output System (BIOS).

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

The Early System Start-Up Process. Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu

CSE 265: System and Network Administration

CSE 265: System and Network Administration

RHCE BOOT CAMP. The Boot Process. Wednesday, November 28, 12

Certification. System Initialization and Services

Hard Disk Organization. Vocabulary

Using grub to Boot various Operating Systems

Booting up and Shutting down A primer for troubleshooting

Chapter 2 Booting Up and Shutting Down

CST8177 Linux II. Linux Boot Process

Introduction to Linux start-up. Hao-Ran Liu

Boot. How OS boots

CIT 480: Securing Computer Systems

University of Pennsylvania Zachary Goldberg. CIS c. More Kernel Bits. 10/03/09 Slide 1

LPI EXAM LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. Buy Full Product.

Initial Bootloader. On power-up, when a computer is turned on, the following operations are performed:

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

Booting Up and Shutting Down

Boot Process in details for (X86) Computers

Booting Up and Shutting Down. lctseng / Liang-Chi Tseng

Kernel Internals. Course Duration: 5 days. Pre-Requisites : Course Objective: Course Outline

Copyright 2015

IA32 OS START-UP UEFI FIRMWARE. CS124 Operating Systems Fall , Lecture 6

Advanced Unix System Administration

How To Reinstall Grub In Windows 7 With Cd Bootcamp Partition

Introduction p. 1 Why Linux? p. 2 Embedded Linux Today p. 3 Open Source and the GPL p. 3 Free Versus Freedom p. 4 Standards and Relevant Bodies p.

Booting Up & Processes

Oracle 1Z Enterprise Linux System Administration. Download Full Version :

Chapter 2: System Structures. Operating System Concepts 9 th Edition

Linux/Citrix Virtual Environment Documentation

Strengthening the Chain of Trust. Kevin Lane HP Jeff Bobzin Insyde Software

Basic Linux Security. Roman Bohuk University of Virginia

x86 Initial Boot Sequence Advanced Operating Systems and Virtualization Alessandro Pellegrini A.Y. 2017/2018

CS307: Operating Systems

CPSC/ECE 3220 Fall 2017 Exam Give the definition (note: not the roles) for an operating system as stated in the textbook. (2 pts.

CIS 191A Final Exam. Fall CIS 191 Final Exam

Boot Mode Considerations: BIOS vs. UEFI

History of Unix and Linux

Chapter 2 Operating-System Structures

exam.30q. Number: Passing Score: 800 Time Limit: 120 min File Version: 1 LPI

Backup, File Backup copies of individual files made in order to replace the original file(s) in case it is damaged or lost.

Introduction. Yolanda Becerra Fontal Juan José Costa Prats

System Administration. Startup Process

Chapter 2: Operating-System Structures

Arch Linux Grub You Need To Load The Kernel First

Authored by: Brian E. Brzezicki Copyright 2013, Paladin Group LLC Reuse without permission is strictly prohibited

CHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed.

Operating Systems. II. Processes

The Linux Boot Process

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration

SSN Lab Assignment: UEFI Secure Boot

CS 378 (Spring 2003) Linux Kernel Programming. Yongguang Zhang. Copyright 2003, Yongguang Zhang

ECE 471 Embedded Systems Lecture 12

Installing Linux on JMU Computer-Science Department Removable Hard Drives for CS-450 and CS-550

BOOTSTRAP, PC BIOS, AND IA32 MEMORY MODES. CS124 Operating Systems Winter , Lecture 5

Chapter 2: Operating-System Structures

DELLEMC. TUESDAY September 19 th 4:00PM (GMT) & 10:00AM (CST) Webinar Series Episode Nine WELCOME TO OUR ONLINE EVENTS ONLINE EVENTS

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL

Chapter 2: Operating-System Structures

Scheduling. CS 161: Lecture 4 2/9/17

Chapter 2: Operating-System Structures

Operating Systems. Computer Science & Information Technology (CS) Rank under AIR 100

Building, Running and Monitoring the Linux kernel

LPIC 102. be familiar with standard runlevels in a Linux system

Syllabus CSCI 405 Operating Systems Fall 2018

Chapter 2. Operating-System Structures

Comp 104: Operating Systems Concepts

Chapter 2: Operating-System Structures. Operating System Concepts Essentials 8 th Edition

LPI Linux-Linux Networking Administration. Download Full Version :

Android Bootloader and Verified Boot

Chapter 2: Operating-System

Operating Systems. Operating System Structure. Lecture 2 Michael O Boyle

ECE 471 Embedded Systems Lecture 16

Recovering GRUB: Dual Boot Problems and Solutions

Bootstrap, Memory Management and Troubleshooting. LS 12, TU Dortmund

Chapter 2: Operating-System Structures. Chapter 2: Operating-System Structures. Objectives. Operating System Services

Manufacturing Tools in the UEFI Secure Boot Environment

Firmware Implementation Techniques to Achieve Windows 8 Fast Boot

User Guide. Storage Executive. Introduction. Storage Executive User Guide. Introduction

Prerequisites: General computing knowledge and experience. No prior knowledge with Linux is required. Supported Distributions:

WD AV GP Large Capacity Hard Drives

COS 318: Operating Systems

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

TDDI04, K. Arvidsson, IDA, Linköpings universitet Operating System Structures. Operating System Structures Overview. Operating System Services

User. Applications. Operating System. Hardware

How To Reinstall Grub In Windows 7 Without Cd Dell

Lecture Topics. Announcements. Today: Threads (Stallings, chapter , 4.6) Next: Concurrency (Stallings, chapter , 5.

GL-280: Red Hat Linux 7 Update. Course Description. Course Outline

OPERATING SYSTEMS. Prescribed Text Book Operating System Principles, Seventh Edition By Abraham Silberschatz, Peter Baer Galvin and Greg Gagne

From last time. What is the maximum size of a file in bytes? What is the maximum total size of directories and files in a single disk partition?

Benchmark Study: A Performance Comparison Between RHEL 5 and RHEL 6 on System z

KillTest 䊾 䞣 催 ࢭ ད ᅌ㖦䊛 ᅌ㖦䊛 NZZV ]]] QORRZKYZ TKZ ϔᑈܡ䊏 ᮄ ࢭ

T E C H N O L O G I E S. User Guide. 1:9 HS HDD Duplicator Pro (HD9SITDRHS)

- Knowledge of basic computer architecture and organization, ECE 445

Operating Systems, Spring 2015 Course Syllabus

Course 55187B Linux System Administration

Transcription:

Advanced Operating Systems and Virtualization Alessandro Pellegrini A.Y. 2017/2018

Basic Information Lecture Schedule: Course begins today! Course ends on June 1 st Lecture slots: Tuesday, 08.00 am 10.00 am (Room A3) Friday, 08.00 am 11.00 am (Room A3). Office Hours: 1 st and 3 rd Wednesday of each month, at 3.00 pm Contact: pellegrini@dis.uniroma1.it

Exam Rules A written test (2/5 of the final mark) A code project (3/5 of the final mark) Implementation of facilities within the Linux Kernel Specifications will be given during the course We will see internals from Linux 2.4/2.6/3.0/4.0 Pick your preferred version! Best if you are compatible with more than one!

Course Outline Booting on an x86 System Memory Management Virtual File System Process/Thread Management Kernel API (e.g., System Calls) Interrupt Management Kernel Data Structures How to make a portable Kernel

Course Outline Additional Kernel Facilities Kernel Loadable Modules Kernel Debugging Hot Patching Security Rootkits Operating systems security aspects Authentication and abilitation Protection domains and secure operating systems System internal attacks and countermeasures IDS and Reference Monitor architectures

Course Outline System Virtualization Basic techniques for system virtualization Support for the guest system execution flow

What you should know already Computing Architectures Registers, I/O, Interrupts principles, flat memory model,... Numerical Representations Basic x86 assembly notation Operating Systems Principles Threads and Processes System Calls Algorithms and Data Structures Some notions on Concurrency Synchronization, race conditions, critical sections, locks,...

AOSV: Introduction Why Linux?

AOSV: Introduction Why x86?

Boot Sequence BIOS/UEFI The actual Hardware Startup Bootloader Stage 1 Executes the Stage 2 bootloader (skipped in case of UEFI) Bootloader Stage 2 Loads and starts the Kernel Kernel Startup Init Runlevels/Targets The Kernel takes control of and initializes the machine (machine-dependent operations) First process: basic environment initialization (e.g., SystemV Init, systemd) Initializes the user environment (e.g., single-user mode, multiuser, graphical,...)

Boot Sequence BIOS/UEFI The actual Hardware Startup BIOS: Basic Input/Output System Performs some system integrity checks Searches, loads, and executes the Stage 1 boot loader program. UEFI: Unified Extensible Firmware Interface More standardized than BIOS Gives much more versatility

Boot Sequence Bootloader Stage 1 Executes the Stage 2 bootloader (skipped in case of UEFI) Stored in the Master Boot Record (MBR) Less than 512 bytes in size primary boot loader info in 1 st 446 bytes partition table info in next 64 bytes mbr validation check in last 2 bytes. Not enough space to load the kernel: activates Bootloader Stage 2

Boot Sequence Kernel Startup Loads and starts the Kernel Typical software: LILO or GRUB Allows kernel selection Loads from disk the actual kernel startup image and gives control to it

Boot Sequence Kernel Startup The Kernel takes control of and initializes the machine (machine-dependent operations) Configures the hardware environment On x86 this requires multiple memory image initializations Mounts the root file system Configures internal data structures Spawns the first process (init)

Boot Sequence Init First process: basic environment initialization (e.g., SystemVInit, systemd) Configures the software environment Loads the default runlevel Spawns other (interactive) processes

Boot Sequence Runlevels/Targets Initializes the user environment (e.g., single-user mode, multiuser, graphical,...) They represent the state of a machine running processes and services offered On UNIX, they are traditionally six 0: halts the machine 1: single-user mode 2-5: multi-user with different services/facilities 6: reboots the machine