quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
9.8k stars 433 forks source link

new-os: Add ChromeOS/ChromeOS Flex #1075

Open mohsenkhanpour opened 2 months ago

mohsenkhanpour commented 2 months ago

Chrome OS Flex is a variant of ChromeOS that is available to run on non-Chromebook devices but lack some features like Google Play and Android Apps.

The steps to get the image and create a VM using libvirt is documented here: https://www.reddit.com/r/ChromeOSFlex/comments/yeejxd/chrome_os_flex_in_qemu_with_kvm_and_virtmanager/

Image can be loaded from ChromiumDash. In this example version 105 is used.

# Download the image
wget https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_14989.86.0_reven_recovery_stable-channel_mp-v2.bin.zip

# Unzip the image
unzip chromeos_14989.86.0_reven_recovery_stable-channel_mp-v2.bin.zip
virt-install  \
-n vm  \
--description "Test VM with Chrome OS Flex"  \
--os-type=generic  \
--ram=4096  \
--vcpus=4  \
--check path_in_use=off --livecd --boot hd \
--disk ~/chromeos_14989.86.0_reven_recovery_stable-channel_mp-v2.bin  \
--video virtio --channel spicevmc  --network default

There are also ChromeOS (with Google Play) images that can be run compatible CPUs: https://cros.tech/ Intel 1st Gen to 9th Gen – Rammus Intel 10th and 11th gen – Volteer AMD – Stoney Ridge and Bristol Ridge – Grunt AMD Ryzen – Zork Example

flexiondotorg commented 1 month ago

Anyone interested in working on this might find our guide to adding a new OS to quickget useful.