🐧
Linux
  • syllabus
  • unit 1-Introduction
    • Unit I: Introduction to Linux
    • 2. Advantages of Linux over other operating systems
    • 3.File systems
    • 4.Culture of free software
  • unit 2-Basics of Linux
    • 1.Commands
    • 2.shell
    • 3.Text Editors
    • 4.The file system of Linux
    • 5.Directories and their special purpose
    • 6.permission
  • unit 3-Installation
    • 1. Partitioning
    • 2. Installation of Linux
    • 3. Troubleshooting of installation
  • unit 4-System Administration
    • 1.Root login
    • 2.Superuser
    • 3.Configuration of hardware with kudzu
    • 4. Checking System Space:
    • 5. Monitoring System Performance:
    • 6. Working with a File System:
    • 7.Configuring modules
    • 8.jail shell
    • 9.awk
    • 10.sed
  • unit 5-User Management
    • 1.Creating user accounts
    • 2.Setting user defaults
    • 3.Providing support to users
    • 4.Modifying accounts
    • 5.Deleting user accounts
    • 6.Checking disk quotas
    • 7.Sending mail to all users
  • unit 6-Security and System Handling
    • 1.Understanding shell scripts
    • 2.System startup and shutdown
    • 3.Scheduling system tasks
    • 4.Backing up and restoring
    • 5.Password protection
    • 6.File security
  • unit 7-Setting up a Web Server
    • 1.Introduction to a web server
    • 2.Starting the Apache webserver
    • 3.Configuring the Apache webserver
    • 4.Monitoring server activities
  • unit 8-Setting up DHCP and NIS
    • 1.Introduction to DHCP
    • 2.Setting up DHCP Server
    • 3.Setting up DHCP Client
    • 4.Understand NIS
  • unit 9-Setting up a Database Server
    • 1.Configuring database server
    • 2.Checking the status
    • 3.Working with database
  • unit 10-Setting up DNS
    • 1.Introduction to DNS
    • 2.Setting up DNS and configuration
    • 3.Querying DNS
  • unit 11-ISP Simulation
    • 1.Integration of servers
    • 2.DNS, Web, Email, etc
  • fullform
  • Assignment
  • Practicals
    • 1.Linux utilities
    • 2.OS installation project work
    • 3.User management using a terminal
    • 4.Security level access control list
    • 1.Network setting
    • 2.Server configuration of DHCP, DNS, Database server
    • 3.Demonstration of the web, mail, file server
  • imp questions
    • short-notes
    • unit 1
    • unit 2
    • unit 3
    • unit 4
    • unit 5
    • unit 6
    • unit 7
    • unit 8
    • unit 9
    • unit 10
    • unit 11
    • unit ii
  • services
    • create_service
  • Viva+Practical
    • VIVA questions
    • Practical questions
Powered by GitBook
On this page
  • System Startup:
  • System Shutdown:

Was this helpful?

  1. unit 6-Security and System Handling

2.System startup and shutdown

System Startup:

1. Bootloader:

The boot process begins with the BIOS (Basic Input/Output System) or UEFI (Unified Extensible Firmware Interface) firmware, depending on your system. These firmware interfaces initiate the bootloader, which is responsible for loading the operating system into memory.

Common bootloaders include GRUB (Grand Unified Bootloader) for Linux systems and NTLDR (New Technology Loader) for Windows systems.

2. Kernel Initialization:

Once the bootloader loads the operating system's kernel into memory, the kernel takes control. It initializes essential hardware components, sets up memory management, and establishes the system's initial state.

3. Init or Systemd (Linux):

On Linux systems, after the kernel initializes, either the traditional init process or systemd (a more modern init system) is started. These init systems initialize system services and user-space processes based on configuration files like /etc/inittab or service unit files.

4. Runlevel or Target:

In Linux, the system can be in a specific runlevel (SysVinit) or target state (systemd) that determines which services and processes are started. Runlevels/targets define the system's operational mode, such as single-user mode, multi-user mode, or graphical mode.

5. Service Initialization:

System services and daemons are started, including networking, disk management, user authentication, and more. These services ensure the system is fully operational for user interaction.

6. User Login:

Once the system reaches an appropriate runlevel or target, it presents the user with a login prompt, allowing users to log in and start their sessions.

System Shutdown:

1. User Initiated Shutdown:

System shutdown can be initiated by users through commands like shutdown, poweroff, halt, or through graphical user interfaces. Users may provide a delay before shutdown or specify a specific time.

2. Initiate System Shutdown:

The shutdown command communicates with the init or systemd process to initiate the shutdown sequence.

3. Terminate User Sessions:

The system sends signals to running processes, notifying them of the impending shutdown. Users are logged out, and background processes are gracefully terminated.

4. Stop System Services:

System services and daemons are shut down in an orderly manner. They save their state and perform necessary cleanup tasks.

5. Unmount Filesystems:

Filesystems are unmounted to ensure data integrity. Special attention is given to the root filesystem to prevent data corruption.

6. Halt or Reboot:

The system is halted or rebooted based on the user's command. In the case of a reboot, the system goes back to the bootloader stage and starts the boot process again.

7. BIOS/UEFI:

If it's a complete shutdown, the BIOS or UEFI firmware may take control, or in the case of a restart, it hands over control to the bootloader to initiate the boot process.

Previous1.Understanding shell scriptsNext3.Scheduling system tasks

Last updated 1 year ago

Was this helpful?