Closed sdbbs closed 1 year ago
OK, found how to get network with default emulation ( via https://superuser.com/questions/297162/how-to-access-internet-from-qemu#comment794384_297828 ):
:: MUST NOT HAVE .bat continuation character caret ^ on last line, else: : drive with bus=0, unit=0 (index=0) exists
:: MUST NOT use single quotes in .bat file, only double quotes are interpreted as a string delimiter
C:\bin\qemu\qemu-system-arm.exe -M versatilepb -m 256M -cpu arm1176 ^
-kernel ./qemu-rpi-kernel_git/kernel-qemu-4.19.50-buster ^
-dtb ./qemu-rpi-kernel_git/versatile-pb-buster.dtb ^
-net nic -net user ^
-hda ./2019-04-08-raspbian-stretch-lite.img ^
-append "root=/dev/sda2 panic=1" ^
-no-reboot
The user found a solution to the problem.
I have installed https://qemu.weilnetz.de/w64/qemu-w64-setup-20221230.exe ( via https://www.qemu.org/download/#windows ) in C:\bin\qemu. I would like to emulate run Raspbian Stretch.
Due to the error:
I did the following:
If I run the following .bat file:
... then I see a QEMU window start, but it is blank/black; also in command prompt there are messages:
If I use this command in the .bat file instead:
... then QEMU actually boots Raspian Stretch - with these messages in terminal:
... and after I log in into Raspbian in Qemu, there is no network:
So, I would like to ask the following: