2

I have 2 HDs in my machine:

  • Drive 1 with grub and my Windows XP OS
  • Drive 2 with only Ubuntu 9.04

I would like to be able to boot directly from drive 2. I am missing grub on drive 2... how do I add it?

EDIT: I ended up reinstalling the whole OS.

1 Answer 1

3

you must use Live ubuntu and boot your system with it or boot your system with ubuntu on your first drive. then install your second grub:

$ sudo grub

This will return a location. If you have more than one, select the installation that you want to provide the grub files. Next, THIS IS IMPORTANT, whatever was returned for the find command use it in the next line (you are still at grub>. when you enter the next 3 commands)

grub> find /boot/grub/stage1

Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1)

grub> root (hd?,?)

grub> setup (hd0)

grub> quit
3
  • I tried that already but the system still does not boot... maybe grub isn't the only thing missing...
    – jldupont
    Sep 22, 2009 at 0:59
  • 2
    You'll also need to configure your system BIOS to boot from the second drive. Default is the first drive
    – EmmEff
    Sep 22, 2009 at 1:13
  • @EmmEff: I also did that already but I still only get the blinking cursor at the top left-hand corner...
    – jldupont
    Sep 22, 2009 at 1:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .