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
2、“rootnoverify(hd0,4)、chainloader
95),
boot
the
rootnoverify(hd0,4):Set
chainloader
后一篇:linux中的计划任务