Managing partitions using GDisk

Activating or deactivating a partition

137

Activating or deactivating a partition

A computer starts in an active partition. Using the /act or /-act switches, you can choose the partition to which the computer starts.

Depending on the version of GDisk that you require, the syntax for this command is one of the following:

GDisk: gdisk disk /[-]act /p:partn-no

GDisk32: gdisk32 disk /[-]act /p:partn-no

Table 10-7

/act switches

 

 

Switch

Explanation

 

 

disk

Represents the physical fixed disk, from 1 to 8.

 

 

/act

Activates a partition.

 

 

/-act

Deactivates a partition.

 

 

/p:partn-no

Indicates the partition to activate or deactivate. Only primary

 

partitions can be activated. Use the number reported by GDisk in

 

standard display mode (not using /lba or /raw) for partn-no.

 

 

Hiding or unhiding a partition

You can hide a partition so that a user cannot see it.

Depending on the version of GDisk that you require, the syntax for this command is one of the following:

GDisk: gdisk disk /[-]hide /p:partn-no

GDisk32: gdisk32 disk /[-]hide /p:partn-no

Table 10-8

/hide switches

 

 

Switch

Explanation

 

 

disk

Represents the physical fixed disk, from 1 to 8.

 

 

/hide

Hides a partition.

 

 

/-hide

Unhides a partition.

 

 

/p:partn-no

Indicates the partition to hide or unhide. Use the number reported by

 

GDisk in standard display mode (not using /lba or /raw) for partn-no.

 

 

Page 137
Image 137
Symantec 10024709 manual Activating or deactivating a partition, Hiding or unhiding a partition