do not edit — generated by btf.
git.druid.rocksindexdruid520kaboommk/rbn.sh

mk/rbn.sh


#!/bin/sh
# runs out/disk.img with NO -kernel flag at all -- qemu's own bios
# (seabios) does the real mbr-boot dance through dynamite exactly like
# a real machine would, headless. -nographic merges the vga console
# and qemu's own monitor onto the current terminal (ctrl-a c toggles
# between them, ctrl-a x quits) -- no curses ui, no separate window,
# works over a plain ssh session same as any other headless qemu
# invocation. see mk/rb.sh for the curses variant (needs a real tty)
# -- same disk, same real bios-boot path, just a different console.
# see mk/r.sh/mk/rn.sh for the other, older -kernel path onto the
# identical kernel.
. ./mk.conf
set -e
 
if [ ! -f "$out/disk.img" ]; then
	echo "rbn.sh: $out/disk.img not built yet -- run mk/ba.sh first." >&2
	exit 1
fi
 
exec "$qemu" -drive file="$out/disk.img",format=raw,if=ide \
	-nographic $qemuflgs
powered by btf.