Results 1 to 3 of 3

Thread: No Dual Boot load option after installing ubuntu

  1. #1
    Join Date
    Oct 2013
    Beans
    1

    No Dual Boot load option after installing ubuntu

    Hi guys,
    First thank you for taking the time to read.
    Im fairly new to the Linux installing process. Ive installed linux succesfully but now I have no way of getting into my windows partition. When I boot up I get no option to select which OS. Seeing as information helps more than my idiocy, I've used a bootinfoscript to generate this:
    Any help to be able to select which OS to boot would be appreciated!

    Thanks in advance!

    Code:
    Boot Info Script 0.61      [1 April 2012]
    
    
    ============================= Boot Info Summary: ===============================
    
     => No boot loader is installed in the MBR of /dev/sda.
    
    sda1: __________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  Windows 7: FAT32
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /efi/Boot/bootx64.efi /efi/ubuntu/grubx64.efi 
                           /efi/ubuntu/shimx64.efi
    
    sda2: __________________________________________________________________________
    
        File system:       
        Boot sector type:  -
        Boot sector info: 
        Mounting failed:   mount: unknown filesystem type ''
    
    sda3: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /Windows/System32/winload.exe
    
    sda4: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 12.04.3 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT
    
    
    GUID Partition Table detected.
    
    Partition    Start Sector    End Sector  # of Sectors System
    /dev/sda1           2,048       206,847       204,800 EFI System partition
    /dev/sda2         206,848       468,991       262,144 Microsoft Reserved Partition (Windows)
    /dev/sda3         468,992 1,534,093,311 1,533,624,320 Data partition (Windows/Linux)
    /dev/sda4   1,534,093,312 1,538,093,055     3,999,744 Swap partition (Linux)
    /dev/sda5   1,538,093,056 1,953,523,711   415,430,656 Data partition (Windows/Linux)
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda1        145E-0A38                              vfat       
    /dev/sda3        2890604490601A98                       ntfs       
    /dev/sda4        eee53ff3-d4ad-4cc1-950e-70fb4108ac8b   swap       
    /dev/sda5        20382bec-d6ef-45e0-8150-69fceb083906   ext4       
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda1        /boot/efi                vfat       (rw)
    /dev/sda5        /                        ext4       (rw,errors=remount-ro)
    
    
    =========================== sda5/boot/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
    set default="0"
    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 {
      insmod efi_gop
      insmod efi_uga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt5)'
    search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      insmod part_gpt
      insmod ext2
      set root='(hd0,gpt5)'
      search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
      set locale_dir=($root)/boot/grub/locale
      set lang=en_US
      insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    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; 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
    if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
    menuentry 'Ubuntu, with Linux 3.8.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt5)'
        search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
        linux    /boot/vmlinuz-3.8.0-31-generic.efi.signed root=UUID=20382bec-d6ef-45e0-8150-69fceb083906 ro   quiet splash $vt_handoff
        initrd    /boot/initrd.img-3.8.0-31-generic
    }
    menuentry 'Ubuntu, with Linux 3.8.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt5)'
        search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
        echo    'Loading Linux 3.8.0-31-generic ...'
        linux    /boot/vmlinuz-3.8.0-31-generic.efi.signed root=UUID=20382bec-d6ef-45e0-8150-69fceb083906 ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-3.8.0-31-generic
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 3.8.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt5)'
        search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
        linux    /boot/vmlinuz-3.8.0-29-generic root=UUID=20382bec-d6ef-45e0-8150-69fceb083906 ro   quiet splash $vt_handoff
        initrd    /boot/initrd.img-3.8.0-29-generic
    }
    menuentry 'Ubuntu, with Linux 3.8.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt5)'
        search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
        echo    'Loading Linux 3.8.0-29-generic ...'
        linux    /boot/vmlinuz-3.8.0-29-generic root=UUID=20382bec-d6ef-45e0-8150-69fceb083906 ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-3.8.0-29-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_gpt
        insmod ext2
        set root='(hd0,gpt5)'
        search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod part_gpt
        insmod ext2
        set root='(hd0,gpt5)'
        search --no-floppy --fs-uuid --set=root 20382bec-d6ef-45e0-8150-69fceb083906
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ "x${timeout}" != "x-1" ]; then
      if keystatus; then
        if keystatus --shift; then
          set timeout=-1
        else
          set timeout=0
        fi
      else
        if sleep --interruptible 3 ; then
          set timeout=0
        fi
      fi
    fi
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    menuentry 'System setup' {
        fwsetup
    }
    ### 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  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------
    
    =============================== sda5/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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda5 during installation
    UUID=20382bec-d6ef-45e0-8150-69fceb083906 /               ext4    errors=remount-ro 0       1
    # /boot/efi was on /dev/sda1 during installation
    UUID=145E-0A38  /boot/efi       vfat    defaults        0       1
    # swap was on /dev/sda4 during installation
    UUID=eee53ff3-d4ad-4cc1-950e-70fb4108ac8b none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda5: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
                   =                boot/grub/grub.cfg                             1
                   =                boot/initrd.img-3.8.0-29-generic               2
                   =                boot/initrd.img-3.8.0-31-generic               1
                   =                boot/vmlinuz-3.8.0-29-generic                  1
                   =                boot/vmlinuz-3.8.0-31-generic                  1
                   =                boot/vmlinuz-3.8.0-31-generic.efi.signed       1
                   =                initrd.img                                     2
                   =                initrd.img.old                                 2
                   =                vmlinuz                                        1
    
    =============================== StdErr Messages: ===============================
    
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    awk: cmd. line:36: Math support is not compiled in
    Last edited by oldfred; October 6th, 2013 at 05:01 AM. Reason: Added code tags (# in Advanced edit menu)

  2. #2
    Join Date
    Jan 2009
    Location
    Belgium (Ghent)
    Beans
    481
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: No Dual Boot load option after installing ubuntu

    I see in the file above some strange things so:
    Can you boot Ubuntu?
    When you can after login and open a terminal and type:
    Code:
    fdisk -l
    put the output here.

    ThanX
    Dutch speaking; understand English, writing is a bit difficult. Member of: http://forum.ubuntu-nl.org
    be Open be Free be Ubuntu Reg. User #485479
    Ubuntu 13.10 Saucy Salamander - Ubuntu 14.04 Trusty Tahr

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: No Dual Boot load option after installing ubuntu

    Welcome to the forums.
    Added code tags. Please use Code tags on long text or terminal output.

    Did you erase efi partition before installing Ubuntu? The very first versions of grub with UEFI support did that but it was fixed a long time ago.

    Each system installs boot files in a folder in the efi partition. You have the ubuntu folder but now the Windows folder is missing and you have no Windows boot files.
    You should have this to boot Windows and in Ubuntu it is mounted at /boot/efi:
    /EFI/Microsoft/Boot/bootmgfw.efi


    Windows UEFI install should have backup of bootmgfw.efi here:
    C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.
    But it also needs BCD file and has some other misc support files. You will need a Windows repair to fix boot loader.


    Did you create a Windows 8 repair flash drive before installing?

    Windows 8 UEFI repair USB must be FAT32
    http://www.eightforums.com/tutorials...ndows-8-a.html
    http://social.msdn.microsoft.com/For...-166dddf32205/
    http://www.ghacks.net/2012/11/01/how...m-repair-disc/
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •