Virtio RNG Ġ0:02.0 SCSI storage controller : Red Hat, Inc. QEMU PCIe Host bridge Ġ0:01.0 Unclassified device : Red Hat, Inc. Inside QEMU: 00:00.0 Host bridge : Red Hat, Inc. Here’s both (from within my prior CLI invocation of QEMU w/o mouse etc): I’m not sure if you meant to check from within the RISC-V QEMU VM or from outside. # set WaylandEnable=false in /etc/gdm3/nfĪfter several minutes the Ubuntu logo showed up. drive file=ubuntu-22.04.2-preinstalled-server-riscv64+unmatched.img,format=raw,if=virtio \ usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=2 \ Qemu-img resize -f raw ubuntu-22.04.2-preinstalled-server-riscv64+unmatched.img +8G Xz -d ubuntu-22.04.2-preinstalled-server-riscv64+ Is there an additional activation step needed? I tried both with and without WaylandEnable=false, but the result was the same. However, at the end of this, after I reboot, no GUI appears. I ran the installer for the missing GUI packages as given: sudo apt-get install \ I tried following your instructions from here: Installing the Gnome Desktop on RISC-V Ubuntu 22.04 Jammy Now I wanted to get a GUI on the VM if possible. drive file=qemu_disk.bin,format=raw,if=virtio \ My final working command is: /usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=2 -nographic \ I was able to follow it (with some minor tweaks for the change in the jammy server image name, and the above extra qemu flags). I also added -vga virtio to get it to expand to the full terminal tab Thank you for posting this. In Ubuntu 22.04 the number of virtual CPUs is limited to 8 in QEMU and in the Linux I used -no-reboot and that seemed helpful. To run you installed Ubuntu image use /usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=2 -nographic \ Another option to exit QEMU is pressing keys CTRL-a followed by key x. In U-Boot’s console you can use the poweroffcommand to stop QEMU. U-Boot gives you a 2 second time window to press the Enter key to reach the U-Boot console. When rebooting we have to remove the installer image. drive file=jammy-live-server-riscv64.img,format=raw,if=virtio \ kernel /usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin \ bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin \ Start the installer with: /usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=2 -nographic \ dd if=/dev/zero bs=1M of=disk count=1 seek=16383 gzip -d Ĭreate the disk image on which you will install Ubuntu. Sudo apt-get install qemu-system-misc opensbi u-boot-qemuĭownload the image either using your web browser or with wget Įxtract the image. u-boot-qemu - U-Boot is the firmware implementing the UEFI API and loads GRUB.opensbi - OpenSBI provides the Supervisor Execution Environment running in machine mode.qemu-system-misc - QEMU is used to emulate a virtual RISC-V machine.To run the installation you will need the following packages: Ī general overview of the installation process is available at. The release image will be available at.This topic describes how to use the image for an installation on a virtual machine. Starting with Ubuntu 22.04 a server install image is made available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |