---
name: "grub-mkpasswd-pbkdf2"
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-pbkdf2"
---

# grub-mkpasswd-pbkdf2(1)

generate hashed password for GRUB

## NAME

grub-mkpasswd-pbkdf2 - generate hashed password for GRUB

## SYNOPSIS

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

## DESCRIPTION

Generate PBKDF2 password hash.

- **-c**, **--iteration-count**=*NUM*

  Number of PBKDF2 iterations

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

  Length of generated hash

- **-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-pbkdf2** is maintained as a Texinfo manual.  If the **info** and **grub-mkpasswd-pbkdf2** programs are properly installed at your site, the command

-

  **info grub-mkpasswd-pbkdf2**

should give you access to the complete manual.
