📄 506.html
字号:
<TR>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=296
border=0></TD>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=76
border=0></TD>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=100
border=0></TD>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=98
border=0></TD>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=79
border=0></TD>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=103
border=0></TD>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=26
border=0></TD>
<TD><IMG height=1 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1
border=0></TD></TR>
<TR>
<TD colSpan=3><A title=linux知识宝库
href="index.html" tppabs="http://www.linuxhero.com/docs/index.html"><IMG height=83
src="images/header_r1_c1.gif" tppabs="http://www.linuxhero.com/docs/images/header_r1_c1.gif" width=472 border=0
name=header_r1_c1></A></TD>
<TD colSpan=3>
<form action="http://www.linuxhero.com/docs/search.html" method=get>
<table
style="BORDER-RIGHT: #c4c4c4 1px solid; BORDER-TOP: #c4c4c4 1px solid; BORDER-LEFT: #c4c4c4 1px solid; BORDER-BOTTOM: #c4c4c4 1px solid"
cellspacing=0 cellpadding=3 width="95%" border=0 align="center">
<tbody>
<tr>
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif">
<div align=center><font class=normalfont>搜索文章:
<input type=hidden value=result name=action2>
<input type=radio checked value=title name=type>标题
<input type=radio value=content name=type>内容
<input type=image src="images/button_go.gif" tppabs="http://www.linuxhero.com/docs/images/button_go.gif" border=0 name=image2>
</font></div>
</td>
</tr>
<tr>
<td noWrap>
<div align="center">
<input maxlength=100 size=30 name=keyword2>
</div>
</td>
</tr></tbody>
</table>
</form>
</TD>
<TD rowSpan=2><IMG src="images/header_r1_c7.gif" tppabs="http://www.linuxhero.com/docs/images/header_r1_c7.gif" width=26 border=0 name=header_r1_c7></TD>
<TD><IMG height=83 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1 border=0></TD></TR>
<TR>
<TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif"><IMG height=22
src="images/header_r2_c1.gif" tppabs="http://www.linuxhero.com/docs/images/header_r2_c1.gif" width=296 border=0
name=header_r2_c1></TD>
<TD background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colSpan=5>
<DIV align=right><FONT class=normalfont>当前位置:
<A href="index.html" tppabs="http://www.linuxhero.com/docs/index.html">本站首页</A>
<font color="#FF6699">>></font>
<A href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</A> | <A href="copyright.html" tppabs="http://www.linuxhero.com/docs/copyright.html">版权说明</A></font></DIV>
</TD>
<TD><IMG height=22 src="images/spacer.gif" tppabs="http://www.linuxhero.com/docs/images/spacer.gif" width=1
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=10 cellPadding=0 width="100%" bgColor=#ffffff
border=0>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TR>
<TD vAlign=top align=middle width="60%">
<TABLE cellSpacing=0 cellPadding=0 width="100%"
background="images/back.gif" tppabs="http://www.linuxhero.com/docs/images/back.gif" border=0>
<TBODY>
<TR>
<TD vAlign=top width="80%">
<DIV align=center>
<FORM action="search.html" tppabs="http://www.linuxhero.com/docs/search.html" method=get>
</FORM>
<TABLE cellSpacing=0 cellPadding=0 width="95%"
border=0><TBODY>
<TR>
<TD background="images/bgi.gif" tppabs="http://www.linuxhero.com/docs/images/bgi.gif"
height=30></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 width="95%"
align=center border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=3 width="100%"
border=0>
<TBODY>
<TR>
<TD vAlign=top>
<p><FONT class=normalfont><B><font color=blue>开机和关机</font></B></FONT><BR><FONT class=smallfont color=#ff9900>2004-04-23 15:18 pm</FONT><BR><FONT class=normalfont>作者:作者<br>来自:Linux知识宝库<br>联系方式:无名<br><br>开机<br>
<br>
您或许会发现安装完 linux 之后,原来的 Windows 开机画面不见了!那~~ 怎么回去啊?<br>
<br>
不知道不紧要啦。当机器开着之后,在您看到 RedHat 的开机选单,移动上下方向键选择您要进入的系统就可以了;如果您这时候按 Ctl+X 键,则会得到 LILO Boot: 的提示(后面我们提到‘单人模式’的时候会用到),然后按 Tab 键,也可以看到开机的各项选择。假如您的系统是按照前面的例子进行安装的话,应该会看到 linux 和 win(您在安装时所取的名称) 这两项。如果要进入 Linux,可以输入 Linux 再 Enter,或直接按 Enter(因为此例中 Linux 被选择为预设系统了);如果您要进入 Windows,可以输入 win 再按 Enter。<br>
tips:如果您原来的系统是 NT 的话,有一个要注意的地方,就是:当增加 linux partition 之后, 原先 NT 看到的 partition number 或许会有所变更,这需要修改 c:/boot.ini 才可以纠正过来。修改的时候,基本上您无需理会各句子前面的号码,将 partition( ) 中的号码换换试试,直到可以开机为止。<br>
<br>
刚才提到的 LILO,是 linux 安装在机器上面的系统载入程式,取名于 LInux LOader 的前两个字母的组合。根据我们在安装的时候所选择,目前 LILO 安装在系统的 MBR (Master Boot Record),也就是开机磁碟的第一个 Cylinder 之第一个 Sector 之上。MBR 所存放的 loader,是用来告诉机器在启动之后要载入那个系统,和到哪里载入。除了 LILO 之外,其实我们也有许多其它 loader 可以选择,例如 NT 的 NT Loader、System Commander、Boot Magic、以及国人所写的 spfdisk、等等。假如您已经采用别的 loader 而不是 LILO,那您在安装的时候,就要确定您的 LILO 是装在 /boot partition (所谓的 super block)上面而不是 MBR (后面我会介绍用 NT loader 来载入 Linux 的方法)。无论您用哪个 loader,也不管 LILO 装在 MBR 还是 supper block,在一些新的大容量硬碟上面(通常超过 8G),要注意 /boot 分区所在位置不要超过 1024 磁柱的范围。不过,新的 Linux 启动程式都允许超出这个限制,只需确定磁碟使用 LBA 模式,以及在 LILO 上使用 lba32 选项就可以了(这个以后我们在谈到 LILO 的设定时再说明)。<br>
tips:假如您的 linux 开机分区装在 slave 硬碟之上,开机的时候可能会遇到麻烦,请尽量避免。如果您真的必须如此,可以参考 Juniko 兄的文章:<br>
<br>
撰写于邮件 news:3hBdkI$B8w@bbs.kimo.com.tw...<br>
> ※ 引述《NoEMail@NoWay.org (Harrier Knight)》之铭言:<br>
> > lilo 你说了这段话:<br>
> > > 问题解决了...<br>
> > > 就只是linux不可以放在第二个ide上<br>
> > 这是目前 LILO 的限制吧?<br>
> <br>
> 嗯, 我目前是放在第二颗(hdd) IDE 上, boot 也在 hdd 上<br>
> <br>
> 稍微修改一下 lilo.conf<br>
> <br>
> 加入<br>
> <br>
> disk=/dev/hdd<br>
> bios=0x81 # 本来 hdd ,lilo 会读成 0x82, 中间装了两台 Cdrom<br>
> # Why? i don't know, 我试着改成 0x80 也不行, 所以<br>
> # 我猜0x81 指的是第二颗 IDEHD<br>
> # 以此类推, 第四颗 IDEHD 应该改成 0x83, 因为我没有<br>
> # 第四颗 HD, 所以没办法 test<br>
> <br>
> disk=/dev/hda<br>
> bios=0x80 #需不需要设定 /dev/hda 我不是很确定,<br>
> #因为一开始就设了, 也没移除试过<br>
<br>
(假如您还不会修改 lilo.conf,那就等日后我们介绍完 vi 和 LILO 的时候再回来不迟。)<br>
<br>
有些朋友,在碰到多重系统安装的时候,会觉得有些疑惑,或许只是对 OS loader 不甚了解而已,单纯将安装顺序换成:先 windows 后 linux 就可以了。<br>
<br>
为什么?那要知道各 OS 放在 MBR 里面的 loader 能力了。一般的 OS loader,都会提供开机选单,让您选择用什么系统开机,以及开机系统放在硬碟的什么位置上。比 如,linux 的 LILO 就有这个功能:它除了开 linux 之外,还提供一个选单,给您开Windows。但 windows 的 loader 却不然,它的 loader 只能开 windows 而不让您有选单开 linux。(真是不公平哦~~)<br>
<br>
而 OS loader 一般都放在 MBR 位置上,也就是第一个 cylinder 的第一个 sector 上面,这样,系统顺利通过 BIOS 之后,就会到这里读入硬碟的开机资讯,也就是载入loader 。在 MBR 上面,每次只能放一个 loader,如果您先放 windows 的 loader,然后放 linux 的,MBR 的 loader 就变成是 LILO,那您就有一个选单来选择开机系统。如果先灌 linux 再 windows,那 MBR 的 loader 是 windows 的,因而没有选单选择,只能进入 windows。<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -