分页: 1 / 2
WINDOWS系统重装,进不了UBUNTU,怎么引导?
发表于 : 2006-03-01 22:28
由 coffeexiang
我的电脑是WINDOWS和UBUNTU双系统,一天win系统故障,不得已重装,但是装后进入不了UBUNTU,怎么办?怎么进行引导?请各位大侠指教!!
发表于 : 2006-03-02 8:24
由 oliver
进入ubuntu live cd
然后在终端里头输入
然后确定包含grub引导文件夹的分区
如果你不能够确定哪个分区包含grub目录,用如下命令查找:
代码: 全选
grub> find /boot/grub/stage1
最后安装grub:
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
发表于 : 2006-03-02 8:52
由 firehare
oliver 写了:
然后确定包含grub引导文件夹的分区
讲得很到位,上面这句是唯一要注意的地方,hd0 就相当于 hda,0则是第一个分区,这个分区就是包含 /boot 的分区,如果是第5个分区,那么就是(hd0,4)了!
发表于 : 2006-03-02 11:11
由 coffeexiang
谢谢各位!我现在就试试!!
发表于 : 2006-03-02 11:39
由 coffeexiang
好了,成功了.再次感谢!!!我也学到了不少知识!
发表于 : 2006-03-02 12:36
由 ct
原来可以这样啊,好
发表于 : 2006-03-02 20:49
由 ikey
我没有live cd怎么办啊?
发表于 : 2006-03-03 8:24
由 oliver
新手指南里头的方案不需要live cd,但是我没有试过,你可以参考着试一下 。
ikey 写了:我没有live cd怎么办啊?
我刚遇到这个问题
发表于 : 2006-03-04 0:52
由 duyamin1985
发表于 : 2006-03-04 5:45
由 ct
在win下弄个grldr
有了grub命令行以后手动输入然后进去,类似于硬盘安装
进去后在开grub搞就行了。
今天装了daily cd,grub装不上,搞了一下
发表于 : 2006-04-07 22:50
由 yoshubom
ct 写了:在win下弄个grldr
有了grub命令行以后手动输入然后进去,类似于硬盘安装
进去后在开grub搞就行了。
今天装了daily cd,grub装不上,搞了一下
能不能在说详细一点?
发表于 : 2006-04-08 7:59
由 jefferson
看附件
把这2个都放到xp所在的盘,boot.ini修改成你自己的。
发表于 : 2006-04-08 8:12
由 yoshubom
是不是在C盘的boot.ini加上一句c:\grldr="GRUB"。
但是之后我就不知道如何做了。硬盘安装是找启动内核,但是装好的系统的内核在哪里呢?例如我装在了(hd09)这个分区。
关键是启动grub之后的命令我不知道呀。再给讲讲吧

发表于 : 2006-04-08 9:28
由 jefferson
进入grub之后,按c ,进入命令行一样的界面
grub>root (hd0,8)
grub>setup (hd0)
发表于 : 2006-04-08 13:04
由 yoshubom
jefferson 写了:进入grub之后,按c ,进入命令行一样的界面
grub>root (hd0,8)
grub>setup (hd0)
屏蔽了表情符号看得清楚点。呵呵