Notice board

WARNING: This image is OVERSIZED. This should never happen during milestone testing.

QEMU riscv64 Install in Ubuntu Server Subiquity riscv64 in Noble Daily (archived)

DownloadLink to the download information
QEMU riscv64 InstallDetailed information on the testcase
Testcase (Report an issue with this testcase)

This testcase checks the installation of the live installer image for the
riscv64 architecture on QEMU.

On your installed Ubuntu machine.

sudo apt install -y opensbi qemu-system-misc u-boot-qemu
gzip -d <release>-live-server-riscv64.img.gz
rm -f disk
dd if=/dev/zero bs=1M of=disk count=1 seek=16383
Start the installer with:
/usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=2 -nographic \
    -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin \
    -kernel /usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin \
    -netdev user,id=net0 \
    -device virtio-net-device,netdev=net0 \
    -drive file=<release>-live-server-riscv64.img,format=raw,if=virtio \
    -drive file=disk,format=raw,if=virtio \
    -device virtio-rng-pci
Install on the 16 GiB drive.
The installation finishes without reporting failures.
During the reboot press the Enter key to access U-Boot's command line.
Execute the poweroff command
QEMU terminates
Run the installed system with:
/usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=2 -nographic \
    -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin \
    -kernel /usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin \
    -netdev user,id=net0 \
    -device virtio-net-device,netdev=net0 \
    -drive file=disk,format=raw,if=virtio \
    -device virtio-rng-pci
The system boots via GRUB.
Login in with the username and password defined during the installation
Run any command that is not installed, e.g. hello.
Check that command-not-found recommends things to install
Install a package, e.g. hello.
Check that the package performs correctly.
Install a snap, e.g. hello.
check that the snap works correctly.
Poweroff
Console messages should reach the poweroff target
There should be final message 'reboot: Power down'
QEMU should terminate automatically

If all actions produce the expected results listed, please submit a 'passed' result.
If an action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result.

ReporterLast updateBugsComment
Passedparide2024-08-29 10:47

Test performed in emulation

Link to the testcase revision
Add a test result

You need to be logged in to submit your test results.