Disk Partition Configuration

  1. Enter the partition utility and print the partition tables for both Source and Target environments

Charon SSP Connection

By looking at the output of the print command, we can see that our Target environment has the default partition tags and flags, but no cylinders, sizes, or blocks defined. We will be configuring that over the next steps in this lab.

  1. In the Target environment console session, enter 0 to configure the partition’s parameters as shown in the table below to match the Source environment partition 0 configuration.
Configuration Value
Enter partition id tag [root] Press enter to accept the default value
Enter partition permission flags [wm] Press enter to accept the default value
Enter new starting cyl [0] Press enter to accept the default value
Enter partition size 1110c

1110c is the partition size as 0 is the starting cylinder.

Type print within the partition utility to verify that partition 0 [root] matches in both Source and Target environments.

Charon SSP Connection

  1. Repeat the same steps for partition 1 in the Target environment.
Configuration Value
Partition 1
Enter partition id tag [swap] Press enter to accept the default value
Enter partition permission flags [wu] Press enter to accept the default value
Enter new starting cyl [0] 1110
Enter partition size 524475b

524475b is the partition size in blocks. This is done to avoid computing the number of cylinders.

Type print within the partition utility to verify that partition 1 [swap] matches in both Source and Target environments.

Charon SSP Connection

  1. Repeat the same steps for partition 2 in the Target environment.
Configuration Value
Partition 2
Enter partition id tag [backup] Press enter to accept the default value
Enter partition permission flags [wu] Press enter to accept the default value
Enter new starting cyl [0] Press enter to accept the default value
Enter partition size 8419950b

8419950b is the partition size in blocks. This is done to avoid computing the number of cylinders.

Type print within the partition utility to verify that partition 2 [backup] matches in both Source and Target environments.

Charon SSP Connection

We will skip partitions 3, 4, and 5 as they are unassigned.

  1. Repeat the same steps for partition 6 in the Target environment.
Configuration Value
Partition 6
Enter partition id tag [usr] Press enter to accept the default value
Enter partition permission flags [wm] Press enter to accept the default value
Enter new starting cyl [0] 1665
Enter partition size 2097900b

2097900b is the partition size in blocks. This is done to avoid computing the number of cylinders.

Type print within the partition utility to verify that partition 6 [usr] matches in both Source and Target environments.

Charon SSP Connection

  1. Repeat the same steps for partition 7 in the Target environment.
Configuration Value
Partition 7
Enter partition id tag [unassigned] home
Enter partition permission flags [wm] Press enter to accept the default value
Enter new starting cyl [0] 3885
Enter partition size 4748625b

4748625b is the partition size in blocks. This is done to avoid computing the number of cylinders.

Type print within the partition utility to verify that partition 7 [home] matches in both Source and Target environments.

Charon SSP Connection

  1. Now that our Target partition table is ready, the partition map needs to be written to and the disk has to be labeled. Within the partition utility enter the label command and select y to label the disk.

Charon SSP Connection

  1. Quit the partition and format utilities on both Source and Target environments by running the quit command twice.