thomas russell, information technology teacherthe first primary partition ins windows is always c:...

Post on 17-Jul-2020

2 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

THOMAS RUSSELL, Information Technology Teacher

Historical/Conceptual

� After installing the hard drive it needs to be partitioned.

� Partitioning is the process of electronically subdividing the physical hard drive into smaller units called partitions.

Historical/Conceptual

� A hard drive must have at least one partition, and you can create multiple partitions on a single hard drive

Hard Drive Partitions

� With partitions you can organize a drive to suit your needs.

� You can store multiple OS systems; store one OS in one partition and create additional partitions for another OS.

Hard Drive Partitions

� Master Boot Record The first sector of an MBR hard drive contains the master boot record (MBR). When your system boots, BIOS looks at the first sector of the HD for instructions. Without this code, the OS will not load.

Hard Drive Partitions

�  The master boot record also contains the partition table, which describes the number and size of partitions on the disk

Hard Drive Partitions

� After the MBR locates the appropriate partition, the partition boot sector loads the OS on that partition. The partition boot sector stores information important to its partition, such as the location of the OS boot files.

Hard Drive Partitions

� OS boot files

Hard Drive Partitions

� Primary partitions and multiple Operating Systems.

Primary partitions are assigned drive letters. The first primary partition ins Windows is always C: After that, they go from D to Z

Hard Drive Partitions

� Only one partition can be active at a time because you can run only one OS at a time.

Hard Drive Partitions

� Grand Unified Bootloader (GRUB) is a free Linux-based boot manager.

Hard Drive Partitions

� An Extended partition overcomes the four partition limit. It can contain multiple logical drives.

Hard Drive Partitions

� Dynamic Disk Dynamic disk calls a drive structure created with a dynamic disk a volume. With a dynamic disk, you can create as many volumes as you want – you are not limited to four partitions.

Hard Drive Partitions

� When you turn a hard drive into a dynamic disk, you create as many volumes as you want.

� You can use software to create new drive structures that you can’t do with MBR drives.

Hard Drive Partitions

� You can Implement RAID, span volumes over multiple drives, and extend volumes on one or more drives.

Hard Drive Partitions

� GUID Partition table The globally unique identifier partition table (GPT) has 3 improvements over MBR;

�  It can have an almost unlimited number of partitions

�  It has no restrictions on the size of the partitions

Hard Drive Partitions

� GPT Looks much like MBA but they are arranged by LBA instead of sectors.

�  The partitions on a GPT drive go between the primary and back-up headers and arrays.

Hard Drive Partitions

� When to partition? � When you install an OS to a new system � When you add an additional drive to an

existing system system

Hard Drive Partitions

�  For years we used a program called FDISK to partition drives

Hard Drive Partitions �  Now we use a graphical program called Disk Management,

found under Computer Management in Administrative Tools.

Hard Drive Partitions

� Partition Naming Problems � When you create a new partition or

volume in current versions of Windows, the Disk Management Tool only shows you’re about to create a volume.

Hard Drive Partitions

Hard Drive Partitions

� Partition Naming Problems Though the content menu says “volumes” you create partition on basic disk

Hard Drive Partitions

Hard Drive Partitions

� Hard Drive Formatting Formatting does two things:

�  It creates a file system (like a library catalog)

�  And it makes the root directory

Hard Drive Partitions

�  File Systems in Windows � Windows use supports four separate

Microsoft file systems �  FAT16 �  FAT32 � NTFS �  And exFAT/FAT64

Hard Drive Partitions

�  FAT MS-DOS version 2.1 supported hard drives using a data structure and indexing system to keep track of stored data on a hard drive and Microsoft called this structure the file allocation table.

Hard Drive Partitions

�  The official term for a FAT is data structure, but it’s like a two column spreadsheet.

The left column gives each sector a hexadecimal number from 0000 to FFFF. Each hex character represents four bits. The right column contains information on the status of the sectors

Hard Drive Partitions

� Clustering enabled us to format partitions larger than 32 MB.

Hard Drive Partitions �  Clustering refers to combining a set of contiguous sectors

and treating them as a single unit in FAT. These units are called file allocation units or clusters.

Hard Drive Partitions

�  The number of sectors per cluster for FAT16

Hard Drive Partitions

� Example: You want to save a file mom.txt. Before saving the file. The FAT looks like this:

Hard Drive Partitions

� Windows finds the first open cluster and fills it. But the whole file wont fit into that cluster.

Hard Drive Partitions �  Needing more space, the OS goes through the FAT to find

the nest open cluster, 3ABC. Before filling 3 ABC, the value of 3ABC is placed in 3ABB’s status

Hard Drive Partitions �  Even after filling two clusters, the file still need more room so

Windows must find another cluster. The 3ABD cluster has been marked FFF7 (bad cluster), so Windows skips it over it to find 3ABE.

Hard Drive Partitions �  Before filling 3ABE, Windows enters the value 3ABE in

3ABC status. Windows does not completely fill 3ABE, signifying that the entire mom.txt file has been stored. Windows enters FFFF in 3ABE’s status, indicating the end of the file.

Hard Drive Partitions �  After saving all the clusters, Windows locates the

file’s folder and records the file name, size, date/time and starting cluster, like this;

mom.txt 19234 05-19-09 2:04p 3ABB

Hard Drive Partitions �  Fragmentation Lets save two more files:

�  Irsrob.doc �  Ibmhelp.doc

Hard Drive Partitions

�  Fragmentation The irsrob.doc takes the next three clusters – 3ABF, 3AC0 and 3AC1 and ibmhelp.com takes two clusters – 3AC2 and 3AC3

Hard Drive Partitions �  If you erase mom.txt, Windows does not delete it.

It marks it with the Greek sigma Letter. But data remains until space is needed.

Hard Drive Partitions �  You can use software to change the Greek letter

back to normal and retrieve the deleted data.

Hard Drive Partitions

� Page 361

Save on more file, taxrec.xls. This a a spreadsheet that will take sic clusters. It will reside in the same folder as mom.txt. Windows write to the drive, overwrites Mom.txt and still needs three clusters. The next clusters, 3AC4, 3AC5 and 3AC6

Hard Drive Partitions

� Disk Defragmenter and Optimize Drives re-arrange the files into neat contiguous chunks.

Hard Drive Partitions

�  FAT32 had 2 improvements �  It supports partitions up to 32TB �  It uses 32 bits to describe each cluster

Hard Drive Partitions

� NTFS – New Technology File System. � NTFS uses clusters and file allocation

tables in a much more complex and powerful way compared to FAT and FAT32

Hard Drive Partitions � NTFS utilizes an enhanced

file allocation table called the master file table (MFT).

Hard Drive Partitions

� Security Improvements with NTFS � Compression �  Encryption � Disk Quotas � Cluster Sizes

Hard Drive Partitions Shows configured quotas for a hard drive

Hard Drive Partitions

�  If you want to format large USB flash drives with NTFS Windows allow you to do so.

Hard Drive Partitions

�  exFAT or FAT64 breaks the 4GB file size barrier of FAT32

Hard Drive Partitions Windows is straight-forward when going through the installation process.

Hard Drive Partitions You’ll go through a few installation screens but You will eventually get to the “Where do you want to install Windows?” dialog box

Hard Drive Partitions Typical Windows 7 Disk Management

Hard Drive Partitions When you click OK, Windows will create the 100-MB System Reserve Partition as well as the partition you specified.

Hard Drive Partitions �  Disk Management Utility is the primary tool for partitioning

and formatting drives after installation.

Hard Drive Partitions �  When you install an extra hard drive, Disk Management

notices the new drive and starts the Hard Drive Installation Wizard. If you don’t let the Wizard run, the drive will be listed as unknown.

Hard Drive Partitions

� Creating Partitions and Volumes in Disk Management. � Right-click on the unallocated part of the

drive and select New Simple Volume. � Disk Management runs the New Simple

Volume Wizard. �  You’ll go straight to the sizing screen.

Hard Drive Partitions

Hard Drive Partitions

� Specify a volume size and click Next. The wizard will ask if you want to assign a drive letter to the volume, mount it as a folder to an existing volume or do neither.

Hard Drive Partitions

Hard Drive Partitions

The last screen ask you for the type of format you want to use for this partition

Hard Drive Partitions �  To compress a file or folder, choose the one you want to

compress, right-click and select Properties, Then Click the Advanced button and turn compression on.

Hard Drive Partitions

� Dynamic Disk – once you convert a drive from a basic disk to a dynamic disk, primary and extended partition no longer exist.

Hard Drive Partitions �  To convert a basis disk to dynamic, just right-click the drive

icon and select Convert to Dynamic Disk.

Hard Drive Partitions �  In Disk Management, right click any unallocated space can

chose New Simple Volume.

Hard Drive Partitions �  You’ll see a series of screens that prompt you on size and

file system than then you are finished.

Hard Drive Partitions �  To extend of span, right-click the volume you want to make

bigger and choose Extend Volume form the options.

Hard Drive Partitions �  This opens the Extend Volume Wizard and prompts you for

the location of free space on a dynamic disk and the increased volume size you want to assign.

Hard Drive Partitions �  Two Way Mirror – With the simple two-way mirror space, you

can add speed a and resiliency. For every 10 GB of data to be stored, 20 GB of storage must be installed.

Hard Drive Partitions

� Error checking – Errors happen! Tools used to find errors are called error checking utilities. � Older Microsoft tools for this are ScanDisk

and chkdisk. � Current version of Windows uses the tool

Error-checking. � Mac uses Disk Utility

Properties Dialog Box

Check Disk Dialog Box

Disk and Repair Disk

Optimize drive with Defragment

Disk Cleanup �  Files in the recycle bin �  Temporary Internet files �  Downloaded program files �  Temporary files

Formatting �  Formatting is a slow process, your drive makes noise and

you end up seeing errors like the one below.

Data Corruption �  Power surges accidental shutdowns, corrupted installation

media and viruses can cause corruption and it shows up while Windows is running, like this:

Data Corruption �  SpinRite is a free utility that marks bad sectors accurately

and does not disturb the data, enabling you to run it without fear of losing anything.

Third-Party Tools

� Great third party tools are available to give you more flexibility.

More Tools � GParted is a powerful partition

editor and it’s free!

Implementing Hard Drives

�  The End

top related