---
name: "grub-mknetdir"
section: "8"
platform: "linux"
package: "grub-coreboot"
version: "1.99-27+deb7u3"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/grub-mknetdir/8"
---

# grub-mknetdir(8)

prepare a GRUB netboot directory.

## NAME

grub-mknetdir - prepare a GRUB netboot directory.

## SYNOPSIS

**grub-mknetdir** \[*OPTION*\] *install\_device*

## DESCRIPTION

Install GRUB on your drive.

- **-h**, **--help**

  print this message and exit

- **-v**, **--version**

  print the version information and exit

- **--modules**=*MODULES*

  pre-load specified modules MODULES

- **--net-directory**=*DIR*

  root directory of TFTP server

- **--subdir**=*DIR*

  relative subdirectory on network server

- **--grub-mkimage**=*FILE*

  use FILE as grub-mkimage

grub-mknetdir copies GRUB images into net\_directory/subdir/i386-coreboot

## REPORTING BUGS

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

## SEE ALSO

[**grub-mkimage**(1)](/grub-mkimage/1.md)

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

-

  **info grub-mknetdir**

should give you access to the complete manual.
