Chapter 8 Unix & Linux.

Slides:



Advertisements
Similar presentations
BSD Partitions COEN 152/252 Computer Forensics. BSD Partitions Some BSD systems use IA32 hardware  Designed to co-exists with MS partitions.  Use DOS.
Advertisements

Linux Boot Loaders. ♦ Overview A boot loader is a small program that exists in the system and loads the operating system into the system’s memory at system.
Booting and Shuting Down WeeSan Lee. Roadmap Bootstrapping Boot Loaders Startup/Init Scripts Reboot & Shutdown Q&A.
Genesis: from raw hardware to processes System booting sequence: how does a machine come into life.
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
Booting and Halting Chapter 4. Chapter Objectives Examine the sequence of events that occur when a system is booted. Examine the methods used to modify.
Booting and Shutting Down the UNIX Operating System Arcadio A. Sincero Jr. 6/6/2001 CMSC 691X, Section 6080.
Linux+ Guide to Linux Certification Chapter Nine System Initialization.
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Booting the Linux Kernel Dr. Michael L. Collard 1.
Linux Installation LINUX INSTALLATION. Download LINUX Linux Installation To install Red Hat, you will need to download the ISO images (CD Images) of the.
04/21/2004CSCI 315 Operating Systems Design1 Disk Management.
Booting And Shutting Down. Bootstrapping  Bootstrapping is standard term for “starting up a computer”  During bootstrapping the kernel is loaded into.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
1 Web Server Administration Chapter 3 Installing the Server.
COS/PSA 413 Day 4. Agenda Questions? Assignment 1 Corrected – 3 A’s, 2 B’s, 2 C’s, 2 D’s and 1 F’s Assignment 2 posted Due in one week Lab Write-ups (project.
Guide to Computer Forensics and Investigations Third Edition
Bootloader / multi-boot
CS 497C – Introduction to UNIX Lecture 3: Inside UNIX Chin-Chih Chang
Guide To UNIX Using Linux Third Edition
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
Guide to Computer Forensics and Investigations Fourth Edition Chapter 8 Macintosh and Linux Boot Processes and File Systems.
Agenda 1. Present weekly Power Point presentation 2. Open source presentations 3. Final exam review link available 4. All lab assignments due by August.
Linux+ Guide to Linux Certification, Third Edition
CompTIA Linux+ Certification
Guide To UNIX Using Linux Fourth Edition
Unix File System Internal Structures By C. Shing ITEC Dept Radford University.
Linux Booting Procedure
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
1Fall 2008, Chapter 11 Disk Hardware Arm can move in and out Read / write head can access a ring of data as the disk rotates Disk consists of one or more.
LOGO Linux Installation. Linux Distribution Including shells, libraries, tools, compiler, servers, applications. Redhat, Fedora, Mandrake, SuSE, Debian,
Guide to Computer Forensics and Investigations Fourth Edition Chapter 8 Macintosh and Linux Boot Processes and File Systems.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
Guide to Computer Forensics and Investigations, Second Edition Chapter 8 Macintosh and Linux Boot Processes and File Systems.
Chapter 5 File Management File System Implementation.
UNIX File System by Tero Toikkanen, CAP02S. UNIX Multi-user system Multi-user system Multi-tasking system Multi-tasking system Wide selection of tools.
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
Linux Operations and Administration Chapter Twenty Advanced Linux Administration.
UNIX File System (UFS) Chapter Five.
THE FILE SYSTEM Files long-term storage RAM short-term storage Programs, data, and text are all stored in files, which is stored on.
File system In computing, a file system is a method of storing and organizing computer files and the data they contain to make it easy to find and access.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Computer Operating Systems And Software applications.
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
Guide to Computer Forensics and Investigations Fifth Edition Chapter 7 Linux and Macintosh File Systems.
Class Meeting 11 ITI-481 – UNIX ADMIN Chris Uriarte, Instructor ITI-481: Unix Administration Rutgers University Internet Institute Instructor: Chris Uriarte.
1 C1-UD 6-2 INSTALLING LINUX Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems) Ferran Chic PELE-08/09 (Pla Experimental Llengües.
Linux Filesystem Administration
Linux Introduction Linux was developed in the early 1990’s by Linus Torvald computer science student at the University of Helsinki Linux is distributed.
Chap- 2 BOOTING & SHUTDOWN LINUX SYSTEM Created by: Asst. Prof. Ashish Shah, J.M.PATEL COLLEGE, GOREGOAN W 1.
1 COP 4343 Unix System Administration Unit 1: –Linux OS structure –Distributions –Hardware inventory –Disks and partitions –Installation steps –Boot loader.
Guide to Computer Forensics and Investigations Fifth Edition
Guide to Computer Forensics and Investigations Fifth Edition
Getting Started with Linux
Day 28 File System.
Partitioning.
EXT in Detail High-Performance Database Research Center
Guide to Linux Installation and Administration, 2e
Chapter 3 Installing Red Hat Linux
Chapter 12: File System Implementation
Day 27 File System.
Structure of Unix OS.
Guide to Computer Forensics and Investigations Fourth Edition
Operating System Module 1: Linux Installation
Overview Continuation from Monday (File system implementation)
Linux and TCP/IP Networking
Presentation transcript:

Chapter 8 Unix & Linux

Examining UNIX and Linux Disk Structures UNIX flavors System 7, SGI IRIX, Sun Solaris, IBM AIX, and HP-UX BSD, FreeBSD, OpenBSD, and NetBSD Linux distributions Caldera, Red Hat, SuSe, Mandrake, and Debian Most consistent UNIX-like OSs GNU and BSD licenses

Examining UNIX and Linux Disk Structures (continued)

Examining UNIX and Linux Disk Structures (continued)

Examining UNIX and Linux Disk Structures (continued) Linux file systems Second Extended File System (Ext2fs) Ext3fs, journaling version of Ext2fs Employs inodes Pointer to other inodes or blocks Keep internal link count Deleted inodes have count value 0

Examining UNIX and Linux Disk Structures (continued)

UNIX and Linux Overview Everything is a file Files are defined as objects UNIX consists of four components Boot block Disk allocation unit of at least 512 bytes Contains the bootstrap code Only one

UNIX and Linux Overview (continued) Superblock Indicates disk geometry, available space, and location of the first inode Manages the file system Inode blocks First data after the superblock Assigned to every file allocation unit Data blocks Where directories and files are stored

UNIX and Linux Overview (continued)

UNIX and Linux Overview (continued) Bad block inode Keeps track of disk bad sectors Commands: badblocks, mke2fs, and E2fsck/ Linux ls command displays information about files Continuation inode provides more information about a file or directory

UNIX and Linux Overview (continued)

UNIX and Linux Overview (continued)

Understanding Inodes Link data stored in data blocks Ext2fs and Ext3fs are improvements over Ext Data recovery easier on Ext3fs than on Ext2fs First inode has 13 pointers Pointers 1 to 10 are direct pointers Pointer 11 is an indirect pointer Pointer 12 is a double-indirect pointer Pointer 13 is a triple-indirect pointer

Understanding Inodes (continued)

Understanding Inodes (continued)

Understanding UNIX and Linux Boot Processes Instruction code in firmware is loaded into RAM Instruction code then Checks the hardware Load the boot program Boot program Loads kernel Transfers control to kernel

UNIX & Linux Boot Processes Kernel Boots system on single-user mode Runs startup scripts Changes to multiuser mode Identifies root directory, swap and dump files Sets host name, time zone Runs consistency checks on the file system and mounts partitions Starts services

Understanding Linux Loader and GRUB Linux Loader (LILO) Old boot manager Can start two or more OSs Uses configuration file lilo.conf Grand Unified Boot Loader (GRUB) More powerful than LILO As LILO resides on MBR Command line or menu driven

UNIX and Linux Drives and Partition Schemes Labeled as path starting at root (/) directory Primary master disk First partition is /dev/hda Second partition is /dev/hda2 Primary slave or secondary master or slave First partition is /dev/hdb SCSI controllers /dev/sda with first partition /dev/sda1