diff --git a/qemu-check.exp b/qemu-check.exp
index c598e30365057b1e8e82c397c93169c41b4f4958..0a2e14f023be01d80e266907f08331daec9bc30e 100644
--- a/qemu-check.exp
+++ b/qemu-check.exp
@@ -52,14 +52,14 @@ expect {
 		info "!!! Timeout\n"
 		exit 1
 	}
-	"Please press Enter to activate this console. "
+	"ogin:"
 }
-send -- "\r"
-expect "root@Vexpress:/ "
+send -- "root\r\r"
+expect "# "
 info " done, guest is booted.\n"
 # Toolchain libraries might be here or there
 send -- "export LD_LIBRARY_PATH=/lib:/lib/arm-linux-gnueabihf\r"
-expect "root@Vexpress:/ "
+expect "# "
 info "Running: $cmd...\n"
 send -- "$cmd\r"
 set casenum "none"