diff --git a/README.adoc b/README.adoc index e31b156..8621e81 100644 --- a/README.adoc +++ b/README.adoc @@ -348,7 +348,7 @@ The fast method is slightly risky because your previously insmodded buggy kernel Such failures are however unlikely, and you should be fine if you don't see anything weird happening. -The safe way, is to fist <>, rebuild the modules, put them in the root filesystem, and then reboot: +The safe way is to fist <>, rebuild the modules put them somewhere QEMU can see and then reboot. So you could either place it in the root filesystem: .... ./build-modules @@ -356,6 +356,13 @@ The safe way, is to fist <>, rebuild ./run --eval-after 'insmod hello.ko' .... +or for a slightly faster turnaround just leave it on 9p and use it from there: + +.... +./build-modules +./run --eval-after 'insmod /mnt/9p/out_rootfs_overlay/lkmc/hello.ko' +.... + `./build-buildroot` is required after `./build-modules` because it re-generates the root filesystem with the modules that we compiled at `./build-modules`. You can see that `./build` does that as well, by running: