首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在Fedora安装程序中“支持ISO: no”是什么意思?

在Fedora安装程序中“支持ISO: no”是什么意思?
EN

Unix & Linux用户
提问于 2019-09-02 20:45:45
回答 1查看 2.5K关注 0票数 2

我刚安装了Fedora工作站30号。在启动时,我选择了“测试此媒体&启动Fedora-Workstation-Live”。屏幕显示:

代码语言:javascript
运行
复制
/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网站。

支持的ISO: no到底是什么意思?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2019-09-03 07:41:30

选项“测试此媒体”实际上设置了rd.live.check dracut命令行选项,该选项反过来触发安装程序蟒蛇蟒蛇,通过运行systemd checkisomd5单发服务来测试安装介质。这项服务的定义是:

代码语言:javascript
运行
复制
[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包提供:

代码语言:javascript
运行
复制
[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

因此,让我们检查一下源:

代码语言:javascript
运行
复制
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标志的引用,这显然意味着:

代码语言:javascript
运行
复制
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的提示。

票数 6
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/538759

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档