⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sec4.html

📁 linux的简单安装
💻 HTML
📖 第 1 页 / 共 5 页
字号:

<pre>    下面说明则是该画面的中文翻译说明。</pre>

<pre>    HELP       阅读线上安装说明
    KEYMAP     更改键盘排列
    QUICK      快速安装模式, 假如使用这选项的话, 系统安装过程
               就不会停下来一一询问您问题。 另外, 这选项可以,
               搭配下面 &quot;MAKE TAGS&quot;, 但是, 不是专家的话, 请勿
               使用。
    MAKE TAGS  改变软体内键安装选项
    ADDSWAP    启动 swap partition, 使虚拟记忆体即刻生效
    TARGET     指定目的硬碟分割区
    SOURCE     指定来源 source media
    DISK SETS  选择安装软体系列
    INSTALL    开始安装
    CONFIGURE  系统设定
    EXIT       结束安装作业
</pre>

<pre>□ 启动虚拟记忆体
</pre>

<pre>    前面主服务画面 (&lt; 画面 4-9 &gt;) 下第五个选项 ADDSWAP, 我们
用方向键往下移动到此, 之後按 &lt;Enter&gt; 键。 这画面中的 /dev/hdb2
是系统自己抓到的, 无须额外手工指定, 不过, 前提是之前进行硬碟
分割时, 已经把 /dev/hdb2 的分割区型态 (Partition Type) 正确
设定为 〃Linux swap〃。</pre>

<pre>    以下自动化程序所作的有三个动作, 第一就是对现有的 Swap
Partition 执行规划动作 (mkswap), 第二个动作, 是让该新规划好的
Swap partition 即刻生效 (swapon)。 最後一步, 则是安装到将来系
统的 /etc/fstab, 这样系统安装完成後, 每次系统开机时就会自动启
动虚拟记忆体。
</pre>

<pre>&lt;&lt; 画面 4-10 &gt;&gt;
      ______________________  SWAP SPACE DETECTED ________________________
     ?                                                                   ?
     ? Slackware Setup has detected a swap partition:                    ?
     ?                                                                   ?
     ?    Device Boot  Begin   Start     End  Blocks   Id  System        ?
     ? /dev/hdb2         101     101     160   30240   82  Linux swap    ?
     ?                                                                   ?
     ? Do you wish to install this as your swap partition?               ?
     ?                                                                   ?
     ?___________________________________________________________________?
     ?                       &lt; Yes &gt;      &lt;  No  &gt;                       ?
      ____________________________________________________________________?
 </pre>

<pre>    上面这画面下, 按 &lt;Enter&gt; 就可以继续到下面画面, 假若要中断
的话, 按 &lt;Tab&gt; 键可以移动反白到 &lt; No &gt; 区域。</pre>

<pre> 
&lt;&lt; 画面 4-11 &gt;&gt;
       ________________________ MKSWAP WARNING ________________________
      ? IMPORTANT NOTE: If you have already made any of your swap      ?
      ? partitions active (using the swapon command), then you         ?
      ? should not allow Setup to use mkswap on your swap partitions,  ?
      ? because it may corrupt memory pages that are currently         ?
      ? swapped out. Instead, you will have to make sure that your     ?
      ? swap partitions have been prepared (with mkswap) before they   ?
      ? will work. You might want to do this to any inactive swap      ?
      ? partitions before you reboot.                                  ?
       ________________________________________________________________ ?
      ?                           &lt;  OK  &gt;                             ?
       ________________________________________________________________ ?
 
</pre>

<pre> 
&lt;&lt; 画面 4-12 &gt;&gt;
        ________________________  USE MKSWAP? ________________________
       ?  Do you want Setup to use mkswap on your swap partitions?   ?
        ______________________________________________________________?
       ?                    &lt; Yes &gt;      &lt;  No  &gt;                    ?
        ______________________________________________________________?
</pre>

<pre>    以上三个连续画面所执行的, 也可以用下面这个指令手工完成, 这
提供读者叁考。
 </pre>

<pre>    $ /sbin/mkswap /dev/hdb2 30240</pre>

<pre>    还有一点要注意, 假如以前已经做过这指令, 此处就不要重复。
至於操作方法, 上面画面中, 可以移动 &lt;Tab&gt; 键, 选择 No 不安装,
这样会直接跳到下面画面。 假若以前没有操作过, 可以直接按 &lt;Enter&gt;
,这样会自动执行 mkswap动作。
</pre>

<pre>    下面画面则无论如何一定要执行, 这样就立刻才可以使 Swap
Partition 生效。 以此例来说, 会立刻增加约 30MB 的虚拟记忆体。</pre>

<pre>&lt;&lt; 画面 4-13 &gt;&gt;
           __________________ ACTIVATE SWAP SPACE? __________________
          ? If you have not already activated your swap partitions  ?
          ? with 'swapon', you should do so at this time. Activate  ?
          ? swap partitions with 'swapon'?                          ?
           __________________________________________________________?
          ?                  &lt; Yes &gt;      &lt;  No  &gt;                  ?
           __________________________________________________________?
 </pre>

<pre> 
    上面画面所执行的, 就等同於以下这指令:</pre>

<pre>    $ /sbin/swapon /dev/hdb2</pre>

<pre>    下面这画面, 安装程式询问说要不要更改 /etc/fstab, 这效果是
以後系统 (指安装完成後的系统) 每次开机後, 会自行启动该 Swap
Partition, 此处我们按 &lt;Enter&gt; 键, 选择安装。</pre>

<pre> 
 </pre>

<pre>&lt;&lt; 画面 4-14 &gt;&gt;
     ______________________  SWAP SPACE CONFIGURED ________________________
    ? Your swapspace has been configured. This information will           ?
    ? be added to your /etc/fstab:                                        ?
    ?                                                                     ?
    ? /dev/hdb2        swap        swap        defaults                   ?
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
     ______________________________________________________________________?
    ?                              &lt;  OK  &gt;                               ?
     ______________________________________________________________________?
 </pre>

<pre> 
    下面是最後一个画面, 安装程式询问我们是否接下来继续执行我
前面介绍的 『2. 指定安装目的分割区 (Target)』, 若按 &lt;Enter&gt;
回答 Yes, 则会立刻接续下去, 若按 &lt;Tab&gt; 选择 No, 则回到最外层
主服务画面。</pre>

<pre> 
&lt;&lt; 画面 4-15 &gt;&gt;
           ______________ CONTINUE WITH INSTALLATION? ______________
          ? Now that you've set up your swap space, you may         ?
          ? continue on with the installation. Otherwise, you'll    ?
          ? be returned to the main menu. Would you like to         ?
          ? continue the installation and set up your TARGET        ?
          ? drive(s)?                                               ?
           __________________________________________________________?
          ?                  &lt; Yes &gt;      &lt;  No  &gt;                  ?
           __________________________________________________________?
 </pre>

<pre> </pre>

<pre>□ 指定安装目的分割区</pre>

<pre>    在这步骤里, 我们要一一的告诉系统安装程式, 哪一个分割区我
们想作为 / 档案系统, 哪一个分割区指定为 /usr 档案系统, 等等。
除此以外, 假如硬碟某一个分割区已经安装有 DOS 或 OS/2, 也可以
在此告诉系统安装程式, 这样子将来就可以直些在 Linux 档案系统
下取用 DOS与 OS/2 档案系统内的东西 (Linux支援 DOS FAT 及 OS2
HPFS 等档案系统)。</pre>

<pre>    这一阶段的实际操作步骤也很简单。 我们首先指定所要安装
Linux 的分割区, 接着安装程式会询问确认该分割区的属性, 然後
们需决定要不要对该分割区规划出档案系统 (make filesystem)。</pre>

<pre>    下面画面中, 我们可以看到, 系统安装程式会自动侦测出所有属
性为 Linux native (Partition ID 为 83) 的分割区。 这画面中,
我们被询问的第一个话题, 就是 / 档案系统将设於何处?  这里笔
者回答 /dev/hdb3, 这是第二颗硬碟的第三个分割区。 额外一提,
Linux 可以安装在第一或第二颗硬碟, 悉听尊便。
</pre>

<pre>&lt;&lt; 画面 4-16 &gt;&gt;
     _____________________________________________________________________
    ?                                                                     ?
    ?    Device Boot  Begin   Start     End  Blocks   Id  System          ?
    ? /dev/hdb1           1       1     100   50368+  83  Linux native    ?
    ? /dev/hdb3         536     536     736  101304   83  Linux native    ?
    ?                                                                     ?
    ? Which device would you like to use for your root Linux partition?   ?
    ? __________________________________________________________________  ?
    ??dev/hdb3                                                         ??
    ? __________________________________________________________________??
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
    ?                                                                     ?
     ______________________________________________________________________?
    ?                       &lt;  OK  &gt;      &lt;Cancel&gt;                        ?
     ______________________________________________________________________?
 </pre>

<pre> 
    接下来读者会看到下面这画面, 这里询问档案系统型态, 我建议
读者选择 ext2, 因为绝大多数人都是选用这个。 我们用方向键把反
白移至 ext2 这行, 之後按&lt;Enter&gt; 键。
</pre>

<pre>&lt;&lt; 画面 4-17 &gt;&gt;
        __________________  CHOOSE LINUX FILESYSTEM __________________
       ? There are two main filesystem types that are used for        ?
       ? Linux. These are the xiafs filesystem, and the second        ?
       ? extended filesystem (ext2). Ext2 seems to be the current     ?
       ? standard. Xiafs hasn't really been changed in quite some     ?
       ? time. Ext2 has one really nice feature that xiafs doesn't    ?
       ? have: as an ext2 partition is unmounted, a clean bit is      ?
       ? written to it. When the machine is rebooted, checking is     ?
       ? skipped for any partitions that have the clean bit on them.  ?
       ? Xiafs may be a better choice for machines with low memory,   ?
       ? however, so it's still supported. What filesystem do you     ?
       ? plan to use on your root partition (/dev/hdb3), ext2fs or    ?
       ? xiafs?                                                       ?
       ? __________________________________________________________   ?
       ??         ext2   Linux Second Extended Filesystem          ??
       ??         xiafs  Linux Xiafs                               ??
       ? __________________________________________________________   ?
        ______________________________________________________________ ?
       ?                   &lt;  OK  &gt;      &lt;Cancel&gt;                     ?
        ______________________________________________________________ ?
 </pre>

<pre> 
    选择 ext2 档案系统後, 接着又询问我们是否要真的执行建造动
作 (相当於DOS的格式化动作), 假如这是我们第一次安装, 很可能我
要就要选择 Format 或 Check, 但是如果确定以前已经做过, 这里也
可以选择 No。 至於 Format 与 Check的不同, Check 除了做 Format
动作外, 还额外检测硬碟是否有坏轨, 假如您硬碟有瑕疵的话, 记得
选用 Check。</pre>

<pre>&lt;&lt; 画面 4-18 &gt;&gt;
      ________________________  FORMAT PARTITION ________________________
     ? If this partition has not been formatted, you should format it.   ?
     ? NOTE: This will erase all data on it. If you are trying to        ?
     ? upgrade an existing Linux partition, you should use setup from    ?
     ? your hard drive, not from the boot/root disk. (The versions of    ?
     ? setup supplied on the hard drive and the boot/root disk differ)   ?
     ? Would you like to format this partition?                          ?
     ? ________________________________________________________________??
     ??       Format  Quick format with no bad block checking         ??
     ??       Check   Slow format that checks for bad blocks          ??
     ??       No      No, do not format this partition                ??
     ? ________________________________________________________________??

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -