海阔天空-wide-area

海阔天空,随心所欲,有什么,说什么,Linux,VC,Network Programming

星期日, 二月 15, 2009

ntldr直接引导Linux

用ntldr引导,把linux的引导信息导出到一个二进制文件
在linux下使用命令:
如果引导信息在mbr,则dd if=/dev/hda of=/root/linux.bin bs=512 count=1
如果引导信息在hda5,则dd if=/dev/hda5 of=/root/linux.bin bs=512 count=1
将得到的linux.bin复制到c:\
然后在c:\boot.ini中加入一句:
c:\linux.bin=Linux

0 Comments:

发表评论

<< Home