[Ilugc] Re: GRUB error 18! Please help!

  • From: siraajudeeen@xxxxxxxxx (siraj m)
  • Date: Thu Jun 12 10:51:18 2008

Hi All

I have a problem.

My system specs are P III Celeron 900MHz,256 MB RAM, 80 GB HDD on

Primary master, 40 GB on Primary slave, DVD ROM-Secondary slave,

DVD-Writer Secondary master.

In 80 GB Primary master, Win XP and Debian 4.0 are installed in
separate partitions (hda1,5,6,7 for windows, hda8 for debian).
In 40 GB Primary slave windows accessible partitions were there
and in hdb7, earlier mandrake was there and Ubuntu 7.04 was installed
later and the GRUB of Ubuntu (installed in MBR of first HDD)took care

of all the 3 OS's and I was happily booting into all the 3 OS's at

will.

Then I installed/upgraded Ubuntu 7.10 and then 8.04 also in the second

Hard disk. But the GRUB displyed GRUB error 18 and I was unable to boot

into Ubuntu.
I googled and all were suggesting a small /boot partiton in a place

accessible to GRUB and all. I thought all that problem went out the

window with LILO! And all the while while using Ubuntu 7.04, no

complaint of GRUB error 18 was seen! This came to the fore only on

upgradation of Ubuntu! Is it because GRUB is in such a bad condition

that once it is installed in MBR of first HDD that it is not able to

boot OS in second HDD? If so what magic was there earlier that it

booted older ubuntu?
Can anybody help? Pointers please?

NS Srikanth
-----------------------------------------------------------------------
Learn from others' mistakes. Your lifetime is not enough to commit all
of them yourself and learn from them!


Hi,

  Check whether this set of commands helps you in any way.

1. Boot the Desktop/Live CD.

2. Open a terminal (Applications -> Accessories -> Terminal)

3. As root run the following commands:

    sudo grub

    grub> find /boot/grub/stage1 # Note down the output. It will be like
(hd0,0)

    grub> root (hd1,0) #Hit the <Enter> key

    grub> setup (hd1) #Hit <Enter> key

    grub> quit #Hit <Enter> key, quits grub


5. Reboot (to hard drive).Grub should be installed properly and you should
be able to continue with your ubuntu

Cheers!
Siraj.

Other related posts: