---
name: "qemu-make-debian-root"
section: "8"
platform: "linux"
package: "qemu-utils"
version: "1:5.2+dfsg-11+deb11u3"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/qemu-make-debian-root"
---

# qemu-make-debian-root(8)

Create a debian root image for qemu

## NAME

qemu-make-debian-root - Create a debian root image for qemu

## SYNOPSIS

**qemu-make-debian-root** \[*-k*\]  \[*-s*\]  *size-in-MiB distrib deburl image* \[*files-to-copy-in-/root*\]

## DESCRIPTION

**qemu-make-debian-root** is a command to ease the creation of a debian root image for qemu. The generated image is not bootable by itself, and an external kernel is needed. It can be run with a command like:

-

  ```
  qemu disk.img -kernel /boot/vmlinuz
  ```

## OPTIONS

- **-k**

  Keep file system.

- **-s**

  Create a sparse image.

## SEE ALSO

[**qemu**(1)](/qemu/1.md), [**qemu-img**(1)](/qemu-img/1.md).

## AUTHOR

This manual page was written by Guillem Jover \<guillem@debian.org\>.
