例如,有可能将GRUB的stage 1代码安装在Linux启动分区的第一个扇区,而不是mbr中。
For instance, it's possible to install GRUB's stage 1 code in a Linux boot partition's first sector rather than in the MBR.
找到一个可启动分区后,它把此分区的第一个扇区装载到0x0000: 0x7c 00并执行它。(现在你该知道为什么M BR要把自身向下移了吧!)
When it finds a bootable partition it loads the first sector of that partition into 0x0000:0x7c00 and executes it. Now you see why it moves its code down!
应用推荐