1、安装Linux时将grub安装在你的linux根目录所在分区,如果安装在mbr,进入后。 tU5Linux联盟 grub-install /dev/sda8 tU5Linux联盟 或 tU5Linux联盟 #grub tU5Linux联盟 #root (hd0,7) tU5Linux联盟 #setup (hd0,7) tU5Linux联盟 2、生成最小镜像文件并拷贝到windowns 能够读取到的地方,如d:\ tU5Linux联盟 dd if=/dev/sda8 of=/dev/sda5/ubuntu_071208 bs=512 count=1 tU5Linux联盟 3、在vista下,用管理员权限运行cmd,依次运行下列命令。 tU5Linux联盟 bcdedit /create /d "Ubuntu" /application bootsector ===> 创建名为ubuntu的启动项,返回{GUID}为{7c3b65ce-b081-11dc-b3e0-001c23fb60a3} tU5Linux联盟 bcdedit /set {7c3b65ce-b081-11dc-b3e0-001c23fb60a3} device partition=d: ===> 指定镜像文件所在分区 tU5Linux联盟 bcdedit /set {7c3b65ce-b081-11dc-b3e0-001c23fb60a3} path \ubuntu_071222 ===> 指定镜像文件所在路径 tU5Linux联盟 bcdedit /displayorder {7c3b65ce-b081-11dc-b3e0-001c23fb60a3} /addlast ===> 将启动项添加到最后 tU5Linux联盟
|