Image Bootstrap screenshot

Image Bootstrap

Author Avatar Theme by Hartwork
Updated: 23 May 2025
271 Stars

:partly_sunny: Creates Linux chroots and bootable virtual machine images; command line tool (Python 3)

Overview:

The document provides an overview of the image-bootstrap tool, which is a command line tool used to generate bootable virtual machine images for various Linux distributions. Supported distributions include Arch, Debian, Gentoo, Ubuntu, as well as OpenStack images. Additionally, directory-bootstrap is mentioned as a tool to install non-Debian Linux distributions. The document covers the history, example run, and tips for speeding up the image generation process.

Features:

  • Supports creating bootable virtual machine images for various Linux distributions
  • Ability to write images to specified block devices
  • Supports installing to partition block devices with options for bootloader installation
  • Provides terminal outputs tailored for user-friendly experience
  • Offers support for creating OpenStack images
  • Written in Python for improved functionality and ease of maintenance

Installation:

To install the image-bootstrap tool, follow these steps:

  1. Clone the image-bootstrap repository:
git clone https://github.com/debuerreotype/image-bootstrap.git
cd image-bootstrap
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the tool with desired parameters to create virtual machine images:
python image-bootstrap.py --distribution [DistributionName] --openstack --block-device /dev/sdX

Summary:

The image-bootstrap tool is a versatile command line utility for generating bootable virtual machine images for various Linux distributions. With support for different installation options, including OpenStack images, and written in Python for improved functionality, image-bootstrap streamlines the process of creating custom virtual machine environments. Whether installing Debian, Arch, Gentoo, Ubuntu, or other supported distributions, image-bootstrap offers a user-friendly experience with customizable features.