.img VM files of SFOS?

Are there any available or is it possible for someone to create one?

What do you mean? You can use virtualbox to run jolla emulator and there is guide how to install Sailfish SDK developers tool in their website

I want to try to run it outside vbox and need an img file. Hence the question. Don’t need the SDK. Something i can for example run with systemd-vmspawn.

its not image files, but there are podman/docker containers: GitHub - sailfishos-open/docker-sailfishos-builder: Docker based Sailfish OS build environment · GitHub

I will have to add 5.1 to the list, will hopefully do so soon.

2 Likes

Still, installing it and exporting the image from there sounds like the quickest way to achieve what you want.

Presumably he is after the emulator, not the builder.

I suspect you can use it as an emulator. maybe even somehow manage to link it with wayland on PC - but that I haven’t tested

1 Like

Maybe through WayPipe?

1 Like

My use case would be something like launch the VM with systemd-vmspawn to play around with the OS.

Feels much simpler than downloading the SDK and so on. You just have something to play around with SFOS.

qemu-img might be your friend. It is capable of converting between a bunch of formats.

QEMU disk image utility.  Usage:

  qemu-img [standard options] COMMAND [--help | command options]
[...]
Supported image formats:

  blkdebug blklogwrites blkverify bochs cloop compress copy-before-write
  copy-on-read dmg file ftp ftps gluster host_cdrom host_device http https
  io_uring iscsi iser luks nbd nfs null-aio null-co nvme nvme-io_uring
  parallels preallocate qcow qcow2 qed quorum raw rbd replication
  snapshot-access ssh throttle vdi vhdx virtio-blk-vfio-pci
  virtio-blk-vhost-user virtio-blk-vhost-vdpa vmdk vpc vvfat

Usually, img files are of format raw.