From 722d1f94f7e820c1ae0bae2edca5a08e8b7edaaa Mon Sep 17 00:00:00 2001 From: liliang Date: Wed, 9 Sep 2020 15:41:08 +0800 Subject: [PATCH] update documents/Installing.md. Add 'root=/dev/vda1' otherwise there is no default root after boot up in QEMU. --- documents/Installing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/documents/Installing.md b/documents/Installing.md index 1bcd0c0a..81e4d0a1 100644 --- a/documents/Installing.md +++ b/documents/Installing.md @@ -34,6 +34,7 @@ $ qemu-system-riscv64 \ -device virtio-rng-device,rng=rng0 \ -device virtio-blk-device,drive=hd0 \ -device virtio-net-device,netdev=usernet \ + --append "root=/dev/vda1" \ -netdev user,id=usernet,hostfwd=tcp::12055-:22 ``` 当系统启动之后,可以通过ssh登陆guest OS -- Gitee