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

📄 483.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
   label="linux1"<br>
   initrd=/boot/initrd-2.2.14-5.0<br>
   root=/dev/sda5<br>
<br>
因此,编辑以上代码之后,最终的文件应该类似于:<br>
<br>
<br>
boot=/dev/sda<br>
timeout=300<br>
linear<br>
prompt<br>
    default="linux2"<br>
    vga=normal<br>
    read-only<br>
map=/boot/map<br>
install=/boot/boot.b<br>
<br>
image=/boot/vmlinuz=2.2.14-5.0<br>
   label="linux2"<br>
   initrd=/boot/initrd-2.2.14-5.0<br>
   root=/dev/sda10<br>
<br>
image=/boot/vmlinuz=2.2.14-5.0<br>
   label="linux1"<br>
   initrd=/boot/initrd-2.2.14-5.0<br>
   root=/dev/sda5<br>
<br>
请确保如以上最后一行所完成的那样指定 root 路径,— 这一点非常重要。还要确保列出您在安装期间使用的标号。<br>
<br>
现在保存文件,然后在提示符上处输入命令 lilo。这将重新编译该文件,然后保存更新的配置。<br>
<br>
注意:image/kernel 对于这两个安装是相同的(/boot/vmlinuz=2.2.14-5.0)。由于我们正在进行的是完全相同的系统的双引导,正在从同一张 CD 上安装,所以有相同的映象文件。如果正在安装不同的发行版,则这些文件将会不同。<br>
<br>
现在我们快要完成了。接下来,您想从终端发出重新引导命令:shutdown -r now。当计算机重新启动时,出现 LILO 提示。按 Tab 键,您会看到:<br>
<br>
<br>
linux2			Linux1<br>
<br>
Boot:_<br>
<br>
在 boot 提示符上,输入 linux1 以引导进我们完成的第一个 Linux 安装。引导起来后,需要进入其 lilo.conf 文件 — 这与我们刚为第二个映象编辑的配置文件非常相似,唯一的区别是缺省映象是 /sda5(如果有 IDE 驱动器,则为 /hda5),带有标号“linux1”。我们将象对待另一个文件一样编辑这个文件,在结尾处添加下列行:<br>
<br>
<br>
image=/boot/vmlinuz=2.2.14-5.0<br>
   label="linux2"<br>
   initrd=/boot/initrd-2.2.14-5.0<br>
   root=/dev/sda10<br>
<br>
这样,整个文件的代码将类似于:<br>
<br>
<br>
boot=/dev/sda<br>
timeout=300<br>
linear<br>
prompt<br>
    default="linux1"<br>
    vga=normal<br>
    read-only<br>
map=/boot/map<br>
install=/boot/boot.b<br>
<br>
image=/boot/vmlinuz=2.2.14-5.0<br>
   label="linux1"<br>
   initrd=/boot/initrd-2.2.14-5.0<br>
   root=/dev/sda5<br>
<br>
image=/boot/vmlinuz=2.2.14-5.0<br>
   label="linux2"<br>
   initrd=/boot/initrd-2.2.14-5.0<br>
   root=/dev/sda10<br>
<br>
保存该文件,然后通过在命令提示符上输入 lilo 来重新编译它。再次发出重新引导命令;系统启动后,还会提示您选择 LINUX 引导。这次按下 Tab 键时,您将看到以下列表:<br>
<br>
<br>
LINUX BOOT:<br>
linux1			Linux2<br>
<br>
Boot:_<br>
<br>
这就完成了!您刚构建了一个双引导 Red Hat linux 系统。要在不同分区上安装任意多的映象或者安装应用程序软件的不同版本(正如我们对 WebSphere Application Server 和 DB2 所做的那样),现在这对您来说已经是小菜一碟了。<br>
<br>
参考资料<br>
<br>
    * 第一次对驱动器进行分区可以不再伤脑筋了。PowerQuest 提供了一个称为 Partition Magic 的产品使该过程更简便。<br>
    * VCOM 提供了一个竞争性产品,称为 System Commander 2000,它差不多完成相同的任务。<br>
    * 本技巧文章中的示例都使用 LILO。您可能还想尝试 GNU GRUB 多引导的引导装入器,它是一种较新的实用程序,大部分作用相同但具有更多功能。<br>
    * 如果以前从未安装过 linux,您会发现 Eric Raymond 编写的 The Linux Installation HOWTO 有无可估量的帮助。关于故障排除或快速查看安装帮助,请查看 HOWTO 的第 6 部分 Installation In Detail。<br>
    * LILO 的目的在于将 linux 和 Windows 安装在一起。LInux LOader(因此称为 LILO)有出色的文档。但是,关于如何完成这一任务的预览(或者快速版本),请参见 LILO mini-HOWTO 的第 3 项(The Simple Configuration)。<br>
    * 关于安装一台带有 linux 和其它操作系统的多引导机器的建议,请阅读 Operating system flexibility(developerWorks,2000 年 12 月)。<br>
    * Win95 + WinNT + linux multiboot using LILO mini-HOWTO 详细说明了如何使用 LILO 来代替使用 NT 的操作系统装入器以多重引导混合 Windows 和 Linux 的环境。<br>
    * Dual booting Win2K and linux 一文概述了一种策略,显示 Linux 如何识别 NTFS 分区为可引导的分区。<br>
    * 假定不是多个 linux 产生的问题,而是多个磁盘的问题(无论它们是否装有多个 Linux)?那么,您可能想看一下 Multi Disk System Tuning HOWTO。<br>
    * 不想每次必须重新引导以从一个 linux 映象切换成另一个?别担心!Development for Multiple Linux Distributions mini-HOWTO 概述了一种用 chroot 的诀窍,它可以帮您解决难题。<br>
    * 有一种高端产品让您同时运行多个操作系统 — 从而,比如说,可以在 linux 下运行 Windows 应用程序(!)— 那就是 VMware。<br>
    * 最后,为什么只停留在把两个、三个或十个数量不多的 linux 安装在一台机器上呢?关于怎样做到这一点,请阅读 Earthweb 的 developer.com 上的 IBM 德国的程序员在一台大型机上运行 41,400 个 Linux 副本。<br>
<br>
关于作者<br>
Chuks Onwuneme 目前在德州大学 Arlington 分校学习计算机科学与工程学士课程。他期望在 2002 年 5 月完成该学位。Chuks 于 2000 年 6 月加入 IBM,开始是奥斯汀中心的 e-Business Operating System Solutions 的实习生,然后成为达拉斯的 Developer Relations, Internet and Network Computing 的合作人员。 您可以通过 conwune@us.ibm.com 或外部电子邮件 cc_onwuneme@hotmail.com 与 Chuks 联系。<br>
<br>
<br>
Farhan Khawaja 是达拉斯的 IBM 计算机科学与工程的实习生,他目前在德州大学 Arlington 分校攻读计算机科学与工程学士学位。作为一名程序员,他使用 Java、C++、ASP 和 Visual Basic 进行开发。他的兴趣包括 linux、体育运动和听音乐。可以通过 fakhawaj@us.ibm.com 与 Farhan 联系。<br>
<br>
<br>
到页首<br>
您对这篇文章的看法如何?<br>
真棒!(5) 好文章 (4) 一般;尚可 (3) 需提高 (2) 太差! (1)<br>
<br>
意见?<br>
<br>
<br>
(c) Copyright IBM Corp. 2001, (c) Copyright IBM China 2001, All Right Reserved<br>
  关于 IBM  |  隐私条约  |  法律条款  |  联系 IBM<br>
</FONT><br>
                                      </TD>
                                    </TR>
                                <TR>
                                <TD colSpan=2><FONT 
                                class=middlefont></FONT><BR>
                                        <FONT 
                                class=normalfont>全文结束</FONT> </TD>
                                    </TR>
                                <TR>
                                <TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2 
                                height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
                        <TD vAlign=top width="20%" 
                      background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2> 
                          <DIV align=center> 
                            <table class=tableoutline cellspacing=1 cellpadding=4 
                        width="100%" align=center border=0>
                              <tr class=firstalt> 
                                <td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
                                <font class=normalfont><b>所有分类</b></font></td>
                              </tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td>    </tr>  </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td>    </tr>  </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%>   <table width=100% border=0>    <tr>       <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td>    </tr>  </table></td></tr>                            </table>
                          </DIV></TD></TR>
                    <TR vAlign=top>
                        <TD width="80%"> 
                          <DIV align=center><BR>
                          </DIV>
                        </TD></TR></TBODY></TABLE></TD></TR>
                </TABLE></TD></TR>
          </TABLE>
      <TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee 
        border=0><TBODY>
        <TR>
          <TD width="50%">
              <P><FONT class=middlefont>版权所有 &copy; 2004 <A 
            href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
                违者必究. </FONT></P>
            </TD>
          <TD width="50%">
              <DIV align=right><FONT class=middlefont>Powered by: <A 
            href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
            </TD></TR></TBODY></TABLE>
      <CENTER></CENTER></TD></TR>
    </TABLE></CENTER></BODY></HTML>

⌨️ 快捷键说明

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