reinstalling GRUB

Asked by Benfrid

Hi, my brother had introduced my to kubuntu world...
I have intalled it already.
Now the grub of hi notebook is not loading anymore.
The computer send him directly to windows xp boot.

So he cant access to kubuntu's partition (hda2-ext3, hda4-swap)
He has the live-CD.
We are very new in Linux.
So if there any answer, thanks a lot!!!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu kdebase Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jim Hutchinson (jphutch) said :
#1

Sounds like you might need to reinstall grub to the MBR. Try this.

   1. Boot the live CD
   2. Open a terminal (applications -> accessories -> terminal)
   3. Type
          * sudo grub
   4. Type
          * find /boot/grub/stage1
   5. That should return something like (HD0,3). Make note of what is returned. This is the location of the GRUB files.
   6. Type
          * root (HD0,3) or whatever was returned
   7. Type
          * setup (HD0)
   8. Do not type (HD0,3) on the setup line. That will not put GRUB on the master boot record (MBR) of the drive so it will not be seen by the BIOS when booting the computer. In order for GRUB to work correctly, it has to be installed to the MBR.

Can you help with this problem?

Provide an answer of your own, or ask Benfrid for more information if necessary.

To post a message you must log in.