Results 1 to 2 of 2

Thread: No grub boots straight to windows-boot info script

  1. #1
    Join Date
    Dec 2008
    Location
    Orlando, Fl
    Beans
    471
    Distro
    Kubuntu 12.10 Quantal Quetzal

    No grub boots straight to windows-boot info script

    been working this for a while. It is a new computer and I just cant figure it out. Booting straight to windows but Ubuntu is installed. Currently running live cd.

    Boot Info Script 0.60 from 17 May 2011


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

    => No known boot loader is installed in the MBR of /dev/sda.

    sda1: __________________________________________________ ________________________

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

    sda2: __________________________________________________ ________________________

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

    sda5: __________________________________________________ ________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu oneiric (development
    branch)
    Boot files: /boot/grub/grub.cfg /etc/fstab

    sda6: __________________________________________________ ________________________

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

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

    Drive: sda __________________________________________________ ___________________

    Disk /dev/sda: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes

    Partition Boot Start Sector End Sector # of Sectors Id System

    /dev/sda1 * 2,048 648,151,814 648,149,767 7 NTFS / exFAT / HPFS
    /dev/sda2 648,153,086 1,250,263,039 602,109,954 5 Extended
    /dev/sda5 648,153,088 1,242,050,559 593,897,472 83 Linux
    /dev/sda6 1,242,052,608 1,250,263,039 8,210,432 82 Linux swap / Solaris


    "blkid" output: __________________________________________________ ______________

    Device UUID TYPE LABEL

    /dev/loop0 squashfs
    /dev/sda1 7C06A05C06A01962 ntfs
    /dev/sda5 661ec4dc-b181-4c60-9c85-eabadc9f145a ext4
    /dev/sda6 f4225540-1383-42de-a0be-6727a283da8c swap

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

    Device Mount_Point Type Options

    /dev/loop0 /rofs squashfs (ro,noatime)
    /dev/sr0 /cdrom iso9660 (ro,noatime)


    =========================== 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_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 661ec4dc-b181-4c60-9c85-eabadc9f145a
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 661ec4dc-b181-4c60-9c85-eabadc9f145a
    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 ###
    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.0.0-9-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 661ec4dc-b181-4c60-9c85-eabadc9f145a
    linux /boot/vmlinuz-3.0.0-9-generic root=UUID=661ec4dc-b181-4c60-9c85-eabadc9f145a ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-3.0.0-9-generic
    }
    menuentry 'Ubuntu, with Linux 3.0.0-9-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 661ec4dc-b181-4c60-9c85-eabadc9f145a
    echo 'Loading Linux 3.0.0-9-generic ...'
    linux /boot/vmlinuz-3.0.0-9-generic root=UUID=661ec4dc-b181-4c60-9c85-eabadc9f145a ro single nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.0.0-9-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='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 661ec4dc-b181-4c60-9c85-eabadc9f145a
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 661ec4dc-b181-4c60-9c85-eabadc9f145a
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos1)'
    search --no-floppy --fs-uuid --set=root 7C06A05C06A01962
    chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###

    ### 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=661ec4dc-b181-4c60-9c85-eabadc9f145a / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda6 during installation
    UUID=f4225540-1383-42de-a0be-6727a283da8c 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.0.0-9-generic 2
    = boot/vmlinuz-3.0.0-9-generic 1
    = initrd.img 2
    = vmlinuz 1

    ======================== Unknown MBRs/Boot Sectors/etc: ========================

    Unknown MBR on /dev/sda

    00000000 e8 14 01 b9 f0 01 be 10 7c bf 10 06 57 f3 a4 c3 |........|...W...|
    00000010 8b 4e 14 83 f9 0e 75 08 8d 5e 07 43 02 07 e2 fb |.N....u..^.C....|
    00000020 8c 56 0c 8c 56 0e 75 69 8a 56 10 84 d2 79 62 e8 |.V..V.ui.V...yb.|
    00000030 f8 00 bb aa 55 cd 13 72 6f 3b 5e 5c 75 6a d1 e9 |....U..ro;^\uj..|
    00000040 73 66 b4 42 c6 46 02 01 eb 66 89 b6 f6 fe 8a 44 |sf.B.F...f.....D|
    00000050 04 84 c0 74 0f 3c 05 74 0b 3c 0f 74 07 8a 14 80 |...t.<.t.<.t....|
    00000060 e2 80 75 cb 83 c6 10 06 c4 5c 08 89 5e 08 8c 46 |..u......\..^..F|
    00000070 0a 07 fe 8e f9 fe 75 d2 b0 31 c6 46 d5 50 88 46 |......u..1.F.P.F|
    00000080 d2 be 68 07 ac 84 c0 74 08 b4 0e b3 07 cd 10 eb |..h....t........|
    00000090 f3 e8 83 00 88 46 11 be ae 07 3c 05 75 c6 cd 16 |.....F....<.u...|
    000000a0 33 d2 89 56 08 89 56 0a e8 7f 00 72 1d b8 01 02 |3..V..V....r....|
    000000b0 bf 05 00 8b dc 56 50 50 52 32 e4 cd 13 5a 58 8b |.....VPPR2...ZX.|
    000000c0 f5 cd 13 58 5e 73 03 4f 75 e9 b0 32 72 b0 40 8a |...X^s.Ou..2r.@.|
    000000d0 66 11 9e 7b 04 c6 47 02 0e 72 35 75 0c 88 57 40 |f..{..G..r5u..W@|
    000000e0 c4 4e 08 89 4f 1c 8c 47 1e 79 06 8a 4e 12 88 4f |.N..O..G.y..N..O|
    000000f0 25 80 c7 02 81 7f fe 55 aa 75 83 81 7f fa cd 19 |%......U.u......|
    00000100 75 09 c6 47 fa e9 c7 47 fb 94 88 e8 1c 00 ff e4 |u..G...G........|
    00000110 74 ce 88 57 24 eb c9 5d 33 c0 8e d8 8e c0 8e d0 |t..W$..]3.......|
    00000120 bc 00 7c 55 bd a2 07 fc fb c3 b4 08 52 06 cd 13 |..|U........R...|
    00000130 07 72 2f 33 db 8a de 8b 46 0a 33 d2 83 e1 3f f7 |.r/3....F.3...?.|
    00000140 f1 91 97 8b 46 08 f7 f7 42 87 ca 3b da 72 13 43 |....F...B..;.r.C|
    00000150 f7 f3 8a f2 86 c5 d1 e8 d1 e8 0a c8 d0 cc d0 cc |................|
    00000160 0a f4 b4 41 5b 8a d3 c3 0d 0a 4d 42 52 20 45 72 |...A[.....MBR Er|
    00000170 72 6f 72 20 00 0d 0a 00 72 65 73 73 20 61 6e 79 |ror ....ress any|
    00000180 20 6b 65 79 20 74 6f 20 62 6f 6f 74 20 66 72 6f | key to boot fro|
    00000190 6d 20 66 6c 6f 70 70 79 2e 2e 2e 00 00 00 00 00 |m floppy........|
    000001a0 00 00 10 00 01 00 00 7c 00 00 00 00 00 00 00 00 |.......|........|
    000001b0 00 00 00 00 00 00 00 00 35 4b 4e d3 00 00 80 20 |........5KN.... |
    000001c0 21 00 07 fe ff ff 00 08 00 00 07 fb a1 26 00 fe |!............&..|
    000001d0 ff ff 05 fe ff ff fe 07 a2 26 02 78 e3 23 00 00 |.........&.x.#..|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
    00000200


    =============================== 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

  2. #2
    Join Date
    Oct 2009
    Beans
    2,199
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: No grub boots straight to windows-boot info script

    Hi. There is no Grub boot code in your MBR.
    From the CD run
    Code:
    sudo mount /dev/sda5 /mnt
    sudo grub-install --root-directory=/mnt /dev/sda
    ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0

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
  •