阅 读 文 章

[原创]x86启动系统的几种方式

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(sunmarmot) | 时间:2007-05-27 | 浏览:人次 ]



不过,我们可以用其他的方法改这些属性。

四.在x86中修改eeprom属性

# eeprom         查看eeprom
auto-boot?=true
auto-boot-cfg-num=-1
auto-boot-timeout=5
boottimeout=0
bshfirst=false
output-device=screen
input-device=keyboard
boot-file=kernel/unix      <---------这项不可以改,一旦改变,系统就不能启动,偶在这里壮烈过,因为solairs IA不支持64位
target-driver-for-scsi=sd
target-driver-for-direct=cmdk
target-driver-for-csa=cmdk
target-driver-for-dsa=cmdk
target-driver-for-smartii=cmdk
pciide=true
prealloc-chunk-size=0x2000
ata-dma-enabled=0
kbd-type=US-English(104-Key)
kbd-wkeys=true
probed-arch-name=i86pc
probed-compatible=i86pc
bootpath=/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0:a
# eeprom auto-boot?  <--------设置auto-boot,如果你改成了false,你重启动后就和按
                              按ESC进入手动启动模式一样,会重新检测硬件
auto-boot?=true
# eeprom auto-boot?=false
# eeprom auto-boot?
auto-boot?=false
# eeprom auto-boot-timeout=10 〈-------设置进入自动启动模式的默认启动时间,你要是懒的看到那个等5秒,就把它设置为0
# eeprom auto-boot-timeout
auto-boot-timeout=10  
#eeprom bootpath=/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0:a   从第二块硬盘启动

(注意:最好别在这里设置,敲错一点就完蛋了,偶有过惨痛的经历~~~~~~~~~~~~~~~~~)

SUN直到现在好象也没有这方面的比较完整的介绍,特别是在interpreter模式下。直到现在偶没搞明白interpreter模式下很多设置,例如:>;setenv boot-file kernel/unix
                                           
                                           >;unset boot-file  
总是设置好了但不能保存不知道是什么回事,不过感觉基本也上够用了,希望了解这方面的老大能多多指点。



以上命令全部测试通过
测试环境:
1.Solaris 8 FreeX86 ,x86_Recommanded
P3 800,512M,10G,10G

2.VMware 3.2,Solaris 8 FreeX86 ,x86_Recommanded
DELL latitude C600
p3 800,256M,10G,虚拟2G硬盘3个

唉~~~~~~~~~~~~~~~~~~~~好瞌睡.........去睡觉!!
 :em21:  :em21:  :em21:  :em21: 





 sunmarmot 回复于:2002-10-04 13:28:22

倒~~~~~~~~~~~~没人看那??难道真的没人用x86的单用户模式做维护.......
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 方式 系统 启动 原创 回复 模式 可以 sunmarmot 设置

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.