Am 01.10.24 um 14:40 schrieb Mario Marietto:
Hello. On FreeBSD I've installed Windows 11 on the first partition of a 200 GB disk and Android X86 on the second partition of a 200 GB image file called "Android.img". This is how I boot Android : |/usr/sbin/./bhyve-win -S -c sockets=4,cores=2,threads=1 -m 8G -w -H -A \| |-s 0,hostbridge \| |-s 1,ahci-hd,/mnt/zroot-133/bhyve/img/Android/Android.img,bootindex=1 \| |-s 13,virtio-net,tap13 \| |-s 29,fbuf,tcp=0.0.0.0:5913 <http://0.0.0.0:5913>,w=1600,h=950,wait \| |-s 30,xhci,tablet \| |-s 31,lpc \| |-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE.fd,/usr/local/share/uefi-firmware/BHYVE_UEFI_VARS.fd \| as you can see to boot Android correctly,I SHOULD use |"/usr/local/share/uefi-firmware/BHYVE_UEFI_VARS.fd"| Now I'm using Ubuntu 24.04 and I want to boot Android from the same img file. But,what I don't know is how to add the parameter |"/usr/local/share/uefi-firmware/BHYVE_UEFI_VARS.fd"| to virt-manager. Without it Android will not boot,but only Windows is able to boot ONLY from the first partition.... -- Mario.
why not from gui virtmanager: at the menue line: file - virtual_machine - view send_key view / details / boot-options / direct-kernel-boot (never used by myself, but it seems for me the place to be) or edit directly the xml file: the xml file's from virt-manager are inside: /etc/libvirt/qemu/name-of-virtual-machine.xml and should be edit by using the command: virsh edit name-of-virtual-machine.xml simoN -- www.becherer.de
OpenPGP_signature.asc
Description: OpenPGP digital signature