PowerPC64 QEMU Instructions

FreeBSD host

TBD

Linux host

FreeBSD can run as VM in QEMU FreeBSD 13-CURRENT now includes support for virtio devices. Huge Pages is also not mandatory anymore when running the VM on Linux hosts

Installing from disc1.iso

This example installs FreeBSD 13-CURRENT using the following environment/settings:

Host:

Guest:

Create a disk

Boot installer disc

Boot installer disc

Same command used for installing it, but removing -cdrom and -boot options:

Booting FreeBSD CI's ready-to-use disk image (for developers)

FreeBSD CI infrastructure builds a bootable disk image in qcow2 format that's normally used by CI scripts to validate FreeBSD sanity every time a change is made in the code base. This can also be used by a user or developer wanting to test stuff with a minimal pre-installed, pre-configured system without installing it from the classic CD/DVD disc.

1. Take latest snapshot

2. Uncompress it

3. Boot

Default user is root without a password.

UNICAMP OpenPower Minicloud

The UNICAMP Minicloud is a OpenPower Cloud maintained by University of Campinas (Brazil). They are an academic member of the OpenPower Foundation and provides free access to POWER virtual machines that can be used for development, testing or migration of applications to POWER. The virtual machines of Minicloud run on OpenStack, which supports running a large number of virtual machines.

Since 20200404 a FreeBSD 13-CURRENT pre-made image has been made available for the public. It can be found in the list of pre-made images under the name "FreeBSD13-head-r359571".

After launching "FreeBSD13-head-r359571", it is recommended to:

Configure network

Expand disk partition

Run the command bellow and take notes from partition 3 size (16GB at the time of this writing) and the free size.

Resize partition 3 to the new size. If 'gpart show ' shows 16G used on partition 3 and 23G are free, you can resize it to rougly 38G (16-23-1)

Resize UFS filesystem

powerpc/QEMU (last edited 2020-04-25T08:35:33+0000 by LiWenHsu)