LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-06-2016, 10:58 AM   #1
nitinm
Member
 
Registered: Jul 2016
Posts: 31

Rep: Reputation: Disabled
Unhappy cannot boot to windows returning back to grub


hi

I am having dual boot system, i have windows 8 as well as ubuntu 15.10 installed into my system but i am unable to boot to windows. When the grub comes up and i press enter on the windows option ti gets me back to the grub menu again. i had runned the boot info script and here is my output.



Boot Info Script 0.61 [1 April 2012]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 114 for .

sda1: __________________________________________________________________________

File system: ntfs
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda1
and looks at sector 945969986 of the same hard drive
for core.img. core.img is at this location and looks
in partition 114 for . No errors found in the Boot
Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe

sda3: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

sda4: __________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg

sda6: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda7: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sda8: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 15.10
Boot files: /etc/fstab

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 1,767,423 1,765,376 7 NTFS / exFAT / HPFS
/dev/sda2 1,767,424 736,100,351 734,332,928 7 NTFS / exFAT / HPFS
/dev/sda3 736,100,352 945,815,551 209,715,200 7 NTFS / exFAT / HPFS
/dev/sda4 945,817,598 1,368,672,255 422,854,658 5 Extended
/dev/sda5 945,817,600 946,794,495 976,896 83 Linux
/dev/sda6 946,796,544 978,044,927 31,248,384 82 Linux swap / Solaris
/dev/sda7 978,046,976 1,173,358,591 195,311,616 83 Linux
/dev/sda8 1,173,360,640 1,368,672,255 195,311,616 83 Linux


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 A26CC4716CC441B1 ntfs System Reserved
/dev/sda2 DC58D8FF58D8D8FA ntfs
/dev/sda3 801E2DFB1E2DEB3C ntfs New Volume
/dev/sda5 2461da91-e88d-47d4-b69d-34e8ecc1aed8 ext4
/dev/sda6 e2eacca2-925b-476d-8535-353495c5c686 swap
/dev/sda7 c3c5b8c5-8046-493d-a00d-b0adab305b00 ext4
/dev/sda8 59b61caf-9ec5-4ea4-a3cc-8120b44a9020 ext4

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda5 /boot ext4 (rw,relatime,stripe=4,data=ordered)
/dev/sda7 /home ext4 (rw,relatime,data=ordered)
/dev/sda8 / ext4 (rw,relatime,errors=remount-ro,data=ordered)


============================= sda5/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="4"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 59b61caf-9ec5-4ea4-a3cc-8120b44a9020
else
search --no-floppy --fs-uuid --set=root 59b61caf-9ec5-4ea4-a3cc-8120b44a9020
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_IN
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-59b61caf-9ec5-4ea4-a3cc-8120b44a9020' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2461da91-e88d-47d4-b69d-34e8ecc1aed8
else
search --no-floppy --fs-uuid --set=root 2461da91-e88d-47d4-b69d-34e8ecc1aed8
fi
linux /vmlinuz-4.2.0-16-generic root=UUID=59b61caf-9ec5-4ea4-a3cc-8120b44a9020 ro quiet splash $vt_handoff
initrd /initrd.img-4.2.0-16-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-59b61caf-9ec5-4ea4-a3cc-8120b44a9020' {
menuentry 'Ubuntu, with Linux 4.2.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-16-generic-advanced-59b61caf-9ec5-4ea4-a3cc-8120b44a9020' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2461da91-e88d-47d4-b69d-34e8ecc1aed8
else
search --no-floppy --fs-uuid --set=root 2461da91-e88d-47d4-b69d-34e8ecc1aed8
fi
echo 'Loading Linux 4.2.0-16-generic ...'
linux /vmlinuz-4.2.0-16-generic root=UUID=59b61caf-9ec5-4ea4-a3cc-8120b44a9020 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.2.0-16-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-16-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-16-generic-init-upstart-59b61caf-9ec5-4ea4-a3cc-8120b44a9020' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2461da91-e88d-47d4-b69d-34e8ecc1aed8
else
search --no-floppy --fs-uuid --set=root 2461da91-e88d-47d4-b69d-34e8ecc1aed8
fi
echo 'Loading Linux 4.2.0-16-generic ...'
linux /vmlinuz-4.2.0-16-generic root=UUID=59b61caf-9ec5-4ea4-a3cc-8120b44a9020 ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.2.0-16-generic
}
menuentry 'Ubuntu, with Linux 4.2.0-16-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-16-generic-recovery-59b61caf-9ec5-4ea4-a3cc-8120b44a9020' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2461da91-e88d-47d4-b69d-34e8ecc1aed8
else
search --no-floppy --fs-uuid --set=root 2461da91-e88d-47d4-b69d-34e8ecc1aed8
fi
echo 'Loading Linux 4.2.0-16-generic ...'
linux /vmlinuz-4.2.0-16-generic root=UUID=59b61caf-9ec5-4ea4-a3cc-8120b44a9020 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.2.0-16-generic
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2461da91-e88d-47d4-b69d-34e8ecc1aed8
else
search --no-floppy --fs-uuid --set=root 2461da91-e88d-47d4-b69d-34e8ecc1aed8
fi
knetbsd /memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 2461da91-e88d-47d4-b69d-34e8ecc1aed8
else
search --no-floppy --fs-uuid --set=root 2461da91-e88d-47d4-b69d-34e8ecc1aed8
fi
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-A26CC4716CC441B1' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 A26CC4716CC441B1
else
search --no-floppy --fs-uuid --set=root A26CC4716CC441B1
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda5: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)


=============================== sda8/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda8 during installation
UUID=59b61caf-9ec5-4ea4-a3cc-8120b44a9020 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=2461da91-e88d-47d4-b69d-34e8ecc1aed8 /boot ext4 defaults 0 2
# /home was on /dev/sda7 during installation
UUID=c3c5b8c5-8046-493d-a00d-b0adab305b00 /home ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=e2eacca2-925b-476d-8535-353495c5c686 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda8: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-B1Uv31hG/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-B1Uv31hG/Tmp_Log: No such file or directory
 
Old 08-06-2016, 06:56 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Code:
sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda1 
                       and looks at sector 945969986 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       in partition 114 for . No errors found in the Boot 
                       Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD
I have highlighted the problem. It would appear you re-installed grub in your efforts. You will need the Win8 recovery disk to fix this - your Win8 system and data should be ok, but you need to restore the boot code for it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB boot fails returning "Error 15: File not found" on Centos 6.3 LittleMaster Linux - Server 2 05-24-2013 04:01 AM
Reinstalled Windows, have grub, need UBUNTU back! Ryupower Ubuntu 23 06-16-2008 05:47 PM
going back to grub after boot?? Person_1873 Linux - Software 5 02-10-2008 10:43 PM
XP won't boot, loops back to GRUB: dual-boot XP and Ubuntu dan2010 Linux - Newbie 4 08-08-2007 12:09 PM
Grub boot loader back up? slackass SUSE / openSUSE 2 12-16-2006 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration