PDA

View Full Version : [ubuntu] Grub Error 5



dominion_vortar
June 25th, 2008, 07:20 PM
I have done a clean install of Ubuntu 8.04 with no other OS's on the Hard Drive and I get the error

GRUB Loading stage1.5

GRUB loading, please wait...
Error 5

what can i do to fix this please?
thanks very much for your help,
john

earthmeLon
June 25th, 2008, 08:09 PM
Sounds similar to a problem I had when I upgraded to Hardy.
What I had to do was fix the /boot/grub/menu.lst. I opened the file and wrote down what DRIVE and what LOCATION menu.lst was telling Ubuntu to load from.



title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=asdfasdfnasdfakdasfkajsdf ro
initrd /boot/initrd.img-2.6.24-16-generic
quiet


I've highlited the parts that were wrong on mine. First of all, the kernel changed, but the menu.lst didnt update, so I had to find the right file name, and then after that didn't work, I realized my HDD was wrong.

hd0,1
If I remember correctly hd0 = sda/hda & hd1 = sdb/hdb
and the number after it is the partition. So with this example it's the SECOND partition on the FIRST drive.

Hope this helps :D

Pumalite
June 25th, 2008, 09:39 PM
Your partition table may be invalid or corrupt:
http://users.bigpond.net.au/hermanzone/p15.htm#5_