From 4bf2d516fb6a7a94428e289eb0617997b4e7f02b Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sat, 16 Apr 2016 18:30:24 +0100 Subject: Advise use of log-mode for readable logs Also include notes on UEFI testing with -monitor none --- doc/overview.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/overview.rst b/doc/overview.rst index 670c898..60319f5 100644 --- a/doc/overview.rst +++ b/doc/overview.rst @@ -387,6 +387,10 @@ option to set mode 0644 for the specified user or use chmod manually:: sudo chmod a+w ./test.img +If ``--log`` is also used, consider using ``--log-mode`` as well so +that the logfile is readable by the owner. By default, the log file +permissions are 0o600. The logfile itself will be owned by ``root``. + Execute using qemu, e.g. on amd64 using qemu-system-x86_64:: qemu-system-x86_64 -drive format=raw,file=./test.img @@ -409,6 +413,10 @@ the location of this file with the -L option:: $ qemu-system-x86_64 -L /usr/share/ovmf/ -machine accel=kvm \ -m 4096 -smp 2 -drive format=raw,file=test.img +To use the ``-nographic`` option, ensure that the ``--serial-console`` +option is supplied to ``vmdebootstrap`` and use ``-monitor none`` when +booting the image with QEMU. + For further examples, including u-boot support for beaglebone-black, see ``/usr/share/vmdebootstrap/examples`` -- cgit v1.2.1