Assigning the system ID to the partition

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

Perform the following steps to assign the system ID to the system partition on the host running the Linux operating system.
  1. Assign the system partition ID.
  2. Write the information to the partition table on the disk.
  3. Exit the fdisk program.

Example of assigning a Linux system ID to the partition shows the assignment of the Linux system ID to the partition (hex code 83).

Figure 1. Example of assigning a Linux system ID to the partition
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]#