---
name: "grub-mkpasswd-argon2"
section: "1"
platform: "linux"
package: "grub"
version: "2:2.16-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/grub-mkpasswd-argon2"
---

# grub-mkpasswd-argon2(1)

generate hashed password for GRUB

## NAME

grub-mkpasswd-argon2 - generate hashed password for GRUB

## SYNOPSIS

**grub-mkpasswd-argon2** \[*OPTION*...\] \[*OPTIONS*\]

## DESCRIPTION

Generate ARGON2 password hash.

- **-i**, **--iterations**=*NUM*

  Number of iterations to perform

- **-l**, **--buflen**=*NUM*

  Length of generated hash

- **-m**, **--memory**=*NUM*

  Amount of memory (in kibibytes) to use

- **-p**, **--parallelism**=*NUM*

  Degree of parallelism (i.e. number of threads)

- **-s**, **--salt**=*NUM*

  Length of salt

- \-?, **--help**

  give this help list

- **--usage**

  give a short usage message

- **-V**, **--version**

  print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

## REPORTING BUGS

Report bugs to \<bug-grub@gnu.org\>.

## SEE ALSO

[**grub-mkconfig**(8)](/grub-mkconfig/8.md)

The full documentation for **grub-mkpasswd-argon2** is maintained as a Texinfo manual.  If the **info** and **grub-mkpasswd-argon2** programs are properly installed at your site, the command

-

  **info grub-mkpasswd-argon2**

should give you access to the complete manual.
