grub求救!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- relaaxx
- 帖子: 121
- 注册时间: 2007-05-20 14:07
Re: grub求救!
是修改menu.lst吧,而非stagecjtbaobei 写了:系统启动,到grub1.5后出现error 15 file not found ,在网上找了好多资料仍然无法解决问题。在用光盘启动后找不到/usr/grub/中的stage1..该怎么解决啊!
-
- 帖子: 6
- 注册时间: 2007-06-13 11:31
Re: grub求救!
请问在哪里修改menu.lst呀?我是个新手,网上说的好多命令什么的都不知道该怎么用,在哪里用:(relaaxx 写了:是修改menu.lst吧,而非stagecjtbaobei 写了:系统启动,到grub1.5后出现error 15 file not found ,在网上找了好多资料仍然无法解决问题。在用光盘启动后找不到/usr/grub/中的stage1..该怎么解决啊!
- xiehuoli
- 帖子: 5941
- 注册时间: 2006-06-10 8:43
- 来自: 中国 CS
-
- 帖子: 6
- 注册时间: 2007-06-13 11:31
ls是说grub>这样的界面吗?我可以到那里,也可以执行:
grub>root (hd0,0)
grub>setup (hd0)
Checking if "/boot/grub/stage1" exits...no
Checking if "/grub/stage1" exits...no
Error 15: File not found
或者运行:
grub>find /boot/
Error 15: File not found
/*************************************************/
在命令行:
root@ubuntu:~#中输入命令:
root@ubuntu:~#cd /boot
root@ubuntu:/boot#ls
abi 2.6.17-10-generic memtest86+.bin
config-2.6.17.10-generic System.map-2.6.17-10-generic
initrd.img-2.6.17-10-generic vmlinuz-2.6.17-10-generic
不明白该怎么做,请问有谁可以帮帮我哈
/*************************************************/
还有一个问题,我是在这里下载的安装程序,版本是6.10,安装盘里没有linux rescue这里选项,只有:1 从光盘启动并安装 2 从安全模式启动 。。。5从硬盘启动 (不好意思,我的英文不是很好,大概就是这几个意思,反正就是没有急救模式)。
grub>root (hd0,0)
grub>setup (hd0)
Checking if "/boot/grub/stage1" exits...no
Checking if "/grub/stage1" exits...no
Error 15: File not found
或者运行:
grub>find /boot/
Error 15: File not found
/*************************************************/
在命令行:
root@ubuntu:~#中输入命令:
root@ubuntu:~#cd /boot
root@ubuntu:/boot#ls
abi 2.6.17-10-generic memtest86+.bin
config-2.6.17.10-generic System.map-2.6.17-10-generic
initrd.img-2.6.17-10-generic vmlinuz-2.6.17-10-generic
不明白该怎么做,请问有谁可以帮帮我哈
/*************************************************/
还有一个问题,我是在这里下载的安装程序,版本是6.10,安装盘里没有linux rescue这里选项,只有:1 从光盘启动并安装 2 从安全模式启动 。。。5从硬盘启动 (不好意思,我的英文不是很好,大概就是这几个意思,反正就是没有急救模式)。
- relaaxx
- 帖子: 121
- 注册时间: 2007-05-20 14:07
安装光盘启动,进入/boot/grub 贴上你的menu.lst上来看看 或者重新建一个cjtbaobei 写了:ls是说grub>这样的界面吗?我可以到那里,也可以执行:
grub>root (hd0,0)
grub>setup (hd0)
Checking if "/boot/grub/stage1" exits...no
Checking if "/grub/stage1" exits...no
Error 15: File not found
或者运行:
grub>find /boot/
Error 15: File not found
/*************************************************/
在命令行:
root@ubuntu:~#中输入命令:
root@ubuntu:~#cd /boot
root@ubuntu:/boot#ls
abi 2.6.17-10-generic memtest86+.bin
config-2.6.17.10-generic System.map-2.6.17-10-generic
initrd.img-2.6.17-10-generic vmlinuz-2.6.17-10-generic
不明白该怎么做,请问有谁可以帮帮我哈
/*************************************************/
还有一个问题,我是在这里下载的安装程序,版本是6.10,安装盘里没有linux rescue这里选项,只有:1 从光盘启动并安装 2 从安全模式启动 。。。5从硬盘启动 (不好意思,我的英文不是很好,大概就是这几个意思,反正就是没有急救模式)。
-
- 帖子: 6
- 注册时间: 2007-06-13 11:31
- xiehuoli
- 帖子: 5941
- 注册时间: 2006-06-10 8:43
- 来自: 中国 CS
-
- 帖子: 6
- 注册时间: 2007-06-13 11:31
我按照网上说的重新安装grub,但是到
root@ubuntu~ # grub-install /dev/hda
Could not find device for /boot: Not found or not a block device
或者我执行:
root@ubuntu~ # grub-install --root-directory=/boot /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
Could not find device for /boot/boot: Not found or not a block device
这里的问题该如何解决啊?
root@ubuntu~ # grub-install /dev/hda
Could not find device for /boot: Not found or not a block device
或者我执行:
root@ubuntu~ # grub-install --root-directory=/boot /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
Could not find device for /boot/boot: Not found or not a block device
这里的问题该如何解决啊?
-
- 帖子: 6
- 注册时间: 2007-06-13 11:31
上面的问题已经解决,但是又出现新的问题,在重新启动的时候进入了grub>界面
输入:
grub>kernel (hd0,0)/boot/vmlinuz root=/dev/hda1
Error 15 : File not found
在命令行查询文件:
root@ubuntu ~ # cd /boot
root@ubuntu ~/boot# ls
显示的里面没有vmlinuz,但是在/目录下
root@ubuntu ~ # cd /
root@ubuntu ~ /# ls
boot vmlinuz lib mnt root home ...
而当我回到grub界面时输入:
grub>kernel (hd0,0)/vmlinuz root=/dev/hda1
Error 15 : File not found
到现在为止不知道为什么,明明那里有vmlinuz ,而又说文件不存在呢?
输入:
grub>kernel (hd0,0)/boot/vmlinuz root=/dev/hda1
Error 15 : File not found
在命令行查询文件:
root@ubuntu ~ # cd /boot
root@ubuntu ~/boot# ls
显示的里面没有vmlinuz,但是在/目录下
root@ubuntu ~ # cd /
root@ubuntu ~ /# ls
boot vmlinuz lib mnt root home ...
而当我回到grub界面时输入:
grub>kernel (hd0,0)/vmlinuz root=/dev/hda1
Error 15 : File not found
到现在为止不知道为什么,明明那里有vmlinuz ,而又说文件不存在呢?