项目介绍

FydeOS/chromium_os-vm-vmware 是一个托管在 GitHub 上的开源项目,主要使用 Shell 编写,目前获得 234 个 Star、35 次 Fork。

仓库全名
FydeOS/chromium_os-vm-vmware
Star 数
234
Fork 数
35
未关闭 Issue
11

README 摘要

Public archive This project will no longer be maintained and will be turned into public archive as of 2024. Development of Chromium OS for VMware will continue on openFyde: https://github.com/openFyde/overlay-amd64-openfydevmware Chromium OS VM for VMWare TL:DR; If you aren't bothered with the detailed technicality and are only after the pre-built "click-to-play" image, check out the release tab. What's this…

完整内容见 GitHub 原始 README 或本页 。

常见问题

chromium_os-vm-vmware 用什么语言开发?

主要使用 Shell 编写,目前有 234 个 Star。

如何获取 chromium_os-vm-vmware 的源码?

可以直接克隆仓库:git clone https://github.com/FydeOS/chromium_os-vm-vmware.git;安装与运行步骤见仓库 README。

chromium_os-vm-vmware 最近还在维护吗?

仓库最近一次更新为 2024年6月26日,当前有 11 个未关闭 Issue;Star 数为 234,可作为社区活跃度的参考。

关于

Build and run your Chromium OS on VMWare virtual machine client

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
538
价值分
173
活跃状态
归档

语言占比

Python
Roff
Shell

README

Public archive

This project will no longer be maintained and will be turned into public archive as of 2024. Development of Chromium OS for VMware will continue on openFyde: https://github.com/openFyde/overlay-amd64-openfyde_vmware





Chromium OS VM for VMWare

TL:DR;

If you aren’t bothered with the detailed technicality and are only after the pre-built “click-to-play” image, check out the release tab.

What’s this repository

This repository contains necessary files that work with the Chromium OS SDK (cros_sdk) to build Chromium OS image that works with VMWare virtual machine client.

Why do I need this

VMWare virtual machine clients work on more OS platforms than kvm-qemu, which is the “official VM support for Chromium OS” shipped with cros-sdk. If you are interested in working / testing / tinkering Chromium OS on your favourite OS platform that does not support kvm-qemu natively, this may help. Otherwise, you don’t need this.

How do I build Chromium OS VM for VMWare using this repository

The following is a quick overview guide to get you started. This guide assumes you are comfortable with operations under Linux shell environment and have basic familiarity with the bible.

0. Read the bible, if you have not yet done so.

It’s best if could give the entire process a go and check if you could produce a working Chromium OS image.

1. Sync the repo from the correct branch

This overlay was only tested under release-R75-12105.B branch of the Chromium OS manifest, per Get the source code in the bible, you would need to do the following to get the code:

(outside)
cd ${HOME}/chromiumos
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git --repo-url https://chromium.googlesource.com/external/repo.git -b release-R75-12105.B
repo sync -j4

2. Clone this overlay and make it known to cros_sdk

  • At this point, you should be in your chroot.
  • Clone this repository to ~/trunk/src/overlays under your cros_sdk chroot.
    • Or you can clone to somewhere else and symlink to ~/trunk/src/overlays for better management
    • This requires a .local_mounts file in your ~/trunk/src/scripts per here.
  • Edit ~/trunk/src/third_party/chromiumos-overlay/eclass/cros-board.eclass and add amd64-generic_vmware to the list. Pay attention to the dash and underscore in the board name, try not to mis-spell.

3. Setup board, prepare the host environment and start building

  • Per the bible, now you can do:
    (inside) export BOARD=amd64-generic_vmware
    (inside) setup_board --board=${BOARD}
    (inside) ./build_packages --board=${BOARD} --nousepkg
    (inside) ./build_image --board=${BOARD} --noenable_rootfs_verification test
    
  • Note that the --nousepkg flag is required to combat ./build_packages being lazy to pull pre-built binaries and cause build error.

4. Convert the Chromium OS image to VMDK

Assuming the build went well and now you have the chromiumos_test_image.bin file. There is this convert_to_vmware.sh script in this repository that does the conversion for you. Execute the script to see help.

5. Additional notes on using the VMDK file to create VMWare virtual machine

  • We have only tested VMWare Workstation 15 & Fusion 11, lower versions of VMWare clients may not work.
  • You need to create a “Custom VM” and choose “Other Linux kernel 4.x (64 bits)”, choose the VMDK file you’ve just built when prompted.
  • In the Settings of this VM, under “Hard drive” you need to convert bus type from SCSI to either NVMe or SSD.
  • In the Settings of this VM, under “Display”, you need to turn on 3D acceleration and ideally allocate 768MB shared memory.

Additional notes and help

  • This Chromium OS VM is only meant for development purposes.
  • To get help, please report any issue in this repo or join our telegram group.

评论

暂无评论