Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not a bug, I just wanted to know how to use an Ubuntu image because everything I tried didn't work #113

Closed
daviDarthemis opened this issue Oct 25, 2023 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@daviDarthemis
Copy link

Hello, I'm trying to use an Ubuntu image but it didn't work even in img. I don't know if I'm converting the file correctly, I wanted an explanation on how to use Ubuntu

@daviDarthemis daviDarthemis added the bug Something isn't working label Oct 25, 2023
@LekKit
Copy link
Owner

LekKit commented Oct 29, 2023

Here you can get a working image (Ubuntu Server image for QEMU or Unmatched should work), then unpack with xz -d -T0 [filename]

For booting the image you should also get a working OpenSBI+UBoot firmware (Basically a BIOS for this VM) which you can get here

It is also important that Ubuntu is very RAM-hungry, the default VM setting of 256Mb doesn't work - so you should allocate at least 2G of RAM or so.
Here is a reference cmdline: rvvm fw_payload.bin -i ubuntu-23.10-preinstalled-server-riscv64.img -m 2G -smp 4

Sometimes the GRUB timeout is not working, this is seemingly a GRUB bug and you can press Enter over the serial console (VM terminal) to skip this.
First boot seems to be very slow, because the image automatically updates itself once.
Log in with ubuntu:ubuntu user, good luck)

image

@LekKit LekKit added the help wanted Extra attention is needed label Oct 29, 2023
@LekKit
Copy link
Owner

LekKit commented Nov 6, 2023

Closing this one for now, reopen if any additional help is needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants