2023-10
安裝說明
https://support.google.com/chromeosflex/answer/11552529
下載地址:
https://dl.google.com/chromeos-flex/images/latest.bin.zip
下載完后解壓縮得到一個(gè)約 6.6G 的 chromeos_15393.58.0_reven_recovery_stable-channel_mp-v2.bin 文件
官方說明:
使用以下命令將映像寫入 USB:
sudo dd if=image_name.bin of=/dev/sdN bs=4M status=progress
- image_name.bin - 已下載安裝程序文件的名稱
- /dev/sdN - U 盤
操作步驟記錄
先ssh到pve2 上,df查看一下,掛載了nas的目錄
df -h
cd /mnt/pve/nasbak
mkdir bin
cd bin
將下載好并解壓縮的文件復(fù)制到這個(gè)目錄中
創(chuàng)建虛擬機(jī)
- 機(jī)型:i440fx
- BIOS: OVMF(UEFI)
將系統(tǒng)bin文件作為磁盤導(dǎo)入
qm importdisk 106 chromeos_15393.58.0_reven_recovery_stable-channel_mp-v2.bin local --format raw
qm importdisk <虛擬機(jī)ID> <源磁盤鏡像或物理設(shè)備> <存儲(chǔ)ID> [選項(xiàng)]
上面的 local 是存儲(chǔ)ID
在web界面雙擊未使用的磁盤點(diǎn)擊添加,并設(shè)置啟動(dòng)項(xiàng)
啟動(dòng)不成功,一直卡在啟動(dòng)界面
這個(gè)bin文件不能這樣使用
dd if=/path/to/your/chromeos.bin of=/var/lib/vz/images/106/vm-106-disk-1.qcow2 bs=4M
dd if=chromeos_15393.58.0_reven_recovery_stable-channel_mp-v2.bin of=/var/lib/vz/images/106/vm-106-disk-1.qcow2 bs=4M status=progress
嘗試使用bchunk 工具將bin文件轉(zhuǎn)成iso文件
先找一個(gè)linux的機(jī)器,這里找了一臺(tái)ubuntu的
安裝bchunk
sudo apt-get install bchunk
在bin文件目錄下新建一個(gè).cue 文件,內(nèi)容如下:
FILE "chromeos_15393.58.0_reven_recovery_stable-channel_mp-v2.bin" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
bin文件名稱改成對(duì)應(yīng)的
使用bchunk進(jìn)行轉(zhuǎn)換
bchunk input.bin input.cue output.iso

2023-10-27
在ubuntu系統(tǒng)下 添加了一塊磁盤,然后用dd命令將bin文件寫入到 這個(gè)新添加的8G的磁盤下
然后用fdisk -l 查看,出現(xiàn):
The backup GPT table is not on the end of the device. This problem will be corrected by write.
使用命令修復(fù)分區(qū)也不行
gdisk
虛擬U盤
https://forum.proxmox.com/threads/virtual-pendrive-on-vm.114143/
device_add command not found
真實(shí)的U盤
在windows物理機(jī)上安裝chrome瀏覽器插件,按照官方的步驟創(chuàng)建恢復(fù)U盤
然后直接再物理機(jī)上啟動(dòng)也不行
github
https://github.com/sebanc/brunch
最終可用運(yùn)行的
https://i12bretro.github.io/tutorials/0718.html
https://forum.proxmox.com/threads/display-output-is-not-active-chrome-os-flex.105923/
主要是要將顯示設(shè)置為:Virtio GPU 內(nèi)存設(shè)置成了512M
網(wǎng)上也有人說只支持SATA 驅(qū)動(dòng)器控制器,這邊本來就選的是這個(gè)
直通顯卡之后運(yùn)行很流暢