Results 1 to 3 of 3

Thread: Ubuntu 11.04 installed OK and now will not boot up

  1. #1
    Join Date
    Jul 2011
    Beans
    2

    Ubuntu 11.04 installed OK and now will not boot up

    The original installation went fine and worked OK for 2 weeks.
    I added a third user and it crashed, leaving a distorted locked screen.
    Now it will not boot up at all - just the disk information and the hardware setup screens from the machine but no grub screens or operating system load.
    I have booted from a live cd which enables me to see all the files on the hard drive in both windows 7 and ubuntu partitions so the problem seems to be the booting.

    This is the output from boot_info_script.sh from the file RESULTS.TXT

    Can anyone help with commands to restore the booting (GRUB?)

    RESULTS.txt

    Boot Info Script 0.60 from 17 May 2011


    ============================= 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
    for (,msdos5)/boot/grub on this drive.

    sda1: __________________________________________________ ________________________

    File system: ntfs
    Boot sector type: Windows Vista/7
    Boot sector info: 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
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe

    sda3: __________________________________________________ ________________________

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

    sda4: __________________________________________________ ________________________

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

    sda5: __________________________________________________ ________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 11.04
    Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

    sda6: __________________________________________________ ________________________

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

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

    Drive: sda __________________________________________________ ___________________

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 206,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda2 206,848 196,552,440 196,345,593 7 NTFS / exFAT / HPFS
    /dev/sda3 600,293,376 625,139,711 24,846,336 7 NTFS / exFAT / HPFS
    /dev/sda4 196,552,702 600,293,375 403,740,674 5 Extended
    /dev/sda5 196,552,704 592,431,103 395,878,400 83 Linux
    /dev/sda6 592,433,152 600,293,375 7,860,224 82 Linux swap / Solaris


    "blkid" output: __________________________________________________ ______________

    Device UUID TYPE LABEL

    /dev/loop0 squashfs
    /dev/sda1 C458C14758C13946 ntfs SYSTEM
    /dev/sda2 6858C8E058C8AE5E ntfs COMPAQ
    /dev/sda3 86D8BD85D8BD7451 ntfs FACTORY_IMAGE
    /dev/sda5 19a74d1a-da8c-437d-add9-5d6bd8fb7af8 ext4
    /dev/sda6 7a56a4c0-4aea-4111-ad9a-8b3b36c24bb2 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 vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    }

    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    fi
    terminal_output gfxterm
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    set locale_dir=($root)/boot/grub/locale
    set lang=en_GB
    insmod gettext
    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 2.6.38-11-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    linux /boot/vmlinuz-2.6.38-11-generic-pae root=UUID=19a74d1a-da8c-437d-add9-5d6bd8fb7af8 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.38-11-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.38-11-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    echo 'Loading Linux 2.6.38-11-generic-pae ...'
    linux /boot/vmlinuz-2.6.38-11-generic-pae root=UUID=19a74d1a-da8c-437d-add9-5d6bd8fb7af8 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.38-11-generic-pae
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 2.6.38-10-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    linux /boot/vmlinuz-2.6.38-10-generic-pae root=UUID=19a74d1a-da8c-437d-add9-5d6bd8fb7af8 ro quiet splash vt.handoff=7
    initrd /boot/initrd.img-2.6.38-10-generic-pae
    }
    menuentry 'Ubuntu, with Linux 2.6.38-10-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod part_msdos
    insmod ext2
    set root='(/dev/sda,msdos5)'
    search --no-floppy --fs-uuid --set=root 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    echo 'Loading Linux 2.6.38-10-generic-pae ...'
    linux /boot/vmlinuz-2.6.38-10-generic-pae root=UUID=19a74d1a-da8c-437d-add9-5d6bd8fb7af8 ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.38-10-generic-pae
    }
    }
    ### 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 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    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 19a74d1a-da8c-437d-add9-5d6bd8fb7af8
    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 C458C14758C13946
    chainloader +1
    }
    menuentry "Windows Recovery Environment (loader) (on /dev/sda3)" --class windows --class os {
    insmod part_msdos
    insmod ntfs
    set root='(/dev/sda,msdos3)'
    search --no-floppy --fs-uuid --set=root 86D8BD85D8BD7451
    drivemap -s (hd0) ${root}
    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 -o value -s UUID' 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=19a74d1a-da8c-437d-add9-5d6bd8fb7af8 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda6 during installation
    UUID=7a56a4c0-4aea-4111-ad9a-8b3b36c24bb2 none swap sw 0 0
    --------------------------------------------------------------------------------

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

    GiB - GB File Fragment(s)

    171.861576080 = 184.534962176 boot/grub/core.img 1
    271.908046722 = 291.959042048 boot/grub/grub.cfg 1
    96.004882812 = 103.084457984 boot/initrd.img-2.6.38-10-generic-pae 2
    96.352771759 = 103.458000896 boot/initrd.img-2.6.38-11-generic-pae 2
    94.520938873 = 101.491085312 boot/vmlinuz-2.6.38-10-generic-pae 1
    272.825626373 = 292.944285696 boot/vmlinuz-2.6.38-11-generic-pae 1
    96.352771759 = 103.458000896 initrd.img 2
    96.004882812 = 103.084457984 initrd.img.old 2
    272.825626373 = 292.944285696 vmlinuz 1
    94.520938873 = 101.491085312 vmlinuz.old 1

    ========= Devices which don't seem to have a corresponding hard drive: =========

    sdb

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

    unlzma: Decoder error

  2. #2
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 11.04 installed OK and now will not boot up

    This looks wrong.
    => 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
    for (,msdos5)/boot/grub on this drive.
    Sector 1 is obviously not the right place to look for files which are on /dev/sda5. Try reinstalling Grub from the live cd.
    https://help.ubuntu.com/community/Gr...alling%20GRUB2

    If the GUI tool works, good, and if not (too many options there), following are the commands to use:
    Code:
    sudo mount /dev/sda5 /mnt
    
    sudo grub-install --root-directory=/mnt /dev/sda

  3. #3
    Join Date
    Jul 2011
    Beans
    2

    Re: Ubuntu 11.04 installed OK and now will not boot up

    Thank you. I used the link to boot-repair and it fixed it on the first pass. Many thanks for your help.

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
  •