uTools-Manuals/docs/linux/mkbootdisk.html
2019-04-21 11:50:48 +08:00

20 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="mkbootdisk">mkbootdisk</h1>
<p>可建立目前系统的启动盘</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>mkbootdisk命令</strong> 用来为当前运行的系统创建能够单独使用的系统引导软盘,以便在系统出现故障时能够启动操作进行适当的修复工作。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">mkbootdisk(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">--device&lt;设备&gt;:指定设备;
--mkinitrdargs&lt;参数&gt;设置mkinitrd的参数
--noprompt不会提示用户插入磁盘
--verbose执行时显示详细的信息
--version显示版本信息。</code></pre>
<h3 id="参数">参数</h3>
<p>内核:指定内核版本。</p>
<h3 id="实例">实例</h3>
<pre><code class="language-bash">mkbootdisk --device /dev/fd0 `uname -r`</code></pre>
<p>其中,<code>uname -r</code>是目前Linux 系统所使用的核心版本如果你有多个核心版本的话你以可以直接输入核心版本。例如在这个网页中所使用的核心有两个版本一个是2.2.12-20另一个是2.2.18若要以2.2.18设定开机的话,可以使用:</p>
<pre><code class="language-bash">mkbootdisk --device /dev/fd0 2.2.18</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->