[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Installing an OS without booting or Interaction
From: |
Jakob Bohm |
Subject: |
Re: [Qemu-discuss] Installing an OS without booting or Interaction |
Date: |
Wed, 6 Apr 2016 19:50:45 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 06/04/2016 18:09, Ashkan Taslimi wrote:
Hi there,
I want to install a debian8.iso on an image debian8.img without -boot
flag.
Is it possible to skip all the interactions needed for installing an
OS in qemu?
Any single hint is highly appreciative.
Thanks in advance,
Ashkan
/PS: I hope the question is clear!/
You are in luck.
The Debian installer includes special options to run it
completely non-interactively, it involves a technique
called "preseeding" described in the Debian installation
guide on www.debian.org.
Preseeding requires some special steps to pass your
desired configuration to it, this is in the guide too.
More generally, there are two ways to do a non-interactive
OS installation in a qemu VM:
A) If the OS installer has a mechanism/procedure for
non-interactive installation on physical machine, that
technique should work under qemu too. Preseeding the
Debian installer is one example of this.
B) Using a script to put the various parts of the OS
into a disk image, then convert that disk image to a
qemu virtual disk (using the qemu-img command) and
finally just booting the VM from that disk.
Enjoy
Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded