我正在尝试在 HP Thin Client 上安装 CoreOS,但无法格式化闪存驱动器。我已按照以下说明创建了 USB 启动https://github.com/jriguera/coreos-usb-creator- 然后我可以登录到瘦客户端,但是当我尝试安装 CoreOS 时,出现以下错误
khine@coreos /tmp $ sudo su
bash-4.2# coreos-install -d /dev/sda -C stable -c cloud-config.yml
Checking availability of "local-file"
Fetching user-data from datasource of type "local-file"
Downloading the signature for http://stable.release.core-os.net/amd64-usr/766.3.0/coreos_production_image.bin.bz2...
2015-09-21 15:49:14 URL:http://stable.release.core-os.net/amd64-usr/766.3.0/coreos_production_image.bin.bz2.sig [543/543] -> "/tmp/coreos-install.kGAdApmypF/coreos_production_image.bin.bz2.sig" [1]
Downloading, writing and verifying coreos_production_image.bin.bz2...
bunzip2: I/O or other error, bailing out. Possible reason follows.
bunzip2: No space left on device
Input file = (stdin), output file = (stdout)
Cannot write to '-' (Broken pipe).
gpg: Signature made Wed Sep 2 04:32:09 2015 UTC using RSA key ID E5676EFC
gpg: key 93D2DCB4 marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: BAD signature from "CoreOS Buildbot (Offical Builds) <[email protected]>" [ultimate]
1: Download of coreos_production_image.bin.bz2 did not complete
141: Cannot expand coreos_production_image.bin.bz2 to /dev/sda
1: GPG signature verification failed for coreos_production_image.bin.bz2
/dev/sda: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
/dev/sda: calling ioctl to re-read partition table: Success
bash-4.2#
如果我尝试安装驱动器,我会得到以下信息:
bash-4.2# mount /dev/sda /mnt
mount: /dev/sda is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
闪存驱动器为 500Mb - 关于如何在 HP 瘦客户机 t5720 上安装 coreOS 有什么建议吗?
答案1
答案就在你的问题里:
闪存驱动器为 500Mb
而错误是
bunzip2: I/O or other error, bailing out. Possible reason follows. bunzip2: No space left on device
以及您下载的文件http://stable.release.core-os.net/amd64-usr/766.3.0/coreos_production_image.bin.bz2压缩数据为 186 MB,扩展为 4,756,340,736 字节(4.5 GB)的文件。
鉴于 t5720 的最大可用闪存模块为 1 GB(根据型号,AH430AA规格简介),您只能选择打开设备,看看“闪存模块”是 USB 存储棒还是 PATA 闪存模块。如果是,用行业标准部件进行更换应该很顺利。