Open IvanVnucec opened 3 years ago
I think there are two issues here. Firstly, add -bios default
when running QEMU and the warning should disappear. Then, a kernel panic saying Unable to mount root fs
will probably pop up and you will have to prepare a root filesystem to resolve that. A good tutorial can be found here: https://ibug.io/blog/2019/04/os-lab-1/
As indicated above, the qemu execution line is incorrect and will not work as documented. The '-drive' option must specify a root filesystem image, which Busybox does not produce.
The page should be fixed, e.g., by adding steps to create a root filesystem. At the very least, the page should clearly indicate it's not valid and should not be used.
I'm following the tutorial and had stumbled on this error
when running QEMU as:
Next I've modified the 'file' to be
busybox/busybox
because in busybox folder I have built busybox as stated in the tutorial. Then I get new warnings:And the QEMU just hangs.
I've also built the QEMU as stated in the guide.
QEMU version:
Ubuntu version: