救助,用grub4dos无法引导ubuntu10.04

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
uufoly
帖子: 5
注册时间: 2009-01-23 18:00

救助,用grub4dos无法引导ubuntu10.04

#1

帖子 uufoly » 2010-05-13 13:14

windows7 引导菜单里可以进去grub4dos
ubuntu就给了它两分区,一个是/分区,ext4格式,还有一个是Swap分区 hd(0,10)是ubuntu /分区所在在的分区。

我的menu.lst,代码如下
title Ubuntu 10.04
root (hd0,10)
kernel (hd0,10)/vmlinuz root=/dev/sda11 ro quiet splash
initrd initrd.img
quiet

然后进入grub4dos启动ubuntu显示
filesystem type is ext2fs, partition type 0x83

无法引导

不知道哪里写错了 希望能得到帮助~~~
上次由 uufoly 在 2010-05-14 13:28,总共编辑 1 次。
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53

Re: 救助,用grub4dos无法引导ubuntu10.04

#2

帖子 onshoestring » 2010-05-13 13:19

title Ubuntu 10.04
find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
kernel /boot/grub/core.img
boot
换成这个试试,不行的话,换比较新的grub4dos。
http://nufans.net/grub4dos/grub4dos-0.4 ... -10-16.zip
头像
mjp123
帖子: 702
注册时间: 2009-04-09 15:06

Re: 救助,用grub4dos无法引导ubuntu10.04

#3

帖子 mjp123 » 2010-05-13 15:05

代码: 全选

root    (hd0,10) 
kernel	/boot/vmlinuz-2.6.xx-xx-generic root=/dev/sda11  ro locale=zh_CN vga=789 quiet splash
initrd	/boot/initrd.img-2.6.xx-xx-generic
quiet
头像
czjl
帖子: 765
注册时间: 2008-07-28 10:02

Re: 救助,用grub4dos无法引导ubuntu10.04

#4

帖子 czjl » 2010-05-13 15:48

没有交代清楚:
1:grub2装了没有?装在哪里?
2:WIN7是正版的吗?

否则难以得到最准确的回复。
hi001
帖子: 38
注册时间: 2007-07-18 12:23

Re: 救助,用grub4dos无法引导ubuntu10.04

#5

帖子 hi001 » 2010-05-14 9:14

title Ubuntu 10.04
root (hd0,10)
kernel (hd0,10)/vmlinuz root=/dev/sda11 ro quiet splash
initrd initrd.img
quiet
filesystem type is ext2fs, partition type 0x83
vmlinuz和initrd.img 放在哪全分区,root(hdx,y)是你放这两个文件的分区,(hd0,10)应该你分给ubuntu的/分区。windows分区格式是NTFS或是FAT32等,不是
type is ext2fs
把menu.lst改过来就行了。
uufoly
帖子: 5
注册时间: 2009-01-23 18:00

Re: 救助,用grub4dos无法引导ubuntu10.04

#6

帖子 uufoly » 2010-05-14 13:04

czjl 写了:没有交代清楚:
1:grub2装了没有?装在哪里?
2:WIN7是正版的吗?

否则难以得到最准确的回复。

grub2就是装系统里在高级选项里面那个吗?这个没有装,因为装了就变成有grub2来引导所有系统,我想用windows来引导就没有装了
win7是oem版旗舰版 装完直接激活那种算是正版吗
uufoly
帖子: 5
注册时间: 2009-01-23 18:00

Re: 救助,用grub4dos无法引导ubuntu10.04

#7

帖子 uufoly » 2010-05-14 13:34

hi001 写了:
title Ubuntu 10.04
root (hd0,10)
kernel (hd0,10)/vmlinuz root=/dev/sda11 ro quiet splash
initrd initrd.img
quiet
filesystem type is ext2fs, partition type 0x83
vmlinuz和initrd.img 放在哪全分区,root(hdx,y)是你放这两个文件的分区,(hd0,10)应该你分给ubuntu的/分区。windows分区格式是NTFS或是FAT32等,不是
type is ext2fs
把menu.lst改过来就行了。

hd(0,10)是ubuntu /分区所在在的分区。所有这点应该没错
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 救助,用grub4dos无法引导ubuntu10.04

#8

帖子 smallapple » 2010-05-14 21:10

initrd /initrd.img
uufoly
帖子: 5
注册时间: 2009-01-23 18:00

Re: 救助,用grub4dos无法引导ubuntu10.04

#9

帖子 uufoly » 2010-05-15 22:59

smallapple 写了:initrd /initrd.img
用了你的方法可以了 谢谢呀
回复