System Management
On an MBR disk, an administrator has created /dev/sdb1 with fdisk and now needs it marked as a Linux LVM partition before running pvcreate. Which interactive fdisk sequence, followed by w to save, makes this change?
Show the answer
Correct answerD. Press t, select partition 1, then enter the type code 8e
The t command changes a partition's type, and 8e is the Linux LVM type code on an MBR disk. The a command only toggles the bootable flag, and l and p merely list type codes and partitions without changing anything.