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

📄 585.html

📁 著名的linux英雄站点的文档打包
💻 HTML
📖 第 1 页 / 共 3 页
字号:
    # 用普通的启动盘(第一张盘)引导系统,然后放入建有文件系统的盘(第二张盘)。<br>
<br>
    # 和在硬盘上安装GRUB一样操作,在软盘上安装GRUB。<br>
<br>
5. 如何指定某个分区?好象Grub对分区的命名和操作系统完全不同...<br>
<br>
是的,GRUB的设备语法和其它系统有很大不同,但它和DOS以及Windows 98有些类似:GRUB并不区分IDE或是SCSI硬盘,所以你的硬盘用(hd%d)来表示,(%d是一个整数,从0开始计算)。同样的,软驱用(fd%d)来表示。<br>
<br>
真正让用户困惑的是分区编号的计算。GRUB从0开始计算分区,而几乎所有其它的操作系统都从1开始。我们将改进这一点以取得统一。<br>
<br>
6. GRUB不能识别我的GNU/Hurd分区。<br>
<br>
我不知道为什么,FDISK程序的作者错误的把分区类型0x63分配给了GNU Hurd。一种分区类型应该指出该分区使用的格式,包括文件系统以及BSD片段等,而不应该用来指定该分区被什么操作系统拥有。所以不论该分区的拥有者是不是Hurd,当分区使用ext2fs文件系统的时候用0x83;当分区使用ffs文件系统的时候用0xA5。我们将会使用0x63来代表GNU Hurd文件系统,但现在还没有采用这种表示。<br>
<br>
7. 我已经装了binutils的最新版本,但GRUB还是会在引导时死掉。<br>
<br>
请用以下命令检查你的binutils版本:<br>
<br>
$ ld -v<br>
<br>
这个命令会显示两个版本号,只有后面一个是有意义的。如果它和你安装的版本号是一样的,就算安装好了。<br>
<br>
然后,敲:<br>
<br>
$ gcc -Wl,-v 2&gt;&1 | grep "GNU ld"<br>
<br>
如果这次和上面的结果不一样,你应该在配置脚本里指定安装binutils的路径,例如:<br>
<br>
$ ./configure --with-binutils=/usr/local/bin<br>
<br>
如果你按以上方法操作,GRUB还是会崩溃,可能就是GRUB有大bug了,请向&lt;bug-grub@gnu.org&gt;邮件列表报告这个错误。<br>
<br>
8. 我无法在Red Hat 7.0上编译GRUB。<br>
<br>
你读了这条消息吗?我们从没有支持过gcc的任何未发行版本。<br>
<br>
附--原文大意:<br>
<br>
GCC 2.96<br>
<br>
我们注意到个别GNU/Linux发行版包含了“GCC 2.96”。GCC 2.96并非GCC的正式发行版,也不会有这样的发行版本号,它只是我们的一个开发代码,正式发行时将是GCC 3.0。<br>
<br>
2.96和2.97都是我们的开发代号,不建议在正式发行的版本中使用,GCC小组不向上述版本提供支持。<br>
<br>
9. 如何为Linux指定任意内存大小?<br>
<br>
向你的Linux内核传递一个mem=参数,就象这样:<br>
<br>
grub&gt; kernel /vmlinuz mem=128M<br>
<br>
你也可以用同样方法传递其它启动参数。可用的参数请参考Linux文档。<br>
<br>
10. 如何从非第一个硬盘(指主硬盘)引导Windows (或DOS)。<br>
<br>
使用map命令,交换虚拟BIOS驱动,如下:<br>
<br>
grub&gt; map (hd0) (hd1)<br>
<br>
grub&gt; map (hd1) (hd0)<br>
<br>
11. 我的GNU/Linux (或其它类UNIX系统)有一个独立的引导区,似乎GRUB无法正确处理这种情况。<br>
<br>
这经常被视为一个bug,其实并不是bug,而是一种特性。<br>
<br>
因为GRUB是一种引导管理器,它常常运行在还没有操作系统的裸机上,它并不知道你的操作系统会挂载哪个分区。因此,如果你划分了/boot分区,并且把GRUB映像安装在/boot/grub路径下,GRUB会认为映像安装在/grub路径下而不是/boot/grub。既然不能保证你的所有操作系统会把同一个分区挂载为/boot,那好,这种情况有以下几种解决方法:<br>
<br>
    # 把GRUB安装到/boot/boot/grub路径而非/boot/grub。这样很难看,但是很管用。<br>
    # 在安装GRUB前先建立一个符号链接,例如:cd /boot && ln -s . boot。只有根分区的文件系统支持符号链接,并且GRUB也支持这一特性时,这个方法才有效。<br>
    # 用install命令安装GRUB,明确指定GRUB映像的路径。例如:<br>
<br>
      grub&gt; root (hd0,1)<br>
<br>
      grub&gt; install /grub/stage1 d (hd0) /grub/stage2 p /grub/menu.lst<br>
<br>
12. 如何从硬盘卸载GRUB?<br>
<br>
对于引导管理器而言,没有卸载这个概念,因为一旦你卸载了引导管理器,就只剩下一台不能启动的破铜烂铁。所以,正确的做法是用别的引导管理器覆盖现在的,换句话说,你可以直接安装别的引导管理器而无须卸载GRUB。<br>
<br>
比方说,如果你想安装Windows的引导程序,只需要在Windows下运行FDISK /MBR。如果你想安装LILO(尽管这样做是不可思议的),在GNU/Linux下运行/sbin/lilo就可以了。<br>
<br>
13. GRUB在读取我的IDE大硬盘时挂起。<br>
<br>
如果你的硬盘大于32GB,可能你需要升级主板的BIOS来解决这个问题。这是个众所周知的bug,多数(主板)供应商都会提供补丁。例如,对ASUS-P3BF主板,将BIOS升级到V1007beta1或更高版本可以解决。请向你的(主板)供应商索取更多信息。<br>
<br>
14. 为什么Linux (FreeBSD、NetBSD、等)不采用多重引导?<br>
<br>
这个就要问它们的维护者了。如果所有的自由(操作系统)内核都支持多重引导,我们岂不是生活在乌托邦?<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 + -