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