Can't boot on Windows 7 after upgrading to Ubuntu 14.04 on seperate partition.

Asked by Noel

After installing Ubuntu 12.04.01 on a seperate partition along side Windows 7 I upgraded to Ubuntu 14.04. After the upgrade I do not get the boot menue with the choice of booting on either Ubuntu or Windows. The system boots directly to Ubuntu. My partition and Windows is still there but I can't find a way to boot it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Please boot into Ubuntu and issue the following terminal commands

uname -a
lsb_release -a
sudo update-grub

then select all output and copy/paste into this question document.

Revision history for this message
Noel (megaped) said :
#2

noel@noel-Aspire-X1430G:~$ uname -a
Linux noel-Aspire-X1430G 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
noel@noel-Aspire-X1430G:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
noel@noel-Aspire-X1430G:~$ sudo update-grub
[sudo] password for noel:

Revision history for this message
Noel (megaped) said :
#3

Sorry, Im new at this and forgot to enter my password the first time.

noel@noel-Aspire-X1430G:~$ uname -a
Linux noel-Aspire-X1430G 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
noel@noel-Aspire-X1430G:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
noel@noel-Aspire-X1430G:~$ sudo update-grub
[sudo] password for noel:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found linux image: /boot/vmlinuz-3.8.0-44-generic
Found initrd image: /boot/initrd.img-3.8.0-44-generic
Found linux image: /boot/vmlinuz-3.8.0-29-generic
Found initrd image: /boot/initrd.img-3.8.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-67-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-67-generic-pae
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
done
noel@noel-Aspire-X1430G:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Sorry, I did not explain in detail.

Please issue the terminal command

sudo update-grub

You will be asked for your password (as confirmation for an administrative action); please enter it (you will not see anything when typing the password, no echo, not even '*' placeholders).

Finally that command should produce some lines of output. Please copy/paste that output into this question document as already done with the output of the other commands.

Revision history for this message
Noel (megaped) said :
#5

I figured that out at about the same time you sent further instructions. As I said, I'm new at this and will probably need your patients. I am thankful for your willingness to help.

Revision history for this message
Noel (megaped) said :
#6

noel@noel-Aspire-X1430G:~$ uname -a
Linux noel-Aspire-X1430G 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
noel@noel-Aspire-X1430G:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
noel@noel-Aspire-X1430G:~$ sudo update-grub
[sudo] password for noel:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found linux image: /boot/vmlinuz-3.8.0-44-generic
Found initrd image: /boot/initrd.img-3.8.0-44-generic
Found linux image: /boot/vmlinuz-3.8.0-29-generic
Found initrd image: /boot/initrd.img-3.8.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-67-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-67-generic-pae
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
done
noel@noel-Aspire-X1430G:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Open a terminal and issue the command

sudo gedit /etc/default/grub

This should ask for your password as confirmation of an administrative action and then will open an editor with the grub configuration file loaded.

Scroll down about five or six lines and add/remove '#' characters at the beginning of the next lines that it looks similar to this:

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTION=...
etc.

Then save the file and close the editor.

As a last step re-issue the command
sudo update-grub

Revision history for this message
Noel (megaped) said :
#8

I don't see any "#" characters on those lines. Copied below is what I see:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#9

sudo apt-get --purge remove linux-image-3.2.0-67-generic-pae linux-image-3.8.0-29-generic linux-image-3.8.0-44-generic

sudo apt-get --purge autoremove

Will clear up the old kernels. May help

Revision history for this message
Noel (megaped) said :
#10

Thanks actionparsnip, that solved my question.

Revision history for this message
Noel (megaped) said :
#11

Thank You!