Results 1 to 3 of 3

Thread: Grub loads but no cigar

  1. #1
    Join Date
    Jun 2011
    Beans
    9

    Grub loads but no cigar

    I'm on an HP Mini 311, when I hold shift at startup, grub loads, and then the OS choices show up. The only OS I have installed is Ubuntu 10.04, but there is also recovery mode and memtest in the options. When I select 10.04, I get the blinking cursor of death, and when I choose it in recovery mode, I get a bunch of code then the cursor of death. Memtest loads fine, Ubuntu loads well from the live USB. Also, here is my boot info:

    Code:
                      Boot Info Script 0.61      [1 April 2012]
    
    
    ============================= Boot Info Summary: ===============================
    
     => Grub2 (v1.97-1.98) 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 1 for /boot/grub.
     => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
    
    sda1: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 10.04 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    sda2: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sdb1: __________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  SYSLINUX 4.06 2012-10-23
        Boot sector info:  Syslinux looks at sector 7846 of /dev/sdb1 for its 
                           second stage. SYSLINUX is installed in the  directory. 
                           No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /syslinux/syslinux.cfg /ldlinux.sys
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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   307,335,167   307,333,120  83 Linux
    /dev/sda2         307,337,214   312,580,095     5,242,882   5 Extended
    /dev/sda5         307,337,216   312,580,095     5,242,880  82 Linux swap / Solaris
    
    
    Drive: sdb _____________________________________________________________________
    
    Disk /dev/sdb: 1027 MB, 1027604480 bytes
    16 heads, 32 sectors/track, 3920 cylinders, total 2007040 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/sdb1    *             32     2,007,039     2,007,008   c W95 FAT32 (LBA)
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/loop0                                              squashfs   
    /dev/sda1        0e4c2c9e-1837-4997-9fb8-b91e999178d5   ext4       
    /dev/sda5        2d503c1d-1426-4e91-8274-50da136789fb   swap       
    /dev/sdb1        160A-1E41                              vfat       PENDRIVE
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    /dev/sdb1        /cdrom                   vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    
    
    =========================== sda1/boot/grub/grub.cfg: ===========================
    
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/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
      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
    }
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 0e4c2c9e-1837-4997-9fb8-b91e999178d5
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 0e4c2c9e-1837-4997-9fb8-b91e999178d5
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    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
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 0e4c2c9e-1837-4997-9fb8-b91e999178d5
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=0e4c2c9e-1837-4997-9fb8-b91e999178d5 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 0e4c2c9e-1837-4997-9fb8-b91e999178d5
        echo    'Loading Linux 2.6.32-21-generic ...'
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=0e4c2c9e-1837-4997-9fb8-b91e999178d5 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-21-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 0e4c2c9e-1837-4997-9fb8-b91e999178d5
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 0e4c2c9e-1837-4997-9fb8-b91e999178d5
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -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/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 ###
    --------------------------------------------------------------------------------
    
    =============================== sda1/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/sda1 during installation
    UUID=0e4c2c9e-1837-4997-9fb8-b91e999178d5 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=2d503c1d-1426-4e91-8274-50da136789fb none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda1: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
      36.145824432 = 38.811283456   boot/grub/core.img                             1
      12.205093384 = 13.105119232   boot/grub/grub.cfg                             1
      36.153247833 = 38.819254272   boot/initrd.img-2.6.32-21-generic              1
      36.132167816 = 38.796619776   boot/vmlinuz-2.6.32-21-generic                 1
      36.153247833 = 38.819254272   initrd.img                                     1
      36.132167816 = 38.796619776   vmlinuz                                        1
    
    ========================= sdb1/syslinux/syslinux.cfg: ==========================
    
    --------------------------------------------------------------------------------
    include menu.cfg
    default vesamenu.c32
    prompt 0
    timeout 50
    gfxboot bootlogo
    --------------------------------------------------------------------------------
    
    ================= sdb1: Location of files loaded by Syslinux: ==================
    
               GiB - GB             File                                 Fragment(s)
    
                ?? = ??             ldlinux.sys                                    1
                ?? = ??             syslinux/menu.c32                              1
                ?? = ??             syslinux/syslinux.cfg                          1
                ?? = ??             syslinux/vesamenu.c32                          1
    
    ============== sdb1: Version of COM32(R) files used by Syslinux: ===============
    
     syslinux/menu.c32                  :  COM32R module (v4.xx)
     syslinux/vesamenu.c32              :  COM32R module (v4.xx)
    Is there maybe a command or something I can enter fix grub to fix this problem?

  2. #2
    Join Date
    Jun 2011
    Beans
    9

    Re: Grub loads but no cigar

    bump please help

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

    Re: Grub loads but no cigar

    If you get a grub menu, then you have booted thru grub and boot script does not really help.

    Have you tried nomodeset or any other boot parameters?
    What video do you have?

    How to set NOMODESET and other kernel boot options in grub2
    http://ubuntuforums.org/showthread.php?t=1613132
    https://help.ubuntu.com/community/BootOptions

    When booting without splash or quiet & see the drivers being loaded, do you see any obvious errors. Where it stops is not usually the issue often checking battery whether you have one or not, but some driver not loading earlier in the process.
    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.

Tags for this Thread

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
  •