1. Trang chủ
  2. » Công Nghệ Thông Tin

Bài giảng Hệ thống máy tính: Chương 9 - TS. Trần Thị Minh Khoa

28 9 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

Bài giảng Hệ thống máy tính: Chương 9 Cấu hình sử dụng máy tính, cung cấp cho người học những kiến thức như: Cài đặt; Bootloader; Người dùng; Quản lý ứng dụng, service; Quản lý FS, phân quyền; Các mức cấu hình. Mời các bạn cùng tham khảo

Chap9: CẤU HÌNH SỬ DỤNG MÁY TÍNH GV: TS Trần Thị Minh Khoa ()(9t)       Cài đặt Bootloader Người dùng Quản lý ứng dụng, service Quản lý FS, phân quyền Các mức cấu hình Why is Booting Required   Phần cứng nơi lưu OS cách để tải (load) Cần chương trình đặc biệt để làm việc – Bootstrap loader   ? E.g BIOS – Boot Input Output System Bootstrap loader định vị kernel, tải vào nhớ xử lý What files are needed to boot a PC computer?  Cần files để thực boot DOS prompt  command.com  io.sys  msdos.sys  NOTE:- Những file có kích thước nhỏ How Boot process occurs ?  Sự kiện reset CPU (power up, reboot): ghi dẫn tải lên vị trí xác định nhớ Bao gồm: dẫn nhảy (jump instruction) để chuyển việc xử lý lên vị trí chương trình Bootstrap  Chương trình hình thành ROM, RAM trạng thái unknown hệ thống khởi động (start up) ROM thuận tiện khơng cần khởi tạo không bị ảnh hưởng virus The PC boot process Executes code from well-known location Execute first-stage boot loader from MBR Execute second-stage boot loader Load the kernel Load the first user space program BIOS     BIOS – Basic Input/Output System Located at memory location 0xFFFF0 Boot firmware designed to be run at startup POST – Power-on Self-Test   Run-time services    Identifies, tests, and initializes system devices Initial configuration Selects which device to boot from Alternatively, Extensible Firmware Interface (EFI) Stage Boot Loader: MBR      MBR – Master Boot Record Located on first sector of the boot disk Size: 512 bytes BIOS loads MBR to RAM, relinquishes control Main job: load the second-stage boot loader Anatomy of the MBR  First 446 bytes    Next 64 bytes   Primary boot loader Code and error messages Partition information Last bytes   Magic number Validation check for MBR Image from http://www.ibm.com/developerworks/linux/library/l-linuxboot/ Stage Boot Loader   Loads the kernel On Linux:     From Windows NT to Windows XP:   GRUB – Grand Universal Bootloader LILO – Linux Loader Others: SysLinux, ISOLinux, PXELinux NTLDR On Windows Vista:  Windows Boot Manager initrd      Initial RAM disk – a small temporary file system During stage boot, initrd is copied into RAM and mounted Allows the kernel to fully boot without having to mount any physical disks Supports many hardware configurations through loadable modules After kernel is booted, the real root file system is mounted init    The first user space program /sbin/init Typical for desktop Linux systems For Ubuntu, init reads /etc/event.d      see https://launchpad.net/upstart/ default run level defined at /etc/event.d/rc-default for normal start, Ubuntu is at run level executes programs from /etc/rc2.d For other Linux systems, init reads /etc/inittab What about Windows XP?     Boot Loader Phase Kernel loading phase Session Manager Winlogon Windows XP and earlier   NTLDR – the actual boot loader boot.ini – booting options   presents menu options as to what OS to load if absent, defaults to \Windows directory of first partition What NTLDR does      Accesses the file system on boot drive Looks for hiberfil.sys, the hibernation image Reads boot.ini and prompts the user Runs NTDETECT.COM Starts NTOSKRNL.EXE NTOSKRNL.EXE   Kernel image of Windows NT family Contains        Cache Manager Executive Kernel Security Reference Monitor Memory Manager Scheduler Also known as:     NTOSKRNL.EXE : CPU NTKRNLMP.EXE : N CPU SMP NTKRNLPA.EXE : CPU, PAE NTKRPAMP.EXE : N CPU SMP, PAE Kernel Loading Phase     HAL.DLL type of hardware abstraction layer KDCOM.DLL Kernel Debugger HW ExtensionDLL BOOTVID.DLL for the windows logo and side-scrolling bar config\system registry Session Manager   SMSS.EXE What it does:   Creates environment variables Starts the kernel and user modes of the Win32 subsystem       win32k.sys (kernel-mode) winsrv.dll (user-mode) csrss.exe (user-mode) Creates DOS device mappings listed at the HKLM\System\CurrentControlSet\Control\Session Manager\DOS Devices registry key Creates virtual memory paging files Starts winlogon.exe, the Windows logon manager Windows Logon  Winlogon starts the Local Security Authority Subsystem Service (LSASS) and Service Control Manager (SCM)  Also responsible for responding to the secure attention sequence (SAS), loading the user profile on logon, and optionally locking the computer when a screensaver is running What about Windows Vista?   Windows Boot Manager (bootmgr) Boot Configuration Data    winload.exe   replacing boot.ini found in \Boot\Bcd operating system boot loader NTOSKRNL.EXE and device drivers Bật tài khoản Administrator Windows Tắt tài khoản Administrator Windows Bật tắt tài khoản Administrator Local Users and Groups (Local)  Bước 1: Mở trình quản lý Local Users and Groups   Vào Start gõ từ khóa lusrmgr.msc chọn lusrmgr Trong lusrmgr chọn Local Users and Groups (Local)  Bước 2: Trong Local Users and Groups (Local) bạn chọn Users   Bước 3: Kích hoạt tài khoản Administrator   Chọn chuột phải vào Administrator chọn Properties Trong Administrator Properties tab General, bạn đánh dấu vào trước Account is disabled sau chọn Apply OK Bước 4: Tắt tài khoản Administrator  Trong Administrator Properties tab General, bạn bỏ đánh dấu vào trước Account is disabled sau chọn Apply OK ... nhảy (jump instruction) để chuyển việc xử lý lên vị trí chương trình Bootstrap  Chương trình hình thành ROM, RAM trạng thái unknown hệ thống khởi động (start up) ROM thuận tiện khơng cần khởi... bị ảnh hưởng virus The PC boot process Executes code from well-known location Execute first-stage boot loader from MBR Execute second-stage boot loader Load the kernel Load the first user space... Located at memory location 0xFFFF0 Boot firmware designed to be run at startup POST – Power-on Self-Test   Run-time services    Identifies, tests, and initializes system devices Initial configuration

Ngày đăng: 28/01/2022, 09:30

TỪ KHÓA LIÊN QUAN