Next: unit, Previous: select, Up: Command explanations [Index]
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).
(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) - 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.
Example:
(parted) set 1 boot on
Set the ‘boot’ flag on partition 1.
Next: unit, Previous: select, Up: Command explanations [Index]