System Administration Guide, Volume I

x86: Example--Creating a Solaris fdisk Partition That Spans the Entire Drive

The following example uses the format's utility's fdisk option to create a Solaris fdisk partition that spans the entire drive.


# format
Searching for disks...done
 
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DEFAULT cyl 1479 alt 2 hd 7 sec 79>
          /eisa/eha@1000,0/cmdk@0,0
       1. c0t2d0 <SUN1.05 cyl 2692 alt 2 hd 9 sec 85>
          /eisa/eha@1000,0/cmdk@2,0
Specify disk (enter its number): 1
selecting c0t2d0
[disk formatted]
format> fdisk
The recommended default partitioning for your disk is:
 
  a 100% "SOLARIS System" partition.
 
To select this, please type "y".  To partition your disk
differently, type "n" and the "fdisk" program will let you
select other partitions. y
 
WARNING: Solaris fdisk partition changed - Please relabel the disk
format> label
Ready to label disk, continue? yes
format> quit