Giter Club home page Giter Club logo

qemu-debian-install-pxe-preseed's Introduction

Description

The goal is to provide simple scripts to install an amd64 Debian installation (default: buster) in qemu image from an install with PXE and a preseed.

Dependencies

$ apt install qemu-utils qemu-system-x86 qemu-kvm curl python3

Technical

  1. The build_qemu_debian_image.sh <distro_name> script will create a temporary directory and generate password
  2. Create a Simple webserver to serve the preseed.cfg file (not need to tftp)
  3. Download netboot.tar.gz from Debian repo
  4. Create the pxe configuration
  5. Create the qemu image
  6. Boot using the qemu image, pxe and preseed

boot.sh <distro_name> will boot on the newly created image.

To use a different version of Debian, update the preseed.cfg configuration:

d-i mirror/suite string buster

Credits

This is a fork from to make it work on Debian:

Known error

If you get the following error:

No kernel modules were found. This probably is due to a mismatch between the
kernel used by this version of the installer and the kernel version available
in the archive.

It is caused by a mismatch between the kernel used in the installer and the package not available on the repository. Use https://d-i.debian.org/daily-images/ instead.

qemu-debian-install-pxe-preseed's People

Contributors

sylvestre avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.