PDA

View Full Version : [ubuntu] grub


blindman4556
April 30th, 2008, 01:03 AM
i just installed ubuntu hardy, and when i boot my pc all it says is GRUB in the top left corner, i sat and waited and nothing...so the only way i can boot ubuntu is to put in live cd and in the options choose boot from first hard disk....how would i fix it so i dont have to deal with the live cd

hermes0710
April 30th, 2008, 04:52 AM
i just installed ubuntu hardy, and when i boot my pc all it says is GRUB in the top left corner, i sat and waited and nothing...so the only way i can boot ubuntu is to put in live cd and in the options choose boot from first hard disk....how would i fix it so i dont have to deal with the live cd

Boot to your ubuntu system the way you do so far (from live cd) and when you log in open a terminal and run sudo grub

Then find in which drive the grub is installed:
find /boot/grub/stage1

Let's suppose it says "hd(a,b)"

Then type
root (hda,b)
setup (hda)
quit

Replace a, b accordingly to the results of the "find" command

blindman4556
April 30th, 2008, 03:23 PM
that made it work, but now i get grub error 17

hermes0710
April 30th, 2008, 04:31 PM
Check this out and if it doesn't help come back and give more details on which phase exactly you have the error prompted.

http://ubuntuforums.org/showthread.php?t=442945