WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
头像
xhm303665445
帖子: 46
注册时间: 2009-05-05 23:15
送出感谢: 0
接收感谢: 0
联系:

WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#1

帖子 xhm303665445 » 2011-03-10 13:03

重装WIN7之后修复GRUB时出现如下错误请问怎么解决?

代码: 全选

root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3 --force
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
Installation finished. No error reported.
头像
宇宙卡门
帖子: 70
注册时间: 2009-12-13 21:11
来自: 湖南湘潭
送出感谢: 0
接收感谢: 1 次

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#2

帖子 宇宙卡门 » 2011-03-10 13:08

xhm303665445 写了:重装WIN7之后修复GRUB时出现如下错误请问怎么解决?

代码: 全选

root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3 --force
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
Installation finished. No error reported.
你不是解决了吗,重启试一下
我喜欢你,很久了。等你,也很久了。现在,我要离开,比很久很久还要久
我问,怎样才能让一个人知道你在想他?
你说,心里不停地默念他的名字,他就能感受到。
可我一直在心底重复着你的名字,你却一直没有音信。
我问,当你在等一个人的短信时,你是会调成静音模式还是户外模式?
你说,静音。这样,发现短信来到的时候就会充满惊喜。
于是我调了静音,于是我马上就后悔。
我一直在看手机,每一次屏幕亮起的瞬间,我的一颗心就也跟着亮了起来,这感觉,那样美好,那样心碎。
也许,你并不知道我在等你。
头像
xhm303665445
帖子: 46
注册时间: 2009-05-05 23:15
送出感谢: 0
接收感谢: 0
联系:

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#3

帖子 xhm303665445 » 2011-03-10 13:12

宇宙卡门 写了:
xhm303665445 写了:重装WIN7之后修复GRUB时出现如下错误请问怎么解决?

代码: 全选

root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3 --force
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
Installation finished. No error reported.
你不是解决了吗,重启试一下
没有引导 直接进的WIN7
之前装了一次 成功了 但是 没有找到 GRUB命令行的操作 找朋友帮忙 装的greb4dos 结果发现和win7的激活有冲突 于是又重装了WIN7 现在回去重装GRUB 就这么悲剧了~
头像
xhm303665445
帖子: 46
注册时间: 2009-05-05 23:15
送出感谢: 0
接收感谢: 0
联系:

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#4

帖子 xhm303665445 » 2011-03-10 13:14

宇宙卡门 写了:
xhm303665445 写了:重装WIN7之后修复GRUB时出现如下错误请问怎么解决?

代码: 全选

root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3 --force
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
Installation finished. No error reported.
你不是解决了吗,重启试一下
虽然已经是 NO ERROE REPORTED 但是 应该是装错区了 但是 这个明显就是linux的主引导区啊~没别的分区了 难道是我装错区了?
头像
xhm303665445
帖子: 46
注册时间: 2009-05-05 23:15
送出感谢: 0
接收感谢: 0
联系:

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#5

帖子 xhm303665445 » 2011-03-10 13:16

再问一个 如果确实装错区了 怎么删掉呢?
头像
xhm303665445
帖子: 46
注册时间: 2009-05-05 23:15
送出感谢: 0
接收感谢: 0
联系:

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#6

帖子 xhm303665445 » 2011-03-10 14:43

果断的安错分区了,新的问题,在update-grub之后系统还是进入GRUB的命令行~
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53
送出感谢: 0
接收感谢: 108 次

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#7

帖子 onshoestring » 2011-03-10 14:43

因为grub未安装到mbr,自然直接进win7,
sda3是不是/boot所在分区?是,要用grob4dos引导。

代码: 全选

title Ubuntu
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot

代码: 全选

title title Ubuntu
rootnoverify (hd0,2)
makeactive
chainloader +1
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53
送出感谢: 0
接收感谢: 108 次

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#8

帖子 onshoestring » 2011-03-10 14:57

如果win7是软破解,和grub4dos就会冲突,这时要用smallapple置顶贴改过的g4d引导。
头像
xhm303665445
帖子: 46
注册时间: 2009-05-05 23:15
送出感谢: 0
接收感谢: 0
联系:

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#9

帖子 xhm303665445 » 2011-03-11 8:07

确定是安装错分区了~分区有点乱~
只是有一点想问

代码: 全选

root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sda3 --force
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and its use is discouraged..
Installation finished. No error reported.
这样不是强制装载了SDA3上吗?但是应该是安装在SDA9上的这个SDA3上的还在吗?可以删除吗?
现在已经进入UBUNTU了~
回来我总结一下吧~
头像
onshoestring
论坛版主
帖子: 4666
注册时间: 2009-09-06 5:53
送出感谢: 0
接收感谢: 108 次

Re: WIN7+UBUNTU10.04 都是64位系统 重装WIN7后的问题

#10

帖子 onshoestring » 2011-03-11 9:26

不影响使用不必理会,ntfs,fat分区,用fixboot,bootrec /fixboot命令重写。ext分区不太清楚。
回复

回到 “启动和引导”