Hello. I'm trying to emulate Freebsd for arm64 on my jetson nano (arm64) using qemu and kvm. This is the script that I'm using :
It does not work. The error message is the following one :
I have also attached two screenshots. Where is the error ? how can I fix it ? Maybe the solution is here :
when he says :
the problem is that as soon as the qemu window appears,no key pressed inside the window have some effect,so I can't have access to the boot options and I can't write those commands. I tried to remove the option "nographic" from qemu,but it does not work. Inside the qemu window I see the message "guest disabled display" and the installation does not procede.
Code:
tunctl -t tap0
ifconfig tap0 up
brctl addif virbr0 tap0
/opt/qemu-5.2.0/build/aarch64-softmmu/./qemu-system-aarch64 -m 2048M -cpu cortex-a57 -M virt --enable-kvm \
-bios /home/zi/Desktop/Work/I9/Virt/qemu/build/pc-bios/edk2-aarch64-code.fd --nographic \
-drive id=cdrom0,if=none,format=raw,readonly=on,file=/home/zi/Desktop/Work/Android/OS/freebsd/FreeBSD-13.0-RELEASE-arm64-aarch64-disc1.iso \
-device virtio-scsi-pci,id=scsi0 \
-device scsi-cd,bus=scsi0.0,drive=cdrom0 \
-drive if=none,file=/root/Desktop/zi/Work/Android/OS/freebsd/FreeBSD-13.qcow2,id=hd0 \
-device virtio-blk-device,drive=hd0 \
-device virtio-net-device,netdev=mynet \
-netdev tap,id=mynet,ifname=tap0,script=no,downscript=no,vhost=on \
-device virtio-gpu-pci,virgl=on,xres=1024,yres=768 \
-display sdl,gl=on \
-no-reboot
It does not work. The error message is the following one :
Code:
Trying to mount root from cd9660:/dev/iso9660/13_0_RELEASE_AARCH64_CD [ro]...
mountroot: waiting for device /dev/iso9660/13_0_RELEASE_AARCH64_CD...
Mounting from cd9660:/dev/iso9660/13_0_RELEASE_AARCH64_CD failed with error 19.
Loader variables:
vfs.root.mountfrom=cd9660:/dev/iso9660/13_0_RELEASE_AARCH64_CD
vfs.root.mountfrom.options=ro
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:zroot/ROOT/default
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot> random: unblocking device.
I have also attached two screenshots. Where is the error ? how can I fix it ? Maybe the solution is here :
Solved - Installing 9.0-RELEASE: Mounting DVD failed with error 19
Hi guys, This is my first post in an English-speaking [Free]BSD community and I'm really excited and happy to join it :) I'd have loved to start with a more positive post, but unfortunately this one has to deal with an installation issue. Context: I've just got a new dedicated server (my...
forums.freebsd.org
Code:
You need to get a boot prompt and disable [I]ACPI[/I] support before booting:
# set debug.acpi.disabled ="hostres"
# boot
the problem is that as soon as the qemu window appears,no key pressed inside the window have some effect,so I can't have access to the boot options and I can't write those commands. I tried to remove the option "nographic" from qemu,but it does not work. Inside the qemu window I see the message "guest disabled display" and the installation does not procede.