Sunteți pe pagina 1din 15

TOPIC 2: BASIC OF OPEN

SOURCE OPERATING SYSTEM


PARTITION HARD DISK
PREPARED BY:

MUHAMMAD SHAZRIZAL BIN AZHAR


MUHAMMAD AKRAM BIN ABU
MUHAMMAD FAIZ BIN ZULKIFLI
MUHAMMAD FAIZ BIN ZUL AZHAR
NAVIIN A/L MATHIVANAN
MANIVANAN A/L KUPPUSAMY

PARTITIONING METHOD
AUTOMATIC PARTITION
-Definition: Partitioning allows you to divide
your hard drive into isolated sections, where
each section behaves as its own hard drive.
Partitioning is particularly useful if you run
more than one OS
Automatic partitioning allows you to
perform an installation without having to
partition your drive(s) by yourself
(manually).

AUTOMATIC PARTITION

MANUAL PARTITIONING

The partitioning tool used in Red Hat Enterprise Linux ES isDisk


Druid.
Graphical Display of Hard Drive(s)

-Disk Druidoffers a graphical representation of your hard drive(s).

Using your mouse, click once to highlight a particular field in the


graphical display. Double-click to edit an existing partition or to
create a partition out of existing free space.
Above the display, you will see thedrivename (such as /dev/hda ),
thegeom(which shows the hard disk's geometry and consists of
three numbers representing the number of cylinders, heads, and
sectors as reported by the hard disk), and themodelof the hard drive
as detected by the installation program.

MANUAL PARTITIONING

MANUAL PARTITIONING

DISK DRUIDS BUTTONS

These buttons control Disk Druids actions


New: Used to request a new partition. When selected, a dialog
box appears containing fields (such as mount point and size) that
must be filled in.
Edit: Used to modify attributes of the partition currently selected
in thePartitionssection. SelectingEditopens a dialog box.
Some or all of the fields can be edited, depending on whether the
partition information has already been written to disk.
You can also edit free space as represented in the graphical
display to create a new partition within that space. Either
highlight the free space and then select theEditbutton, or
double-click on the free space to edit it.
Delete: Used to remove the partition currently highlighted in
theCurrent Disk Partitionssection. You will be asked to
confirm the deletion of any partition.
Reset: Used to restoreDisk Druidto its original state. All
changes made will be lost if youResetthe partitions.

FDISK UTILITY (USE COMMAND)

The fdisk command is a text-based utility for


viewing and managing hard disk partitions on
Linux. Its one of the most powerful tools you can
use to manage partitions, but its confusing to
new users.

THE TUTORIAL
To list partitions
The sudo fdisk l commands lists the partitions on your
system. Must be prefixed with sudo
*sudo stands for super user do
Function: to enable normal user to do admins work

THE TUTORIAL

Entering Command Mode

To work on a disks partitions, you have to enter


command mode. Youll need the device name of a
disk from the fdisk l command.
sudo fdisk /dev/sda

THE TUTORIAL

Using Command Mode

In command mode, you use single-letter commands to


specify actions you want to take. Type m and press Enter
to see a list of the commands you can use.

THE TUTORIAL
Viewing the Partition Table
Use p to display the current partition table from within
command mode.

THE TUTORIAL
Deleting a partition
Use the d command to delete a partition. Youll be asked
for the number of the partition you desire to delete. For
example 5, then type 5.

THE TUTORIAL
Creating a Partition
Use the n command to create a new partition.

FDISK COMMAND
To view the partition
Type p to display/view the current partition table to the
terminal from within command mode

S-ar putea să vă placă și