加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

linux和window7 双系统中/boot/grub/grub.conf中的chainloader +1的意思

(2012-03-21 21:07:19)
标签:

杂谈

分类: linux操作系统
chainloader 其实就是控制权转交
+`1就是读取另一个操作系统安装分区的第一个扇区(即boot sector)
1、modify   /boot/grub/grub.conf 
2、“rootnoverify(hd0,4)、chainloader   +1”   means 
      If   you   want   to   boot   an   unsupported   operating   system   (e.g.   Windows 
95),   chain-load   a   boot   loader   for   the   operating   system.   Normally,   the 
boot   loader   is   embedded   in   the   "boot   sector "   of   the   partition   on   which 
the   operating   system   is   installed. 

rootnoverify(hd0,4):Set   GRUB 's   root   device   to   the   partition 

chainloader   +1:Load   the   boot   loader,   `+1 '   indicates   that   GRUB   should   read   one   sector   from   the   start   of     the   partition 

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有