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