Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 44

Thread: Grub2 doesn't boot either OS

  1. #11
    Join Date
    Jun 2010
    Beans
    27

    Re: Grub2 doesn't boot either OS

    Thanks, that may actually apply to me as well. Can't I just delete the Dell Utility partition?

  2. #12
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Grub2 doesn't boot either OS

    Quote Originally Posted by Quikj View Post
    Thanks, that may actually apply to me as well. Can't I just delete the Dell Utility partition?
    Can you boot into windows? if you can find the dell data save and delete it then we will reinstall grub with this link from a live Ubuntu cd.
    https://help.ubuntu.com/community/Gr...ing%20GRUB%202

    Do not delete the dell partition!!!!!
    Last edited by wilee-nilee; June 15th, 2010 at 08:23 AM.





  3. #13
    Join Date
    Jun 2010
    Beans
    27

    Re: Grub2 doesn't boot either OS

    I cannot boot into Windows at all. I won't delete the Dell Partition. Thanks for clearing that up. I reformatted my hard drive after Windows wouldn't boot about a month ago and didn't install Dell Data Safe, because it was one of their updates that crashed my system in the first place. Would it still be on my system?

  4. #14
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Grub2 doesn't boot either OS

    Quote Originally Posted by Quikj View Post
    I cannot boot into Windows at all. I won't delete the Dell Partition. Thanks for clearing that up. I reformatted my hard drive after Windows wouldn't boot about a month ago and didn't install Dell Data Safe, because it was one of their updates that crashed my system in the first place. Would it still be on my system?
    If you installed a backup of the original OEM probably we wont know without looking. You have no bootloader in the script for sda have you done any fixes since running the script? If so so run the script again so we can see exactly whats going on.

    But if you can get windows to boot with supergrub look for that dell program in add remove. I'm not sure if supergrub will boot W7 without any bootloader in the MBR=sda.

    Do you have a regular install or recovery dvd for W7?





  5. #15
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Grub2 doesn't boot either OS

    Just before you give up on booting from grub rescue prompt, do you want to give this a try. This is directly from drs305's post (section #15)
    http://ubuntuforums.org/showthread.php?t=1195275

    Hopefully the first command below should list your /boot directory. If so, try these, if not, alter (hd0,5) to another partition and try it.
    Code:
    ls (hd0,5)/
    search -f /vmlinuz
    set prefix=(hd0,5)/boot/grub
    set root=(hd0,5)
    ls /boot
    insmod (hd0,5)/boot/grub/linux.mod
    linux /vmlinuz root=/dev/sda5 ro
    initrd /initrd.img
    boot
    If you boot in, run "sudo update-grub"

    Edit: The second command will give you the location where vmlinuz is located, which I am guessing is (hd0,5). If not change the commands appropriately.
    Last edited by john newbuntu; June 15th, 2010 at 09:03 AM.

  6. #16
    Join Date
    Jun 2010
    Beans
    27

    Re: Grub2 doesn't boot either OS

    I just downloaded and burned a Win7 Repair CD.

    Here are the results from running the script:

    Code:
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #5 for /media/lucid/boot/grub.
    
    sda1: _________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  Fat16
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /COMMAND.COM
    
    sda2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   /bootmgr /Boot/BCD
    
    sda3: _________________________________________________________________________
    
        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/dirs:   /Windows/System32/winload.exe
    
    sda4: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sda5: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04 LTS
        Boot files/dirs:   /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: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63        80,324        80,262  de Dell Utility
    /dev/sda2              81,920    30,801,919    30,720,000   7 HPFS/NTFS
    /dev/sda3          30,801,920   429,819,413   399,017,494   7 HPFS/NTFS
    /dev/sda4         429,819,902   488,396,799    58,576,898   5 Extended
    /dev/sda5         429,819,904   485,887,999    56,068,096  83 Linux
    /dev/sda6         485,890,048   488,396,799     2,506,752  82 Linux swap / Solaris
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        3030-3030                              vfat       DellUtility                   
    /dev/sda2        AE7CFBCD7CFB8E79                       ntfs       RECOVERY                      
    /dev/sda3        4C14EEA414EE8FEE                       ntfs                                     
    /dev/sda4: PTTYPE="dos" 
    /dev/sda5        54784ab3-a652-4951-afe9-87dac117c292   ext4       lucid                         
    /dev/sda6        aa7d57f4-e154-45ba-bc7e-9dbf8b9e1e46   swap                                     
    /dev/sda: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda5        /                        ext4       (rw,errors=remount-ro)
    
    
    =========================== sda5/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,5)'
    search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
    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,5)'
    search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
    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-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
        linux    /boot/vmlinuz-2.6.32-22-generic root=UUID=54784ab3-a652-4951-afe9-87dac117c292 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-22-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
        echo    'Loading Linux 2.6.32-22-generic ...'
        linux    /boot/vmlinuz-2.6.32-22-generic root=UUID=54784ab3-a652-4951-afe9-87dac117c292 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-22-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=54784ab3-a652-4951-afe9-87dac117c292 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,5)'
        search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
        echo    'Loading Linux 2.6.32-21-generic ...'
        linux    /boot/vmlinuz-2.6.32-21-generic root=UUID=54784ab3-a652-4951-afe9-87dac117c292 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,5)'
        search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 54784ab3-a652-4951-afe9-87dac117c292
        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/sda2)" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set ae7cfbcd7cfb8e79
        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 ###
    
    =============================== 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=54784ab3-a652-4951-afe9-87dac117c292 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda6 during installation
    UUID=aa7d57f4-e154-45ba-bc7e-9dbf8b9e1e46 none            swap    sw              0       0
    
    =================== sda5: Location of files loaded by Grub: ===================
    
    
     245.9GB: boot/grub/core.img
     230.2GB: boot/grub/grub.cfg
     246.1GB: boot/initrd.img-2.6.32-21-generic
     246.1GB: boot/initrd.img-2.6.32-22-generic
     245.9GB: boot/vmlinuz-2.6.32-21-generic
     231.6GB: boot/vmlinuz-2.6.32-22-generic
     246.1GB: initrd.img
     246.1GB: initrd.img.old
     231.6GB: vmlinuz
     245.9GB: vmlinuz.old
    I'm also going to continue to try and boot using the grub rescue commands

  7. #17
    Join Date
    Jun 2010
    Beans
    27

    Re: Grub2 doesn't boot either OS

    What is vmlinuz? I just entered most of the commands, with the sole exception of the second command. I got an error saying "unknown command".

    After the 'boot' command, it started to load the OS, but stopped abruptly and now I have blinking caps and scroll lights, as well as some script on the screen that I don't understand.

  8. #18
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Grub2 doesn't boot either OS

    Never mind for now I need to see the script posted two posts back.
    Last edited by wilee-nilee; June 15th, 2010 at 09:52 AM.





  9. #19
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Grub2 doesn't boot either OS

    I think we are missing the missing ntldr part of the boot, I don't see it in the MS partitions.

    Hello jon newbuntu.





  10. #20
    Join Date
    Jun 2010
    Beans
    27

    Re: Grub2 doesn't boot either OS

    So how do I install the ntldr part?

Page 2 of 5 FirstFirst 1234 ... LastLast

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
  •