Hard drive type Microsoft Basic

If you find the Linux Hard drive type as a Microsoft Basic please follow the steps

# fdisk -l (This will list hard drive type and details just see the which hard drive type is microsoft basic)

lsblk -f (This command is to see the hard drive name)

Download the gdisk to change the hard drive type with yum command

# yum install gdisk

# gdisk /dev/sdb (This sdb is the main drive under which partitions are created)

GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): t
Partition number (1-6): 2
Current type is 'Microsoft basic data'
Hex code or GUID (L to show codes, Enter = 8300): (press enter if you want partition type to be Linux Systemfile 8300 belongs to Linux)
Changed type of partition to 'Linux filesystem'

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): Y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.

 

Comments are closed.