WINDOWS系统重装,进不了UBUNTU,怎么引导?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
coffeexiang
帖子: 7
注册时间: 2005-12-14 18:55

WINDOWS系统重装,进不了UBUNTU,怎么引导?

#1

帖子 coffeexiang » 2006-03-01 22:28

我的电脑是WINDOWS和UBUNTU双系统,一天win系统故障,不得已重装,但是装后进入不了UBUNTU,怎么办?怎么进行引导?请各位大侠指教!!
头像
oliver
帖子: 775
注册时间: 2005-10-05 11:31
联系:

#2

帖子 oliver » 2006-03-02 8:24

进入ubuntu live cd
然后在终端里头输入

代码: 全选

sudo grub
然后确定包含grub引导文件夹的分区

代码: 全选

grub> root (hd0,0)
如果你不能够确定哪个分区包含grub目录,用如下命令查找:

代码: 全选

     grub> find /boot/grub/stage1
最后安装grub:

代码: 全选

     grub> setup (hd0)
grub将会被安装在第一个驱动器的主引导记录。

下面是英文的供参考:

Once started, GRUB will show the command-line interface (see Command-line interface). First, set the GRUB's root device1 to the partition containing the boot directory, like this:

grub> root (hd0,0)

If you are not sure which partition actually holds this directory, use the command find (see find), like this:

grub> find /boot/grub/stage1

This will search for the file name /boot/grub/stage1 and show the devices which contain the file.

Once you've set the root device correctly, run the command setup (see setup):

grub> setup (hd0)

This command will install the GRUB boot loader on the Master Boot Record (MBR) of the first drive. I
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#3

帖子 firehare » 2006-03-02 8:52

oliver 写了: 然后确定包含grub引导文件夹的分区

代码: 全选

grub> root (hd0,0)
讲得很到位,上面这句是唯一要注意的地方,hd0 就相当于 hda,0则是第一个分区,这个分区就是包含 /boot 的分区,如果是第5个分区,那么就是(hd0,4)了!
我心无畏,源自于我心无知。
图片
coffeexiang
帖子: 7
注册时间: 2005-12-14 18:55

#4

帖子 coffeexiang » 2006-03-02 11:11

谢谢各位!我现在就试试!!
coffeexiang
帖子: 7
注册时间: 2005-12-14 18:55

#5

帖子 coffeexiang » 2006-03-02 11:39

好了,成功了.再次感谢!!!我也学到了不少知识!
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

#6

帖子 ct » 2006-03-02 12:36

原来可以这样啊,好
ikey
帖子: 155
注册时间: 2005-10-09 15:25

#7

帖子 ikey » 2006-03-02 20:49

我没有live cd怎么办啊?
头像
oliver
帖子: 775
注册时间: 2005-10-05 11:31
联系:

#8

帖子 oliver » 2006-03-03 8:24

新手指南里头的方案不需要live cd,但是我没有试过,你可以参考着试一下 。
ikey 写了:我没有live cd怎么办啊?
duyamin1985
帖子: 12
注册时间: 2006-02-23 23:51

我刚遇到这个问题

#9

帖子 duyamin1985 » 2006-03-04 0:52

:lol: :wink:
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

#10

帖子 ct » 2006-03-04 5:45

在win下弄个grldr
有了grub命令行以后手动输入然后进去,类似于硬盘安装
进去后在开grub搞就行了。

今天装了daily cd,grub装不上,搞了一下
yoshubom
帖子: 233
注册时间: 2005-12-28 16:23

#11

帖子 yoshubom » 2006-04-07 22:50

ct 写了:在win下弄个grldr
有了grub命令行以后手动输入然后进去,类似于硬盘安装
进去后在开grub搞就行了。

今天装了daily cd,grub装不上,搞了一下
能不能在说详细一点?
jefferson
帖子: 239
注册时间: 2006-04-01 10:11

#12

帖子 jefferson » 2006-04-08 7:59

看附件
把这2个都放到xp所在的盘,boot.ini修改成你自己的。
附件
grub.rar
(68.24 KiB) 已下载 100 次
yoshubom
帖子: 233
注册时间: 2005-12-28 16:23

#13

帖子 yoshubom » 2006-04-08 8:12

是不是在C盘的boot.ini加上一句c:\grldr="GRUB"。

但是之后我就不知道如何做了。硬盘安装是找启动内核,但是装好的系统的内核在哪里呢?例如我装在了(hd09)这个分区。

关键是启动grub之后的命令我不知道呀。再给讲讲吧 :)
jefferson
帖子: 239
注册时间: 2006-04-01 10:11

#14

帖子 jefferson » 2006-04-08 9:28

进入grub之后,按c ,进入命令行一样的界面

grub>root (hd0,8)
grub>setup (hd0)
yoshubom
帖子: 233
注册时间: 2005-12-28 16:23

#15

帖子 yoshubom » 2006-04-08 13:04

jefferson 写了:进入grub之后,按c ,进入命令行一样的界面

grub>root (hd0,8)
grub>setup (hd0)
屏蔽了表情符号看得清楚点。呵呵
回复