Chinaunix首页 | 论坛 | 博客
  • 博客访问: 285984
  • 博文数量: 124
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 21
  • 用 户 组: 普通用户
  • 注册时间: 2016-08-20 14:44
文章分类

全部博文(124)

文章存档

2020年(1)

2018年(2)

2016年(2)

2015年(6)

2014年(10)

2013年(23)

2012年(7)

2011年(18)

2010年(15)

2009年(8)

2007年(8)

2006年(23)

2005年(1)

我的朋友
2.1

分类:

2010-03-10 16:13:48

sunblue topic 2 objective

Partitioning the Hard Disk


Using the Format Utility to Create fdisk Partitions

Only one Solaris OS fdisk partition can exist on a hard disk. You use the format utility to create fdisk partitions. First, execute the format command and select the appropriate disk (in this example disk 1):


# format
AVAILABLE DISK SELECTIONS:
0. c0d0
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c0d1
/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
Specify disk (enter its number): 1

If the disk does not already have a disk label on it you will be prompted to label it now:


selecting c0d1
[disk formatted]
Disk not labeled. Label it now? y

The format menu is displayed. Enter the fdisk command to display the fdisk menu:

FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
! - execute , then return
quit
format>fdisk

The fdisk menu displays information about the disk size, cylinder size, and current fdisk partitions. In this example, the disk does not have any fdisk partitions:


Total disk size is 13328 cylinders
Cylinder size is 945 (512 byte) blocks

Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===


SELECT ONE OF THE FOLLOWING:
1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Change between Solaris and Solaris2 Partition IDs
5. Exit (update disk configuration and exit)
6. Cancel (exit without updating disk configuration)
Enter Selection: 1

To create a single fdisk partition using the whole disk, select option 1 and enter the number of the type of disk partition that you would like to create. Select option 1 which is a Solaris OS fdisk partition.

Select the partition type to create:
1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other
5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG
9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32
D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit? 1

You will then be prompted to enter a percentage that indicates how much of the disk you would like to use to make this fdisk partition. Select 100, which represents 100%, to use the whole disk.

Specify the percentage of disk to use for this partition
(or type "c" to specify the size in cylinders). 100

Because this is going to be a non-bootable partition, do not make the partition active. Only the boot partition should be set as active. Select n for no.

Should this become the active partition? If yes, it  will be activated
each time the computer is reset or turned on.
Please type "y" or "n". n

Select option 5 to save the fdisk partition configuration.

Note: If you want to have multiple operating systems on a drive, create multiple fdisk partitions using fdisk option 1.

The following is an example of a disk with three fdisk partitions supporting three different operating systems:

             Total disk size is 13328 cylinders
Cylinder size is 945 (512 byte) blocks

Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Win95 FAT32 1 5331 5331 40
2 UNIX System 5332 9329 3998 30
3 Solaris2 9330 13327 3998 30
阅读(783) | 评论(0) | 转发(0) |
0

上一篇:struts 解决方法

下一篇:ognl

给主人留下些什么吧!~~