in interactive mode, it just kills the type flag: (parted) print Model: Linux device-mapper (multipath) (dm) Disk /dev/mapper/3600c0ff0002612a8b50de45c01000000: 550GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 28.8GB 28.8GB primary type=83 (parted) set 1 type 0x82 (parted) print Model: Linux device-mapper (multipath) (dm) Disk /dev/mapper/3600c0ff0002612a8b50de45c01000000: 550GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 28.8GB 28.8GB primary (parted) set 1 type 130 (parted) print Model: Linux device-mapper (multipath) (dm) Disk /dev/mapper/3600c0ff0002612a8b50de45c01000000: 550GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 28.8GB 28.8GB primary type=82