|Subject:||Re: [Qemu-discuss] qemu-system-x86_64 hangs in 1024 x 768 Graphic mode when using -curses|
|Date:||Fri, 16 Dec 2016 08:07:15 +0800|
Hi, Shiyao Ma,
Thanks for the advise. I will sure try it!
I thought about the following in order to simplify it. Before giving
it a try, I want to ask your opinion if I may - do you think it will
Suppose I will download the latest qemu tar ball and compile it with
the same flags on two machines. One will be Ubuntu desktop which runs
XWindows and the second will be Ubuntu server, which does not run
Now, I will start the XWindows machine with the graphical mode, and I
will run from there:
qemu-img create -f qcow2 vdisk.img 10G
qemu-system-x86_64 -curses -hda vdisk.img -cdrom
iso -boot d -m 384
Now this should work I believe (maybe even without the curses).
Note that the iso is Ubuntu server image - this means that the OS that
will be installed will be in text mode, as it is a server.
Now, let's say it will complete OK and I will take vdisk.img and copy
it to the second machine, which does not run XWindows, and than try to
boot it from the terminal with something like:
qemu-system-x86_64 vdisk.img -m 384
Are there chances that this will work ?
On Thu, Dec 15, 2016 at 1:48 PM, Shiyao Ma <address@hidden> wrote:
> Hi Kevin,
> I met the same problem and posted in the mailing list like 10 days ago.
> You can check the mailing list archive.
> Briefly, two points should be kept in mind.
> 1. the grub should be boot in text mode, disable the framebuffer.
> 2. the qemu command should be with, -curses -vga virtio
> the -vga virtio is important. of course, YMMV.
> Good luck!
> On Tue, Dec 13, 2016 at 11:42 PM, Kevin Wilson <address@hidden> wrote:
>> I have this setup:
>> - Ubuntu Server 14.04.1:
>> - QEMU version 2.2.0:
>> qemu-system-x86_64 --version
>> QEMU emulator version 2.2.0 (Debian 2:2.2+dfsg-5expubuntu8+
>> Copyright (c) 2003-2008 Fabrice Bellard
>> I had downloaded fedora 21 installation iso:
>> I am trying the following sequence:
>> qemu-img create -f qcow2 vdisk.img 10G
>> I use "-curses", as this machine is a server, and X windows is not
>> installed there:
>> qemu-system-x86_64 -curses -hda vdisk.img -cdrom
64-21-5.iso -boot d -m 384
>> and I am stuck with a black screen with one line on it, in blue: 1024
>> x 768 Graphic mode.
>> This screen does not respond to any keystrokes. except for that
>> I can toggle to monitor mode with ALT/2, but this does not help at all.
>> when I tried with "-nographic" instead of "-curses", the installation
>> What should I do in able to boot successfully?
|[Prev in Thread]||Current Thread||[Next in Thread]|