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