fixed continual reboot, got w7 back, but now UB 'gone'

Asked by Phil Kliewer

See my question #120578 for the 'beginning' of this problem

I was able to fix the continual rebooting problem and get windows 7 back [booting fine], by using this wonderful method
http://robert.penz.name/221/mini-howto-restore-windows-mbrbootloader-with-linux/
and the live-usb netbook remix on my flashdrive, but now can''t get the boot menu option that was put there when I installed UB netbook remix (what is that boot choice thingie called anyway?), and thus am not offered the choice to boot into w7 or UB when i want to, even though I'm certain UB is still there on a partition. I'm kinda nervous about trying to 'retrieve' it, since it took plenty of sweat to get w7 back from the grave, without a physical recovery disk!

Any tips to get the dual boot back?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Phil Kliewer
Solved:
Last query:
Last reply:
Revision history for this message
Delan Azabani (azabani) said :
#1

The boot menu, or boot loader, is called Grub.

You can try this (sorry about the heavy terminal use, this is the way I know):

1. Boot from the Netbook Edition live USB
2. Open a terminal
3. Type:

sudo -i
grub-install /dev/sda
update-grub

4. Now, press Control+D twice to log out from root and close the terminal

That installed Grub again, and hopefully detected Windows partition in the process.

Revision history for this message
Greg Beam (ki7mt) said :
#2

Hi Phil,

Glad you have Win7 back in working order. I wasn't aware of the method mentioned on Robert Penz Blog, TNX for posting that.

Let us know how this latest attempt works out for you.

KE1HA

Revision history for this message
Phil Kliewer (hayoumissed) said :
#3

After I type the line

grub-install /dev/sda

 I get

/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?)
no path or device is specificed

(there are more lines...)

Revision history for this message
Phil Kliewer (hayoumissed) said :
#4