Type in the partition number. If you are creating the first partition (or for only one partition),
type the number one:
1
Enter the first cylinder number (1 is the default). A range of cylinder numbers is displayed
(for example, 1-4865 is the number of cylinders that appears for my 40GB hard drive).
9. To assign the new partition to begin at the first cylinder on the new hard disk, type the
number 1.
10. Enter the last cylinder number. If you are using the entire hard disk, use the last cylinder
number shown. Otherwise, choose the ending cylinder number or indicate how many
megabytes the partition should have.
11. To create more partitions on the hard disk, repeat steps 6 through 10 for each partition
(possibly changing the file system types as needed).
12. Type w to write changes to the hard disk and exit from the fdisk command. At this
point, you should be back at the shell.
13. To create a file system on the new disk partition, use the mkfs command. By default, this
command creates an ext2 file system, which is usable by Linux. However, in most cases
you will want to use a journaling file system (such as ext3 or reiserfs). To create an ext3
file system on the first partition of the second hard disk, type the following:
# mkfs -t ext3 /dev/hdb1
If you created multiple partitions, repeat this step for each partition (such as /dev/hdb2,
/dev/hdb3, and so on).
Pages:
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400