can't boot from grub
发表于 : 2007-11-07 23:30
i install ubuntu7.10 using livecd amd64
at beginning,i can boot to ubunyu from grub,bbut after several days,it can't.
the grub menu exist there,when i click the ubuntu to root,it display as follows:
error 17,can't mount selected partition,
i use livecd to rescue it as follows:
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd0,8)
grub> root (hd0,8)
root (hd0,8)
grub> root (hd0,8)
root (hd0,8)
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,8)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
the first time ,suceed,but the next day,it happend again,i do the resuse again ,in the terminal has the same suceed message,but this time can't boot ubuntu from grub,
ps:i can boot windows from grub
why?
help!!
at beginning,i can boot to ubunyu from grub,bbut after several days,it can't.
the grub menu exist there,when i click the ubuntu to root,it display as follows:
error 17,can't mount selected partition,
i use livecd to rescue it as follows:
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd0,8)
grub> root (hd0,8)
root (hd0,8)
grub> root (hd0,8)
root (hd0,8)
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,8)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
the first time ,suceed,but the next day,it happend again,i do the resuse again ,in the terminal has the same suceed message,but this time can't boot ubuntu from grub,
ps:i can boot windows from grub
why?
help!!