how to fix grub.error 17?

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

how to fix grub.error 17?

#1

帖子 hackem » 2009-11-20 11:38

I upgraded to 9.10 a few weeks ago. after that, my box was running slower then before.
and pitfall is somehow full of log file in /var/log folder. so I have to cd /var/log && rm * rf (rm * is very very bad habit)

today I startup my computer, it say something like "filesystem check field" and run into a maintain-shell. so I stupid just fsck /var. it prompt me something and I just always y.......
restart, it appearer.
---
grub loading, please wait....
error 17
----

so I use my 8.04 livecd .
sudo grub
-----
grub> find /boot/grub/stage1
find /boot/grub/stage1

Error 15: File not found
------


Device Boot Start End Blocks Id System
/dev/sda1 * 1 3650 29318593+ 83 Linux
/dev/sda2 3651 6082 19535040 83 Linux
/dev/sda3 6083 9729 29294527+ 5 Extended
/dev/sda5 6083 7662 12691318+ 83 Linux
/dev/sda6 7663 9486 14651248+ 83 Linux
/dev/sda7 9487 9729 1951866 82 Linux swap / Solaris
ubuntu@ubuntu:~$


---------
any thought here would be appreciated... very appreciated..
sorry ,I can't chinese .
ubuntu是个好东西
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: how to fix grub.error 17?

#2

帖子 smallapple » 2009-11-20 11:58

If /boot partition is separated, please try
sudo grub
grub>find /grub/stage1
.....


or you use 9.04 livecd and try.
头像
hackem
帖子: 258
注册时间: 2006-10-19 21:42
来自: inside
联系:

Re: how to fix grub.error 17?

#3

帖子 hackem » 2009-11-20 12:13

grub> find /grub/stage1
find /grub/stage1

Error 15: File not found
========
doesn't work .
I wonder if I delete the /boot partition......... :(
whatever I type , it just didn't match anything.
ubuntu是个好东西
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: how to fix grub.error 17?

#4

帖子 smallapple » 2009-11-20 12:45

You can mount the /boot partition or root partition and check the files if exist or not.
If all files exist, try 9.04 livecd.
头像
hackem
帖子: 258
注册时间: 2006-10-19 21:42
来自: inside
联系:

Re: how to fix grub.error 17?

#5

帖子 hackem » 2009-11-20 13:26

ubuntu@ubuntu:/media$ sudo mkdir bb
ubuntu@ubuntu:/media$ sudo mount /dev/sda1 /media/bb
mount: you must specify the filesystem type
ubuntu@ubuntu:/media$ sudo mount -t ext3 /dev/sda1 /media/bb
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

------------
actually, I doing so.
but doesn't know the type
ubuntu是个好东西
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: how to fix grub.error 17?

#6

帖子 smallapple » 2009-11-20 15:15

What is the original installed system? 8.04 or 9.04?
The fs type is ext3 or ext4?
回复