Failed to boot: No bootable devices
Created by: fralix
Reproduction:
Compiled Redox and typing make qemu
or make qemu kvm=no
as described in the book
Expected behavior: Some boot shell
Actual behavior: "No bootable devices" in QEMU.
fralix@lm17-3 ~/build/redox $ make qemu kvm=no
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 2048 -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,model=e1000 -net user -net dump,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.qcow2
fralix@lm17-3 ~/build/redox $
and QEMU looks like http://imgur.com/a/DqJhF
Build information:
fralix@lm17-3 ~/build/redox $ rustc -V
rustc 1.21.0-nightly (1d2a6df38 2017-08-03)
fralix@lm17-3 ~/build/redox $ git rev-parse HEAD
785ef9a210acc4f7a471f424a5bd0e6731062b64
fralix@lm17-3 ~/build/redox $ qemu-i386 -version
qemu-i386 version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.34), Copyright (c) 2003-2008 Fabrice Bellard
fralix@lm17-3 ~/build/redox $ uname -a
Linux lm17-3 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
fralix@lm17-3 ~/build/redox $
Misc: build folder is set to chmod 775.