求win上grub4dos 启动U系统的方法

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
头像
双鱼的契约
帖子: 144
注册时间: 2010-05-31 8:30

求win上grub4dos 启动U系统的方法

#1

帖子 双鱼的契约 » 2010-12-03 13:54

--------------------------------------------------------------------------------------
timeout 10
default 0

title Windows 7
find --set-root /bootmgr
chainloader (hd0,0)/bootmgr

title Ubuntu 10.10
root (hd0,5)
UUID ea0df88d-6265-45aa-bb1f-bac3ea7e3fbc
kernel (hd0,6)/vmlinuz-2.6.32-22-generic root=UUID=ea0df88d-6265-45aa-bb1f-bac3ea7e3fbc
initrd (hd0,6)/initrd.img-2.6.32-22-generic
quie
-----------------------------------------------------------------------------------------
我在公司里装了双系统,没用U的grub2启动 在win下装的grub4dos做启动文件。麻烦就来了
我的LINUX根在HD0,5上
/boot是(hd0,6)
我在网上查到用UUID,如上的方式可以运行U系统
但重装过系统后UUID会变,每一次重记录下UUID和更改UUID后才能运行。
UUID太长了 如果记错或打错一个字又要进win去改好了在重启,烦人!
求高人给一个简单方便启动U系统的grub4dos的方法
临渊问水,可得鱼之甘苦。
临渊羡鱼,不如归而结网。
博客地址:http://www.yangting.phpnet.us
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: 求win上grub4dos 启动U系统的方法

#2

帖子 onshoestring » 2010-12-03 13:58

title Ubuntu
find --set-root /grub/core.img
kernel /grub/core.img
boot
头像
双鱼的契约
帖子: 144
注册时间: 2010-05-31 8:30

Re: 求win上grub4dos 启动U系统的方法

#3

帖子 双鱼的契约 » 2010-12-05 21:50

谢谢 周一去试试
临渊问水,可得鱼之甘苦。
临渊羡鱼,不如归而结网。
博客地址:http://www.yangting.phpnet.us
回复