我刚安装了Fedora工作站30号。在启动时,我选择了“测试此媒体&启动Fedora-Workstation-Live”。屏幕显示:
/dev/disk/by-label/Fedora-WS-Live-30-1-2: b340a38cf5c1f09fdd769e259e449119
Fragment sums: 6dc04c22c2275... (a bit long to type)
Fragment count: 20
Supported ISO: no
Press [Esc] to abort check.
Checking: 025.5%
并成功地完成了检查。我在Windows 10上创建了Etcher (IIRC)的USB媒体。
安装是好的,但我有点困惑的“支持的ISO:不”行,即使这个ISO直接来自getfedora.org网站。
发布于 2019-09-03 07:41:30
选项“测试此媒体”实际上设置了rd.live.check
dracut命令行选项,该选项反过来触发安装程序蟒蛇蟒蛇,通过运行systemd checkisomd5
单发服务来测试安装介质。这项服务的定义是:
[Unit]
Description=Media check on %f
DefaultDependencies=no
Before=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/bin/checkisomd5 --verbose %f
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
TimeoutSec=0
checkisomd5
命令(参见这里)由Fedora中的isomd5sum
包提供:
[root@fedora30 /]# dnf provides checkisomd5
Last metadata expiration check: 0:02:27 ago on Tue 03 Sep 2019 09:31:46 AM CEST.
isomd5sum-1:1.2.3-5.fc30.x86_64 : Utilities for working with md5sum implanted in ISO images
Repo : fedora
Matched from:
Filename : /usr/bin/checkisomd5
因此,让我们检查一下源:
rpm -ivh https://download.fedoraproject.org/pub/fedora/linux/releases/30/Everything/source/tree/Packages/i/isomd5sum-1.2.3-5.fc30.src.rpm
cd /root/rpmbuild/SOURCES/
tar -xvf 1.2.3.tar.gz
cd isomd5sum-1.2.3
通过源代码,您会发现一些对supported
标志的引用,这显然意味着:
Indicate that the image will be written to a "supported" media, such as pressed CD. On Red Hat-based Anaconda installers, this bypasses the prompt to check the CD.
这与https://linux.die.net/man/1/implantisomd5的手册页一致。
因此,“支持ISO: no”意味着该图像在创建时没有使用“支持”标志进行标记。这将使Anaconda显示检查CD的提示。
https://unix.stackexchange.com/questions/538759
复制相似问题