Skip to content

Add section about creating partitions non-interactively with parted #13

@bertvv

Description

@bertvv

See example here:

> In this example, we use `parted` non-interactively as an alternative to `fdisk`.
```console
[vagrant@raidlab ~]$ sudo parted /dev/sdb --script mklabel gpt
[vagrant@raidlab ~]$ sudo parted /dev/sdb --script --align optimal mkpart primary 0% 100%
[vagrant@raidlab ~]$ sudo parted /dev/sdb set 1 raid on
Information: You may need to update /etc/fstab.
```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions