Day 1 Tasks How do you backup the MBR (Master Boot Record) of a hard disk? How do you backup the primary partition table of an MBR type hard disk? How.

Slides:



Advertisements
Similar presentations
Troubleshooting Startup Problems
Advertisements

Basic Unix system administration
The ATA/IDE Interface Can we write a character-mode device driver for the hard disk?
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.
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 Booting Procedure
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.
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.
S.Ha.R.K. Workshop28/02/05 S.Ha.R.K. Installation HowTo Tullio Facchinetti University of Pavia - Italy.
1 Web Server Administration Chapter 3 Installing the Server.
Bootloader / multi-boot
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Linux Install. Resources Guide to Linux Installation and Administration, Nicholas Wells, Course Technology, 2000.
Disk Volume Management CSS-1. Terms  Extent – any contiguous set of clusters  Partition – extent treated as a disk  Volume - partition formatted with.
SUSE Linux Enterprise Desktop Administration Chapter 1 Install SUSE Linux Enterprise Desktop 10.
Linux+ Guide to Linux Certification, Third Edition
CompTIA Linux+ Certification
Unix File System Internal Structures By C. Shing ITEC Dept Radford University.
Hands-On Microsoft Windows Server 2008
Linux Booting Procedure
CIS 228 Grub Basics and Boot Security How we get there.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
IT Essentials 1 v4.0 Chapters 4 & 5 JEOPARDY RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 14 Managing and Troubleshooting Windows 2000.
COSC 4750 Customizing and maintenance. Installing software Redhat/Fedora (and linux in general) has a package installer, called rpm Many programs will.
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2010 by Scott Orr and the Trustees of Indiana University.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
CIS Lesson 5 Lesson 5 New Skills Boot time GRUB edits (review) Changing BIOS boot order on a VM (review) Mounting CD ISO and floppy Image files on.
GUID Partition Table Unified Extensible Firmware Interface (UEFI)
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.
(ITI310) By Eng. BASSEM ALSAID SESSION 2: Server Configuration & Administration Notes SAT 31-Oct-2015.
STEP BY STEP INSTALLATION By Eng. BASSEM ALSAID. Step 1: Boot from windows server 2008 installation DVD, windows will load needed files for starting installation.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
Linux Operations and Administration
UNIX Startup and Shutdown CSCI N321 – System and Network Administration Copyright © 2000, 2009 by Scott Orr and the Trustees of Indiana University.
Linux Kernel Programming (LKP). LKP New sub-course New sub-course We will learn together We will learn together Evaluation of this part of course will.
GUID Partition Table Unified Extensible Firmware Interface (UEFI) GUID Partition Table (GPT)
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Basic UNIX system administration CS 2204 Class meeting 14 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
System initialization Unit objectives A.Outline steps necessary to boot a Linux system, configure LILO and GRUB boot loaders, and dual boot Linux with.
This courseware is copyrighted © 2016 gtslearning. No part of this courseware or any training material supplied by gtslearning International Limited to.
1 COP 4343 Unix System Administration Unit 1: –Linux OS structure –Distributions –Hardware inventory –Disks and partitions –Installation steps –Boot loader.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com The GRUB bootloader Michael.
The GRUB bootloader Michael Opdenacker Thomas Petazzoni Free Electrons
Chapter 8 Unix & Linux.
EXT in Detail High-Performance Database Research Center
GRUB 2 Dave Soergel.
Guide to Linux Installation and Administration, 2e
Chapter 3 Installing Red Hat Linux
GUID Partition Table Unified Extensible Firmware Interface (UEFI)
GUID Partition Table Unified Extensible Firmware Interface (UEFI)
Introduction to Computers
CONFIGURING HARDWARE DEVICE & START UP PROCESS
CIS 228 Grub Basics and Boot Security
Starting the computer. Every day we are using an operating system and most specifically a Windows operating system but most of us are not aware of the.
OPS235: Week 5 Lab4: Investigations 1 – 3
SUSE Linux Enterprise Desktop Administration
GUID Partition Table Unified Extensible Firmware Interface (UEFI)
GUID Partition Table Unified Extensible Firmware Interface (UEFI)
Presentation transcript:

Day 1 Tasks How do you backup the MBR (Master Boot Record) of a hard disk? How do you backup the primary partition table of an MBR type hard disk? How do you restore the partition table of an MBR type hard disk? What is the maximum number of partitions you can create on a SATA hard disk? How do you configure a hard disk to dual boot between Windows and Linux? How do you reset a forgotten root password on a Linux system? SRT210 Summer 2014 – May 6, 2014

1. How do you backup the MBR (Master Boot Record) Of a hard disk?

1. How do you backup the MBR (Master Boot Record) Of a hard disk? MBR: the 1 st 512 bytes of a hard disk Given: hard disk device name=/dev/sda Backup to file: /root/mbr.dd Answer: By using the following “dd” command dd if=/dev/sda of=/root/mbr.dd bs=512 count=1 or dd if=/dev/sda of=/root/mbr.dd count=1 or dd if=/dev/sda of=/root/mbr.dd count=1 2>/dev/null

2. How do you backup The primary partition table Of an MRB type hard disk?

2. How do you backup The primary partition table Of an MRB type hard disk? Partition table on MBR: 64 bytes starting at bytes 447 on MBR (note: counting from zero) Given: hard disk device name=/dev/sda Backup to file: /root/ppt.dd Answer: By using the following “dd” command dd if=/dev/sda of=/root/ppt.dd skip=446 bs=1 count=64

3. How do you restore The primary partition table Of an MRB type hard disk?

3. How do you restore The primary partition table Of an MRB type hard disk? Partition table on MBR: 64 bytes starting at bytes 447 on MBR (note: counting from zero) Given: hard disk device name=/dev/sda MBR file that contains a good ppt: /root/mbr.dd Warning: the following command may destroy ALL the data on your hard disk, use at your own risk. Answer: By using the following “dd” command dd of=/dev/sda if=/root/ppt.dd seek=446 bs=1 count=64 (note: check out the use of ibs and obs flags in dd man page)

4. What is the maximum number Of partition you can create On a SATA hard disk?

4. What is the maximum number Of partition you can create On a SATA hard disk? ● At least 4 on all platform. ● At least 16 on Linux ● Actual maximum value depends on driver implementation

5. How do you configure a hard disk To dual boot between Linux and Windows?

5. How do you configure a hard disk To dual boot between Linux and Windows? ● Two options: ● Using Windows boot loader – need to copy Linux boot codes to Windows partition ● Using Linux boot loader (GRUB) – only need to configure GRUB's configure file

5. How do you configure a hard disk To dual boot between Linux and Windows? ● Using Linux boot loader (GRUB): ● Need GRUB MBR on the hard disk ● Need the correct PPT on MBR ● The ppt must contains the partition information for Linux and Windows ● Need to add a Windows entry to GRUB's configure file

5. How do you configure a hard disk To dual boot between Linux and Windows? ● GRUB Configure file for dual boot: See Unix and Linux System Administration Handbook 4 th Edition Page title Windows Server 2008 rootnoverify (hd0,2) chainloader +1 Note: (hd0,2) --> first hard disk, 3 rd partition

6. How do you reset a forgotten root password On a Linux System?

6. How do you reset a forgotten root password On a Linux System? ● At least there are two options: ● 1. Boot to single user mode ● Most Linux system does not ask for super user password to become root – security risk! ● Once in single user mode (run as root), you can reset the root password. ● 2. Boot with a Linux Live CD/DVD ● Once Linux is up and running, mount the root partition and manually change the password filed in the shadow file.