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.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
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