Ubuntu 11.04 doesn't boot after being installed

Asked by Andrey

Hello , I have a problem with booting Ubuntu 11.04 . I only have a windows 7 on my hard drive. I already had Ubuntu going along with windows 7 before , and I never had a problems of that kind. Here what I happened:

1) Downloaded the .iso file of 11.04 version from Ubuntu website
2) Burnt it to a DVD disk
3) Rebooted computer with the DVD inside of it
4) Waited till the window with languages choices and 2 buttons ( Try Now and Install Now ) would appear
5) Clicked Install Now
6) Filled all the info while the installing was in process
7) When the installation finished it prompted me to remove the DVD and to click Enter to reboot the computer
8) I've done it
9) And the Windows 7 just started by itself , no boot menu appears

10) I looked into few posts here and I've that people suggested to go to Computer>Proprieties>Advanced System Settings>Startup and Recovery(Settings) and check if there is a timeout for the boot menu ... The thing that I didn't understand was that I only had the Windows 7 in my system options... Ubuntu took the space out of my hard drive but didn't actually appeared in there ..

Does anybody had the same problem or knows how to fix it? Thanks , I'd really appreciate your help =)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

Try reinstalling the GRUB2 boot loader to the Master Boot Record--that usually fixes this problem.
http://www.webtechquery.com/index.php/2010/04/install-grub2-from-live-cd/

Revision history for this message
Andrey (kolandrey) said :
#2

It stopped me when i tryed to mount it , here :

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x086adf58

   Device Boot Start End Blocks Id System
/dev/sda1 1 1305 10473472 27 Unknown
/dev/sda2 * 1305 1317 102400 7 HPFS/NTFS
/dev/sda3 1317 41170 320118253+ 7 HPFS/NTFS
/dev/sda4 41170 60802 157689857 5 Extended
/dev/sda5 41170 60323 153843712 83 Linux
/dev/sda6 60323 60802 3845120 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
mount: /dev/sda5 already mounted or /mnt busy
mount: according to mtab, /dev/sda5 is already mounted on /mnt
ubuntu@ubuntu:~$ sudo mount –bind /dev /mnt/dev
Usage: mount -V : print version
       mount -h : print this help
       mount : list mounted filesystems
       mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ... : mount all stuff from /etc/fstab
       mount device : mount device at the known place
       mount directory : mount known device here
       mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo mount –bind /proc /mnt/proc
Usage: mount -V : print version
       mount -h : print this help
       mount : list mounted filesystems
       mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ... : mount all stuff from /etc/fstab
       mount device : mount device at the known place
       mount directory : mount known device here
       mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
root@ubuntu:/#

Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#3

When you are entering commands, some commands take options. Short options typically start with a singe dash. Long options typically start with doubled dashes. In both cases, they are regular dashes; that is, a doubled dash is just two dashes.

Single dash: -
Doubled dash: --

Under no circumstances should you use wide dashes, such as the en-dash (–) or em-dash (—), to indicate options.

The --bind option of the mount command starts with two regular dashes (--).

So first, type

exit

and press enter. Do this again. The Terminal window should close. Then follow the instructions again, and use the correct dashes.

Revision history for this message
Andrey (kolandrey) said :
#4

Thank you alot =p Everything worked fine.

Revision history for this message
Andrey (kolandrey) said :
#5

Thanks Eliah Kagan, that solved my question.