Changes a flag on the partition with number number. A flag can be either “on” or “off”. Some or all of these flags will be available, depending on what disk label you are using:
(GPT) - Enable this to record that the selected partition is a GRUB BIOS partition.
(GPT) - this flag is used to tell special purpose software that the GPT partition may be bootable.
(Mac, MS-DOS, PC98) - should be enabled if you want to boot off the partition. The semantics vary between disk labels. For MS-DOS disk labels, only one partition can be bootable. If you are installing LILO on a partition that partition must be bootable. For PC98 disk labels, all ext2 partitions must be bootable (this is enforced by Parted).
(GPT) - This flag identifies partitions that contain Microsoft filesystems (NTFS or FAT). It may optionally be set on Linux filesystems to mimic the type of configuration created by parted 3.0 and earlier, in which a separate Linux filesystem type code was not available on GPT disks. This flag can only be removed within parted by replacing it with a competing flag, such as boot or msftres.
(GPT) - This flag identifies a "Microsoft Reserved" partition, which is used by Windows on GPT disks. Note that this flag should not normally be set on Windows filesystem partitions (those that contain NTFS or FAT filesystems).
(MS-DOS, GPT) - this flag identifies an Intel Rapid Start Technology partition.
(MS-DOS, GPT) - this flag identifies a UEFI System Partition. On GPT it is an alias for boot.
(MS-DOS) - this flag can be enabled to tell MS DOS, MS Windows 9x and MS Windows ME based operating systems to use Linear (LBA) mode.
(Mac) - this flag should be enabled if the partition is the root device to be used by Linux.
(Mac) - this flag should be enabled if the partition is the swap device to be used by Linux.
(MS-DOS, PC98) - this flag can be enabled to hide partitions from Microsoft operating systems.
(MS-DOS) - this flag can be enabled to tell linux the partition is a software RAID partition.
(MS-DOS) - this flag can be enabled to tell linux the partition is a physical volume.
(MS-DOS) - this flag can be enabled so that the partition can be used by the Linux/PA-RISC boot loader, palo.
(MS-DOS, GPT) - this flag can be enabled so that the partition can be used as a PReP boot partition on PowerPC PReP or IBM RS6K/CHRP hardware.
(MS-DOS) - Enable this to indicate that a partition can be used as a diagnostics / recovery partition.
The print command displays all enabled flags for each partition.
(parted) set 1 boot on
Set the ‘boot’ flag on partition 1.