grub4dos写入mbr引导windows和ubuntu8.04很正常
昨天刚装上9.04,用以前写的menu(8.04的)引导不了系统,提示记得是 file not found
谁能给个引导9.04的代码,谢谢。
求grub4dos引导ubuntu9.04的menu代码
-
- 帖子: 25
- 注册时间: 2008-09-19 22:12
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 求grub4dos引导ubuntu9.04的menu代码
title Ubuntu 9.04
root (hd0,8)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda9 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04 (Recovery Mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda9 ro single
initrd /boot/initrd.img-2.6.28-11-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda9 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04 (Recovery Mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda9 ro single
initrd /boot/initrd.img-2.6.28-11-generic
-
- 帖子: 25
- 注册时间: 2008-09-19 22:12
Re: 求grub4dos引导ubuntu9.04的menu代码
提示bad file or directory typesmallapple 写了:title Ubuntu 9.04
root (hd0,8)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda9 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04 (Recovery Mode)
root (hd0,8)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda9 ro single
initrd /boot/initrd.img-2.6.28-11-generic
- adagio
- 论坛版主
- 帖子: 22110
- 注册时间: 2008-02-17 23:47
- 来自: 美丽富饶的那啥星球
Re: 求grub4dos引导ubuntu9.04的menu代码
别人的东西你照搬上去怎么可以?
至少把root (hd0,8)这里改成你的啊
这些都要改
至少把root (hd0,8)这里改成你的啊
代码: 全选
root (hd0,8)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda9 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……
---------------------------------------------------------------------------------
★ [图片版]新手当自强(续)FAQ
★ [新手进阶]挂载、fstab、调整linux分区
★ [图片版]E17桌面环境配置手把手
- 32idea
- 帖子: 1251
- 注册时间: 2006-12-15 9:32
- 系统: linux
Re: 求grub4dos引导ubuntu9.04的menu代码
把你UBUNTU系统里的 /boot/grub/menu.lst 中的启动项复制过来就行,或者直接就把该文件拷过来代替grub4dos的menu.lst。(需用grub4dos0.44的最新更新版)
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 求grub4dos引导ubuntu9.04的menu代码
代码: 全选
title ubuntu
find --set-root /boot/grub/menu.lst
configfile /boot/grub/menu.lst
-
- 帖子: 25
- 注册时间: 2008-09-19 22:12
Re: 求grub4dos引导ubuntu9.04的menu代码
我改成我的盘了,不行啊。
liveCD进系统 /boot/ 下没有 vmlinuz-2.6.28-11-generic
liveCD进系统 /boot/ 下没有 vmlinuz-2.6.28-11-generic
-
- 帖子: 25
- 注册时间: 2008-09-19 22:12
Re: 求grub4dos引导ubuntu9.04的menu代码
啊!有vmlinuz-2.6.28-11-generic,刚才看错了。
我把(hd0,8)这里和root=/dev/sda9这里都改成我的盘了。还是出错,Error 2: Bad file or directory type
我把(hd0,8)这里和root=/dev/sda9这里都改成我的盘了。还是出错,Error 2: Bad file or directory type
-
- 帖子: 25
- 注册时间: 2008-09-19 22:12
Re: 求grub4dos引导ubuntu9.04的menu代码
我下了个最新版的grub4dos,行了。呵呵32idea 写了:把你UBUNTU系统里的 /boot/grub/menu.lst 中的启动项复制过来就行,或者直接就把该文件拷过来代替grub4dos的menu.lst。(需用grub4dos0.44的最新更新版)
谢谢
不过中文菜单成乱码了。。。