Author Topic: Ubuntu dual boot - grub menu won't show  (Read 1039 times)

Basically today I installed Ubuntu 12.04 alongside windows now that I have a 2TB HDD. However, upon installing and restarting the grub menu did not show. What did though, was checkdisk. After the disk was checked and nothing broken was found, it proceeded the booting of windows. I tried several times, and the grub menu still did not show. I don't know if this is relevant, but when I rebooted the machine after installation I had a modified boot.ini file to have multiple windows boot options, one of them having a /3G flag. So I can't boot into ubuntu. Help!

Install EasyBCD and create a menu entry for GRUB2, or boot into your LiveCD and reinstall GRUB2.

Install EasyBCD and create a menu entry for GRUB2, or boot into your LiveCD and reinstall GRUB2.
/quote]

I'l try reinstalling grub through console


how do i reinstall grub2? I'm booted in ubuntu liveCD right now.

grub-install /dev/sdx#
where x# is your block device that you have ubuntu installed to

grub-install /dev/sdx#
where x# is your block device that you have ubuntu installed to

ubuntu@ubuntu:~$ sudo grub-install /dev/sdb5
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).


exact list of commands i used after breaking grub intentionally:
sudo su - This is optional, you could just use sudo infront of the first two commands.
mount /dev/sdb5 /mnt
chroot /mnt
grub-install /dev/sdb
^C
^C

I had a similar problem 2 weeks ago, when I created a disk partition with some third-party tool instead of using the default Windows one.
That program replaced the boot loader while restarting (to create the partition), and didn't restore it afterwards.
I had Windows 7 and Linux Mint installed with GRUB, and on startup, GRUB went into recovery mode. There was no way I could restore the configuration. To make matters worse, booting off of a live CD never qorked , even though I had set the BIOS to use the optical drive first.
So I ended up having to say, "forget the data", and do a clean installation with Windows 8 (I managed to have a copy on hand
d). Although the data and partitions were still there, I simply could not recover it, so I just over-wrote everything.
So never use a third-party disk tool.

exact list of commands i used after breaking grub intentionally:
sudo su - This is optional, you could just use sudo infront of the first two commands.
mount /dev/sdb5 /mnt
chroot /mnt
grub-install /dev/sdb
^C
^C


it still gives me the same error, asking if /dev is mounted.

You're doing something wrong. I've done this give or take 8 times because of Windows breaking everything.