Hi,

Quoting Francesco Poli (2020-02-17 23:10:57)
> On Sun, 02 Feb 2020 20:29:04 +0100 Johannes Schauer wrote:
> 
> > Quoting Johannes Schauer (2020-02-02 20:22:49)
> [...]
> > > 1. you can try the qcow2 image you built without autopkgtest by just 
> > > running it
> > >    inside qemu like so:
> > > 
> > >     $ qemu-system-x86_64 -enable-kvm -m 512 -serial 
> > > unix:/tmp/ttyS0,server,nowait -drive 
> > > "file=$HOME/Downloads/TEST/debian-unstable.qcow2,cache=unsafe,if=virtio,index=0"
> > 
> > One non-obvious thing is missing here. After running the above command you 
> > have
> > a new unix socket under /tmp/ttyS0 that you should be able to connect to 
> > using
> > a serial terminal emulator. This is how autopkgtest connects to qemu. So 
> > after
> > running above command, check that everything works by running something 
> > like:
> > 
> >     $ minicom -D 'unix#/tmp/ttyS0'
> 
> Hello and sorry for the long delay (I had been busy in too many things...).
> 
> I tried the test you suggested and found out that the virtual machine
> fails to boot!
> The attached screenshot is what is shown in the graphical window...
> seemingly forever.
> 
> I haven't even tried to connect to /tmp/ttyS0, as I guess a virtual
> machine that fails to boot will never bring the serial terminal
> emulator up and running...
> 
> I am really ignorant about qemu: do you happen to have any idea on what
> went wrong?

here is a hunch:

Can you show me how you converted the tarball mmdebstrap produced into your
debian-unstable.qcow2 image?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to