Description of problem:
The system disk partition type displays as "Microsoft basic data" in RHEL guests on EC2.
[root@ip-172-31-8-133 ~]# fdisk -l
# Start End Size Type Name
1 2048 4095 1M BIOS boot parti
2 4096 41943006 20G Microsoft basic
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start a RHEL7.4 instance on EC2.
2. Connect the instance and check the partition type of the system disk with "sudo fdisk -l" command.
The Partition type is "Microsoft basic data" as default.
The Partition type should be "Linux filesystem".
1. The default partition type is "Microsoft basic data" if using "parted" command to manipulate disk partitions.
We can see from the ks file "original-ks.cfg" in the instance that we use parted command during building the image, so please change the partition type after manipulating disk partitions or using fdisk to make the partitions.
2. I checked Amazon Linux, the partition type is "Linux filesystem".
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.