Assigning the system ID to the partition

Use this information when you assign a system ID to the partition.

About this task

Perform the following steps to assign the system ID to the system partition on the host running the Linux® operating system.

Procedure

  1. Assign the system partition ID.
  2. Write the information to the partition table on the disk.
  3. Exit the fdisk program.

Example

The following example shows the assignment of the Linux system ID to the partition (hex code 83).
Command 	(m for help): t
Partition number (1-4): 1

Hex code (type L to list codes): 83

Command 	(m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 1953152 [953 MB] [1.0 GB]
	sdb: sdb1
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 1953152 [953 MB] [1.0 GB]
	sdb: sdb1

WARNING: If you have created or modified any DOS 6.x partitions, please see the 
fdisk manual page for additional information.
Syncing disks.
[root@yahoo /data]#