Search This Blog

Thursday 18 July 2013

The Boot Process and Operating Systems

1. Booting Process


  • The heart of a modern computer is one or more Central Processing Units.
  • A CPU gets its instructions from memory.
  • The CPU reads instruction from the BIOS and searches for the hard disks, CD drives and other hardware.
  • The BIOS program looks at the first sector for boot code.
  • Devices that feed the initial CPU instructions are known as bootstrap media.


2. Booting Process, cont


  • The Booting is a process involving 2 stages:
    • getting hardware up and running, and
    • getting the OS and other software up and running


3. Booting a Computer


  1. Power up; computer runs POST
  2. Boot sequence governed by BIOS ROM
    • BIOS parameters stored in CMOS
    • BIOS ROM may be password protected
  3. Control passes to the MBR of the first bootable device detected
  4. MBR points to boot record of selected operating system
  5. Operating system takes control


4. BIOS


  • What is a BIOS?
    • Basic input/output system
    • Built into the PC:
      • BIOS software stored permanently(*) on a ROM chip on the motherboard
    • The first code run when a PC is powered on
    • Identify system devices
    __________________________
    (*) In modern computers BIOS chip can be rewritten, allowing BIOS software to be upgraded.

5. POST


  • What is a POST?
    • power-on self-test -- one of the first processes that a computer undergoes when booting
    • POST tests the computer to ensure that it is working as it is supposed to.
    • POST can detect some errors with the processor, motherboard, RAM and other memory, as well as the video card.
    • Most BIOS chips use a system of beep codes to indicate the POST status to the user and each BIOS chipset uses a different code.
    • The IBM PC BIOS code standard, for example, uses one short beep to indicate a successful POST and two short beeps to indicate a POST error while AMI BIOS uses these same beep codes to indicate a DRAM refresh failure or parity circuit failure, respectively.

6. Plug and play BIOS


  • What is a plug and play BIOS?
    • Prior to Windows 95 the BIOS was responsible for managing all hardware devices such as the floppy and hard disk drives, serial and parallel ports, video and network cards, the keyboard, and system clock.
    • When hardware was added to the system, the user adding the hardware had to set a variety of parameters such as the starting address in memory where the buffers and startup code could be found as well as the interrupt priority level (IRQ) of the device.
    • Windows 95 introduced Plug-and-Play (PnP) BIOS which automates the process of detecting and adding hardware to a system.
    • In addition to making it far easier for the user to add hardware devices -- PnP eliminated hardware conflicts that could cripple the PC.


7. Bootstrap Illustrated


  •  Bootstrap

8. First sector of a harddrive


  • The first 512 bytes on a hard drive -- aka Logical Sector Zero -- contain the Master Boot Record (MBR).
  • The MBR contains the boot code and the partition table.
  • The partition table identifies the file system on the partitions on the disk; there must be at least one.
  • The boot code processes the partition table to identity which partition is bootable; control then transfers to the first sector, called the boot sector, of the active partition (there can be only one). The boot sector is operating system-specific.

9. Booting from active partition


  • Once the information in the first sector is read into memory:
    • The Master Boot Record (MBR) contains the partition table and boot code
    • The boot code finds the bootable partition on this drive
    • The boot code transfers control to the program on the first sector of active partition
    • The first sector of active partition is called the OS boot sector, or Volume Boot Record (VBR)

10. Volume Boot Record


  • VBR ( OS Boot sector) contain:
    • OS and volume file system-specific information.
    • For example, in the FAT file system, the boot sector information includes
      • the sector size,
      • cluster size,
      • number of FATs,
      • number of entries in the root directory,
      • number of sectors in the file system,
      • FAT size,
      • volume serial number,
      • volume label, and
      • file system type.


11. Booting the OS from the MBR


  •   Booting the OS from the MBR


12. Boot Code


  • The boot code in a DOS disk exists in the first 446 bytes of the first 512 byte sector, which is the MBR.
  • The end of the sector contains the partition table.
  • Boot sector viruses insert themselves into the first 446 bytes of the MBR so that they are executed every time the computer is booted.
  • The master boot record is read from the first sector of the disk, and the four partition table entries are identified and processed.


13. Sectors beyond MBR


  • In a DOS based disk the partition table and boot code requires only one sector, yet 63 are typically allocated for both the MBR and extended partitions because the partitions start on a cylinder boundary.
  • When parts of a partition table have become corrupt, it may be necessary to search for the extended partition tables.
  • To find the extended partitions, a search for 0xAA55 in the last two bytes of a sector could be conducted.
  • If a sector is found to be a boot sector of a file system, a partition table may exist 63 sectors prior to it.


14. Booting Windows XP and Server 2003


  •  Booting Windows XP and Server 2003


15. Booting Windows Vista/7


  •  Booting Windows Vista/7


16. Operating System Components


  • Kernel: OS core functions
  • Application Program Interface (API): Interface to kernel
  • File System and User Interface: User/program I/O and storage
  • Device Drivers: Interface between hardware and OS
  • Hardware Devices: Peripheral devices controllers
  •   Operating System Components


17. The OS and User Interface


  • OS is software that sits between the hardware and the users; this is the user interface
    • The OS also provides device drivers so that the applications can communicate with the hardware
  • The kernel is the privileged central part of the OS
  • Well-known OS/user interfaces include
    • Command line: DOS, Unix, Linux
    • GUI: Windows 9x/NT/Me/2000/XP/2003/Vista, MacOS, Unix/Linux X-Windows (Gnome, KDE)


18. Types of Operating Systems


  • DOSSingle-tasking operating system
    WindowsMulti-tasking, single-user. Capable of networking and resource sharing. Used NETBEUI protocol prior to Windows 2000; largely uses TCP/IP today
    MacOSMulti-tasking, single-user, excels at network-based resource sharing. Used AppleTalk protocol prior to TCP/IP support; Linux-based since OS X.
    Novell NetWareNetwork operating system used for resource sharing; supports Windows and Mac clients. Dominate NOS in the 1990s using IPX protocol; Linux-based since NetWare v5 using TCP/IP.
    UnixMulti-tasking, single- or multi-user OS. Predominant server OS on Internet servers; has always used TCP/IP.
    LinuxOpen-source, lightweight version of UNIX; many variants. Excellent OS for resource sharing, uses TCP/IP

19. Programs and Processes


  • A program is code or executable software sitting in a file on some storage device
    • Code refers to a programming language, e.g., C++, BASIC, VisualBASIC (VB), Perl, Java, ...
    • Executable files are binary files (DOS .exe or .com) or interpreted files (.bas, .vbs, .pl, .js, ...)
    • A process (or task) is a program that is currently running


20. Application Software


  • Office applications
    • Word processing, presentation graphics, spreadsheet, database
    • Image, video, and sound editors
  • Communications software
    • Web browser, e-mail, instant messaging, IRC
  • Entertainment
    • Single-user and network-based games, music players, CD creation


21. File System


  • The file system provides the framework for storing information on disks and other nonvolatile media (e.g., writeable CDs and tapes)
    • Provides the capability to create, modify, and delete files, examine directories, etc.
  • Ability to reference both the physical name and view as well as a logical name and view
  • Common file systems include FAT, NTFS, ufs, ext2fs, HFS/HFS+



Tuesday 16 July 2013

vb.net software

VB DECOMPILER 9.2 FREE DOWNLOAD



   Decompiler of Visual Basic programs. Decompiling forms, p-code, native code:    Decompiler of Visual Basic programs. Decompiling forms, pseudo code    (with parse opcodes to standard vb instructions and decompile objects references),    isassembling native code procedures    (with power Pentium Pro disassembler, supporting MMX and FPU instruction sets),     syntax coloring...


How To Make a crypter (in vb6)



How To Make a crypter ? What you will need: Visual Basic 6 or Visual Basic 6 Portable A RC4 module A brain The RC4 module and Visual Basic 6 Portable will have the download links at the end of this tutorial. TABLE OF CONTENTS: 1. Introduction 2. Building your crypter 3. Conclusion 1. Introduction RC4: In cryptography, RC4 (also known as ARCFOUR or ARC4 meaning Alleged RC4, see below)...


Gmail Spammer [Source Code vb.net]


Download Download the source code and learn to make your own spammer Free download and enjoy it!!!!!...


Crack Vb,net 2008 Express Edition [tutorial]



Download Vedio Crack vb.net in 1 minute 100% working!!...


web designing software

Adobe Dreamweaver CS6 with Crack Free Download



Adobe Dreamweaver CS6 web design software provides an intuitive visual interface for making and editing HTML websites and mobile apps. Use fluid grid layout designed for cross-platform compatibility to create adaptive layouts. Review designs with Multiscreen Preview before publishing. See the top new features in Dreamweaver CS6 Find out more about fluid grid layout, enhanced jQuery Mobile support, CSS3 transitions, and other features introduced...


CoffeCup HTML Editor 12.7 Full Version Free Download



A large number of built-in tools help you efficiently and smartly to create and edit Web pages, revealing the inner and outer world of HTML and giving the user a control over the design and site structure.  To clear the organization of sites, the program has the function of project web sites, which will not allow the user to get lost in a vast number of HTML solution I’ve found from various websites. program includes a lot of different...


Designing on the go Easiest Website Creator X6



Powerful website design software Code-free website creation Dozens of templates and SiteStyles® Drag-and-drop design tools Support for the latest web technologies Download Trial From Below Link: Download Corel Website Creator X6 ...


Download WebKit For Dummies Book



2012 | 408 Pages | ISBN: 111812720X | EPUB | 26 MB Get up to speed on the engine that powers Safari and Google ChromeWhat do the web browsers on iPhone, iPad, Android, Blackberry, Kindle, and Nokia have in common with Google Chrome and Apple Safari? WebKit powers them all. This guide shows you how to create web sites and mobile web apps using WebKit. Learn to use all the developer tools, the latest web standards, and WebKit's unique styles...



oracle sql developer free download for windows xp

java jdk 32bit /64 bit

c\c++ software download