[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Installing an OS without booting or Interaction

From: Ashkan Taslimi
Subject: Re: [Qemu-discuss] Installing an OS without booting or Interaction
Date: Tue, 12 Apr 2016 16:15:34 +0200

Thank you Jakob and Narcis for your reply.

I used proceeding and it's working perfectly.
I had a small challenge in getting rid of the first install menu which after modifying a file in the iso image everything is automatized now.


On Wed, Apr 6, 2016 at 8:24 PM, Narcis Garcia <address@hidden> wrote:
You can perform (and automate) your GNU/Linux installations without
booting Qemu/KVM at all.

1. Create disk image with: qemu-img create -f raw
2. Attach disk image as a block device with: losetup
3. Partition the virtual disk with: parted
4. Format the partitions with: mkfs
5. Deploy the OS with: debootstrap
6. Install boot manager in a chroot: grub-install, update-grub
7. Customize users accounts with: adduser, usermod

And your Debian disk image is ready for your users.

El 06/04/16 a les 18:09, Ashkan Taslimi ha escrit:
> 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!/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]