Unit 3 - Notes
Unit 3: Installation of different Peripheral Devices and Softwares
1. Installation of Windows Operating Systems
The installation of a Windows Operating System (OS) is a foundational process in computer hardware and system administration. It involves deploying the OS onto a computer's storage drive so that it can manage the system's hardware and software resources.
Prerequisites and Pre-Installation
- System Requirements: Verify that the CPU, RAM, and Storage meet the minimum requirements for the specific Windows version (e.g., Windows 10/11 requires a compatible 64-bit processor, at least 4GB RAM, 64GB storage, and for Windows 11, TPM 2.0 and Secure Boot).
- Data Backup: If reinstalling or upgrading, all critical data must be backed up to an external drive or cloud storage.
- Bootable Media: A bootable USB flash drive or DVD must be created. For modern systems, a USB drive (at least 8GB) is formatted using tools like the Windows Media Creation Tool or Rufus, containing the Windows ISO file.
Installation Process (Step-by-Step)
- BIOS/UEFI Configuration: Restart the computer and enter the BIOS/UEFI settings (usually by pressing
F2,F12,Del, orEscduring startup). Change the Boot Order/Boot Priority to boot from the USB drive or DVD first. - Booting into Setup: Save the BIOS settings and restart. The system will boot from the installation media, initiating the Windows Setup wizard.
- Language and Preferences: Select the desired language, time and currency format, and keyboard input method.
- Product Key: Enter the Windows product key. If unavailable at the moment, this step can usually be skipped ("I don't have a product key"), but activation will be required later.
- OS Version: Select the correct edition (e.g., Home, Pro, Education) for which the license is valid.
- Installation Type:
- Upgrade: Keeps files, settings, and applications (used when an older Windows version is already installed).
- Custom (Advanced): Installs a fresh copy of Windows. This allows the user to format, delete, or create new partitions on the hard drive.
- Partitioning: Select the unallocated space or a specific partition to install Windows. The setup will automatically create necessary system partitions (like the EFI System Partition and Recovery Partition).
- Installation and OOBE: The system will copy files, install features, and restart several times. Finally, the Out-of-Box Experience (OOBE) begins, prompting the user to connect to a network, set up a user account (Microsoft Account or Local Account), and configure privacy settings.
2. Dual Booting Concepts
Dual booting refers to the configuration of a computer system that allows it to boot into two or more different operating systems (e.g., Windows and Linux, or Windows 10 and Windows 11) residing on the same or different physical storage drives.
Core Concepts
- Bootloader: A small program responsible for loading the OS kernel. In a dual-boot setup, a primary bootloader (like GRUB for Linux or Windows Boot Manager) presents a menu at startup, allowing the user to choose which OS to load.
- Partitioning Requirement: Each operating system generally requires its own dedicated partition or physical drive formatted with a compatible file system (e.g., NTFS for Windows, EXT4 for Linux).
- Installation Order: The golden rule of dual booting is to install Windows first. The Windows installer is known to overwrite existing bootloaders (like GRUB) with its own Boot Manager, which ignores Linux installations. Installing Linux second allows GRUB to detect Windows and add it to the boot menu automatically.
- Fast Startup/Secure Boot: When dual-booting Windows with Linux, the Windows "Fast Startup" feature must often be disabled, as it locks the hard drive partitions, preventing Linux from mounting them. Secure Boot in UEFI may also need to be configured or disabled depending on the Linux distribution.
3. Disk Management and Disk Partitions
Disk Management is a system utility in Windows (accessible via diskmgmt.msc) that enables users to perform advanced storage tasks.
Understanding Disk Partitions
A partition is a logical division of a physical hard disk drive (HDD) or solid-state drive (SSD).
- Partition Styles:
- MBR (Master Boot Record): Older standard. Supports drives up to 2TB and a maximum of 4 primary partitions.
- GPT (GUID Partition Table): Modern standard required for UEFI booting. Supports drives vastly larger than 2TB and up to 128 primary partitions.
- Types of Partitions (MBR specific):
- Primary Partition: Bootable partition where an OS can be installed.
- Extended Partition: A workaround for the 4-partition limit in MBR; it cannot hold data directly but holds Logical Drives.
- Logical Drive: Sub-sections of an Extended partition used to store data.
File Systems
Before a partition can store data, it must be formatted with a file system:
- NTFS (New Technology File System): Default for Windows OS drives. Supports large file sizes, file permissions, and encryption.
- FAT32: Older, highly compatible file system (works on Windows, Mac, Linux), but limited to 4GB maximum file size.
- exFAT: Designed for flash drives; removes the 4GB file limit of FAT32 while maintaining high cross-platform compatibility.
Disk Management Operations
- Initializing a Disk: Preparing a brand-new drive for use by selecting MBR or GPT.
- Shrinking a Volume: Reducing the size of an existing partition to create Unallocated Space.
- Extending a Volume: Adding Unallocated Space to an existing partition (space must be contiguous and to the right of the volume).
- Formatting: Creating a file system on a partition and erasing existing data.
- Assigning Drive Letters: Allocating a letter (e.g.,
D:,E:) so the OS can map and access the volume.
4. Installation of a Printer on Different Operating Systems
The physical connection of a printer is usually done via USB (Local) or Ethernet/Wi-Fi (Network). The software installation varies by OS.
On Windows
- Local (USB): Windows 10/11 utilizes "Plug and Play" (PnP). Plugging in the USB cable usually triggers Windows to automatically search for, download, and install basic drivers from Windows Update.
- Network/Wireless:
- Go to Settings > Bluetooth & devices > Printers & scanners.
- Click Add device. Windows will scan the local network for available printers using protocols like WSD or TCP/IP.
- If not found, click "Add manually" and input the printer's IP address.
On macOS
- Local (USB): macOS usually detects and installs the printer automatically using built-in AirPrint drivers or downloading them from Apple servers.
- Network/Wireless:
- Go to System Settings > Printers & Scanners.
- Click the Add Printer, Scanner, or Fax button.
- macOS uses Bonjour to discover network printers automatically. Select the printer and choose the appropriate driver or AirPrint configuration.
On Linux (Ubuntu/Debian)
Linux relies on CUPS (Common UNIX Printing System).
- Most modern Linux desktop environments (like GNOME) have a "Printers" settings panel where USB printers are detected automatically.
- For manual/network installation, users can access the CUPS web interface by navigating to
http://localhost:631in a web browser. - From here, users can add printers via IP address (IPP or AppSocket protocols) and select PPD (PostScript Printer Description) files for drivers.
5. Printer Drivers
A Driver is specialized software that acts as a translator between the operating system and the hardware device. Without a driver, the OS does not know how to send print commands to the printer.
Types of Printer Drivers
- Generic/Universal Drivers: Basic drivers provided by Microsoft or Apple that offer standard functionality (printing text/basic images) but may lack advanced features (duplexing, color management).
- Proprietary/Manufacturer Drivers: Software provided directly by HP, Canon, Epson, etc., offering full functionality, maintenance tools, and ink-level monitoring.
- Page Description Languages (PDLs):
- PCL (Printer Command Language): Standard for everyday office printing; fast and efficient.
- PostScript (PS): Standard for high-end graphic design; ensures color accuracy and precise vector rendering.
Installation and Troubleshooting
- Installation: Can be done via CD/DVD (outdated), automatic OS updates, or manually by downloading the
.exe(Windows) or.pkg(Mac) installer from the manufacturer's official support website. - Troubleshooting:
- Spooler Errors: Restart the "Print Spooler" service in Windows (
services.msc). - Corrupt Drivers: Use Device Manager to uninstall the printer device, check "Delete the driver software for this device", and reinstall fresh drivers.
- Spooler Errors: Restart the "Print Spooler" service in Windows (
6. Installation of CD or DVD Drive
While Optical Disc Drives (ODD) are less common today, installing them involves basic internal hardware interfacing.
Physical Installation
- Power Down: Turn off the PC, unplug it, and discharge static electricity.
- Mounting: Remove the front 5.25-inch bay cover on the PC case. Slide the CD/DVD drive into the bay from the front until flush with the case panel. Secure it with screws or tool-less latches.
- Data Connection: Connect a SATA data cable from the L-shaped port on the back of the drive to an available SATA port on the motherboard. (Note: Older drives used IDE/PATA ribbon cables which required setting Master/Slave jumpers).
- Power Connection: Connect a SATA power cable (from the Power Supply Unit) to the wider L-shaped power port on the drive.
Software Configuration
- BIOS Verification: Boot the PC and enter BIOS to ensure the drive is detected on the SATA port.
- OS Level: Windows, macOS, and Linux have built-in generic ATAPI/SATA drivers. The drive is strictly Plug and Play. It will immediately appear in "My Computer" or "This PC" as a removable storage volume.
7. Sound Card
Most modern motherboards have an integrated audio chip. However, a dedicated internal Sound Card (or external DAC) is installed for professional audio production, audiophile playback, or gaming.
Physical Installation
- Turn off and unplug the computer. Open the side panel.
- Locate an available PCIe (PCI Express) slot (usually PCIe x1, a short slot) on the motherboard.
- Remove the corresponding metal expansion slot cover on the back of the PC case.
- Carefully align the sound card with the PCIe slot and push down firmly until seated.
- Secure the card's metal bracket to the case with a screw.
- Front Panel Audio: If you want the headphone/mic jacks on the front of the PC case to use the new sound card, disconnect the "HD AUDIO" cable from the motherboard and plug it into the corresponding header on the new sound card.
Software Configuration
- Upon booting, the OS may apply generic audio drivers.
- To utilize advanced features (EQ, surround sound processing, low-latency ASIO drivers), the manufacturer's specific software/drivers (e.g., Creative Sound Blaster, ASUS Xonar) must be downloaded and installed.
8. Speaker and Headphone
Audio peripherals require proper physical connection and OS-level routing to function correctly.
Physical Connections (Analog vs. Digital)
- Analog (3.5mm Jacks): Motherboards and sound cards use standard color-coding:
- Green: Line Out / Front Speakers / Headphones (Primary output).
- Pink: Microphone In (Primary input).
- Blue: Line In (For connecting external audio sources like tape decks).
- Black/Orange/Gray: Used for 5.1 or 7.1 surround sound setups (Rear, Center/Subwoofer, Side speakers).
- Digital:
- USB: Headsets or speakers with built-in DACs connect via USB. These act as their own independent sound cards.
- Optical (TOSLINK): Used for connecting to high-end receivers or soundbars.
- Bluetooth: Wireless pairing via the OS's Bluetooth settings.
OS Sound Configuration
- Setting Default Devices: In Windows, right-click the speaker icon in the taskbar and select "Sound settings". Choose the correct output (e.g., "Realtek High Definition Audio" vs "USB Audio Device") and input (Microphone).
- Volume and Enhancements: Ensure the device is not muted. Advanced properties allow users to set bit depth and sample rate (e.g., 24-bit, 48000 Hz) and enable spatial sound (like Windows Sonic).
9. Software
Software represents the intangible instructions and data that tell the hardware how to operate.
Categories of Software
- System Software: Manages the hardware directly (e.g., Operating Systems, Device Drivers, BIOS/UEFI).
- Utility Software: Assists in maintaining and analyzing the system (e.g., Antivirus, Disk Defragmenters, Backup tools).
- Application Software: Performs specific tasks for the user (e.g., MS Word, Web Browsers, Games).
General Installation Process
- Execution: Launching the installer file. Common formats include:
- Windows:
.exe,.msi(Microsoft Installer) - macOS:
.dmg(Disk Image),.pkg - Linux:
.deb(Debian/Ubuntu),.rpm(RedHat/Fedora)
- Windows:
- UAC Prompt: In Windows, the User Account Control will ask for administrative privileges to allow the software to make changes to the system.
- Installation Wizard:
- EULA (End User License Agreement): The legal contract between the software publisher and user. Must be accepted to proceed.
- Destination Folder: Choosing where the software files will live (default is usually
C:\Program FilesorC:\Program Files (x86)). - Installation Type: Choosing between "Typical" (installs standard features) or "Custom" (allows the user to exclude specific modules to save space).
- Writing to Registry/System: The installer unpacks compressed files, registers DLLs, creates Start Menu/Desktop shortcuts, and creates uninstaller entries.
10. Downloading of Various Software
Acquiring software safely and efficiently is a critical skill to prevent malware infections and system instability.
Safe Downloading Practices
- Official Sources: Always download software directly from the official developer's website (e.g., downloading VLC from videolan.org) rather than third-party aggregation sites (like CNET or Softonic), which often bundle unwanted adware.
- Verifying Digital Signatures: Secure software is signed with a cryptographic certificate. If Windows throws a "Publisher Unknown" warning, proceed with extreme caution.
- Checksums: Advanced users verify file integrity by comparing cryptographic hashes (MD5, SHA-256) provided on the website with the downloaded file to ensure it hasn't been tampered with.
Package Managers and App Stores
Modern computing is moving toward centralized software repositories, which handle downloading, installing, and updating automatically:
- App Stores: Microsoft Store (Windows), Mac App Store (macOS), Google Play Store (Android/ChromeOS). These provide vetted, sandboxed applications.
- Command Line Package Managers:
- Windows: Winget (built into Windows 11) or Chocolatey.
- Example:
winget install Mozilla.Firefox
- Example:
- macOS: Homebrew.
- Example:
brew install vlc
- Example:
- Linux: APT (Advanced Package Tool for Debian/Ubuntu) or YUM/DNF (RedHat/Fedora).
- Example:
sudo apt install gimp
- Example:
- Windows: Winget (built into Windows 11) or Chocolatey.