Installation guide

# fdisk /dev/sdb
Command (m for help):
b. Press p for a primary partition.
Command action
e extended
p primary partition (1-4)
c. Choose an available partition number. In this example the first partition is chosen by
entering 1.
Partition number (1-4): 1
d. Enter the default first cylinder by pressing Enter.
First cylinder (1-400, default 1):
e. Select the size of the partition. In this example the entire disk is allocated by pressing
Enter.
Last cylinder or +size or +sizeM or +sizeK (2-400, default 400):
f. Set the type of partition by pressing t.
Command (m for help): t
g. Choose the partition you created in the previous steps. In this example, the partition
number is 1.
Partition number (1-4): 1
h. Enter 83 for a linux partition.
Hex code (type L to list codes): 83
i. write changes to disk and quit.
Command (m for help): w
Command (m for help): q
j. Format the new partition with the ext3 file system.
# mke2fs -j /dev/sdb1
7. Mount the disk on the guest.
# mount /dev/sdb1 /myfiles
The guest now has an additional virtualized file-based storage device.
Ad d in g h ard d rives and o t her b lo ck d evices t o a g u est
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
132