Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Vista only booting into recovery mode after installing from a live USB

  1. #1
    Join Date
    Apr 2010
    Location
    San Luis Obispo, Ca
    Beans
    92

    Vista only booting into recovery mode after installing from a live USB

    Hello everyone,
    So I decided to try Ubuntu from a live USB drive 10.04 LTS on my Toshiba laptop as the windows Vista SP2 was running really slow. I liked it and clicked on the install icon. From there I set it for duel boot and off it went. The install worked great. I then downloaded the startup manager and changed the start up to be default of windows loader. Now when it boots into windows it goes to the windows recovery thing and won't start windows. I've tried repair and no luck.

    I know that you will need more info to help me through this so please let me know.

    Thanks
    Steve

  2. #2
    Join Date
    Apr 2010
    Location
    San Luis Obispo, Ca
    Beans
    92

    Re: Vista only booting into recovery mode after installing from a live USB

    Hope I'm not being too pushy but maybe this post didn't get seen? I'll just bump it as I'm stuck.

    Thanks
    Steve

  3. #3
    Join Date
    Nov 2007
    Beans
    203

    Re: Vista only booting into recovery mode after installing from a live USB

    post the output of:

    Code:
    sudo fdisk -l

    and post the contents of the file: /boot/grub/grub.cfg

    Code:
    sudo gedit /boot/grub/grub.cfg

  4. #4
    Join Date
    Apr 2010
    Location
    San Luis Obispo, Ca
    Beans
    92

    Re: Vista only booting into recovery mode after installing from a live USB

    Thanks for the help DemonBob Here it is
    Code:
    steve@steve-laptop:~$ sudo fdisk -l
    [sudo] password for steve: 
    
    Disk /dev/sda: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x8ce78eb2
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1         192     1536000   27  Unknown
    Partition 1 does not end on cylinder boundary.
    /dev/sda2   *         192       20046   159475324    7  HPFS/NTFS
    /dev/sda3           23509       24321     6523904   17  Hidden HPFS/NTFS
    /dev/sda4           20046       23509    27821057    5  Extended
    /dev/sda5           20046       23361    26627072   83  Linux
    /dev/sda6           23361       23509     1192960   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    steve@steve-laptop:~$ 
    
    
    FYI I changed the default startup OS back to ubuntu since windows would not start so keep that in mind when reading this
    
    contents of the file: /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 29182734-2480-47c6-8a48-422252549308
    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 29182734-2480-47c6-8a48-422252549308
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=-1
    else
      set timeout=5
    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-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 29182734-2480-47c6-8a48-422252549308
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=29182734-2480-47c6-8a48-422252549308 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-24-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 29182734-2480-47c6-8a48-422252549308
        echo    'Loading Linux 2.6.32-24-generic ...'
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=29182734-2480-47c6-8a48-422252549308 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-24-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 29182734-2480-47c6-8a48-422252549308
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 29182734-2480-47c6-8a48-422252549308
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set eeb2f736b2f7023f
        drivemap -s (hd0) ${root}
        chainloader +1
    }
    menuentry "Windows Vista (loader) (on /dev/sda3)" {
        insmod ntfs
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set f85efdc45efd7c26
        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 ###
    Thanks for the help in advance

    Steve
    Last edited by nzdreamer55; September 6th, 2010 at 03:57 AM.

  5. #5
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,494
    Distro
    Ubuntu Development Release

    Re: Vista only booting into recovery mode after installing from a live USB

    First open a terminal and run:
    Code:
    sudo update-grub
    Then do not choose Windows Vista loader from startupmanager that is your recovery partition. It is there and startupmanager does not give you the same sda #'s as the partition in windows to boot from. Usually sda1 is grub boot into OS. and I have no idea why. But I do no that linux reads the recovery partition as Vista. even in Windows 7.

    Mine is Windows boot in sda1 and OS in sda2 sda3 is Extended for Linux installs and sda4 is recovery. Yours shows boot flag in sda2.
    Downloading this to your DESKTOP and running this code below: This site to DESKTOP http://bootinfoscript.sourceforge.net/
    Code:
    sudo bash ~/Desktop/boot_info_script*.sh
    will put a text file on desktop that will tell your whole boot.
    copy and paste it here then highlight whole thing and click #sign up top
    and will put in nice scrolling so not to take up whole page. Lets see what
    it says will only take a minute and can fix you up.
    Last edited by garvinrick4; September 5th, 2010 at 05:11 PM.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  6. #6
    Join Date
    Apr 2010
    Location
    San Luis Obispo, Ca
    Beans
    92

    Re: Vista only booting into recovery mode after installing from a live USB

    Thanks so much for all the help. I've got to go do family stuff so I'll post back with those things later today.
    Again thanks for the help.
    Steve

  7. #7
    Join Date
    Apr 2010
    Location
    San Luis Obispo, Ca
    Beans
    92

    Re: Vista only booting into recovery mode after installing from a live USB

    Here is the output. Hoe I did it right
    Steve

    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #5 for /boot/grub.
    
    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/dirs:   
    
    sda2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /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/dirs:   /BOOTMGR /BOOT/BCD
    
    sda4: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  Unknown
        Boot sector info:  
    
    sda5: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 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: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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               2,048     3,074,047     3,072,000  27 Hidden HPFS/NTFS
    /dev/sda2    *      3,074,048   322,024,695   318,950,648   7 HPFS/NTFS
    /dev/sda3         377,667,584   390,715,391    13,047,808  17 Hidden HPFS/NTFS
    /dev/sda4         322,025,470   377,667,583    55,642,114   5 Extended
    /dev/sda5         322,025,472   375,279,615    53,254,144  83 Linux
    /dev/sda6         375,281,664   377,667,583     2,385,920  82 Linux swap / Solaris
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        DAEEEFA2EEEF7563                       ntfs       TOSHIBA SYSTEM VOLUME         
    /dev/sda2        EEB2F736B2F7023F                       ntfs       Silver                        
    /dev/sda3        F85EFDC45EFD7C26                       ntfs       HDDRECOVERY                   
    /dev/sda4: PTTYPE="dos" 
    /dev/sda5        29182734-2480-47c6-8a48-422252549308   ext4                                     
    /dev/sda6        85f7e478-4a0b-47e1-9003-7ae6d4f55878   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 29182734-2480-47c6-8a48-422252549308
    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 29182734-2480-47c6-8a48-422252549308
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=-1
    else
      set timeout=5
    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-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 29182734-2480-47c6-8a48-422252549308
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=29182734-2480-47c6-8a48-422252549308 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-24-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 29182734-2480-47c6-8a48-422252549308
        echo    'Loading Linux 2.6.32-24-generic ...'
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=29182734-2480-47c6-8a48-422252549308 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-24-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 29182734-2480-47c6-8a48-422252549308
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 29182734-2480-47c6-8a48-422252549308
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set eeb2f736b2f7023f
        drivemap -s (hd0) ${root}
        chainloader +1
    }
    menuentry "Windows Vista (loader) (on /dev/sda3)" {
        insmod ntfs
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set f85efdc45efd7c26
        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=29182734-2480-47c6-8a48-422252549308 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda6 during installation
    UUID=85f7e478-4a0b-47e1-9003-7ae6d4f55878 none            swap    sw              0       0
    
    =================== sda5: Location of files loaded by Grub: ===================
    
    
     186.5GB: boot/grub/core.img
     180.2GB: boot/grub/grub.cfg
     186.5GB: boot/initrd.img-2.6.32-24-generic
     186.5GB: boot/vmlinuz-2.6.32-24-generic
     186.5GB: initrd.img
     186.5GB: vmlinuz
    =========================== Unknown MBRs/Boot Sectors/etc =======================
    
    Unknown BootLoader  on sda4
    
    00000000  0b cf b7 9e 5d 29 55 c5  c5 46 50 c3 eb aa 26 92  |....])U..FP...&.|
    00000010  3e 89 a4 88 98 49 b8 08  84 e4 cf 0e 03 90 61 ef  |>....I........a.|
    00000020  62 64 22 bc 5e ba 85 51  85 12 34 1a 95 1f 14 76  |bd".^..Q..4....v|
    00000030  92 58 42 bc 01 a0 0e 7c  03 1c 02 8b 80 7e 48 0c  |.XB....|.....~H.|
    00000040  4a 45 c6 dc c6 c8 3a 4f  3e e2 18 13 80 4c 80 14  |JE....:O>....L..|
    00000050  c5 e8 cd 30 48 1a a3 7e  4c 26 f1 ba bc 87 bf 6c  |...0H..~L&.....l|
    00000060  d0 00 9c 0d db 00 72 41  ad 00 14 7b d7 48 17 b8  |......rA...{.H..|
    00000070  6a 28 03 01 54 84 a6 8e  86 c8 ca 9c 26 8a 0c a0  |j(..T.......&...|
    00000080  6e 0e 1b d5 19 74 7d 1b  f2 af 08 fb 13 d5 66 51  |n....t}.......fQ|
    00000090  4a b5 f7 2a ce 90 2c 06  ad 90 90 03 dc f8 88 ab  |J..*..,.........|
    000000a0  da 48 21 00 30 75 1b 39  30 21 60 b8 00 30 5b 33  |.H!.0u.90!`..0[3|
    000000b0  4c 9f c3 24 36 f4 40 76  58 0d d2 df 11 ae 44 62  |L..$6.@vX.....Db|
    000000c0  52 f1 94 77 40 17 c2 c3  e7 15 57 b8 19 f9 9d f9  |R..w@.....W.....|
    000000d0  ca 6a ee b5 2c 3e c1 c0  2c 49 5e 00 73 70 e4 2c  |.j..,>..,I^.sp.,|
    000000e0  cc 48 14 c0 83 fe 00 3b  01 31 5d 81 27 fe 86 31  |.H.....;.1].'..1|
    000000f0  1e 04 00 5c 28 10 80 18  30 03 12 81 34 00 bf 04  |...\(...0...4...|
    00000100  cf fe d0 08 79 ec 46 fd  a0 40 05 02 b0 20 ff 50  |....y.F..@... .P|
    00000110  0c 00 1e a8 12 bf f7 be  23 f8 10 00 c8 84 08 5f  |........#......_|
    00000120  df b9 68 04 b0 02 3e 04  0f d3 02 a0 84 02 c3 09  |..h...>.........|
    00000130  80 99 ff 7f 7c 07 28 a1  11 b9 30 03 44 82 10 0a  |....|.(...0.D...|
    00000140  80 19 02 68 01 01 b7 8d  80 16 17 c1 04 06 40 2c  |...h..........@,|
    00000150  40 26 7f f3 d1 f0 08 12  08 40 1a 00 7c 09 a0 06  |@&.......@..|...|
    00000160  06 e0 1d 82 1f fb 62 18  26 ff eb d1 bf 17 bb 34  |......b.&......4|
    00000170  a7 37 ac ea ab e6 5d 07  da 9d 47 3d df c3 cd d7  |.7....]...G=....|
    00000180  e0 76 88 1f 46 3d 70 3a  30 76 88 f4 68 7c 23 1f  |.v..F=p:0v..h|#.|
    00000190  55 3e 8e 78 4e 7a 27 37  d4 71 ad e2 5a be 96 1f  |U>.xNz'7.q..Z...|
    000001a0  57 36 8d 5c 63 c2 3d 07  cf 53 cc b8 e4 88 bc 6d  |W6.\c.=..S.....m|
    000001b0  9f 41 8f f1 7f 57 c0 6a  9f 2f c7 e6 4e 03 00 fe  |.A...W.j./..N...|
    000001c0  ff ff 83 fe ff ff 02 00  00 00 00 98 2c 03 00 fe  |............,...|
    000001d0  ff ff 05 fe ff ff 02 98  2c 03 00 70 24 00 00 00  |........,..p$...|
    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

  8. #8
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,494
    Distro
    Ubuntu Development Release

    Re: Vista only booting into recovery mode after installing from a live USB

    Quote Originally Posted by nzdreamer55 View Post
    Here is the output. Hoe I did it right
    Steve

    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #5 for /boot/grub.
    
    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/dirs:   
    
    sda2: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows Vista
        Boot files/dirs:   /bootmgr /Boot/BCD /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/dirs:   /BOOTMGR /BOOT/BCD
    
    sda4: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  Unknown
        Boot sector info:  
    
    sda5: _________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 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: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders, total 390721968 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               2,048     3,074,047     3,072,000  27 Hidden HPFS/NTFS
    /dev/sda2    *      3,074,048   322,024,695   318,950,648   7 HPFS/NTFS
    /dev/sda3         377,667,584   390,715,391    13,047,808  17 Hidden HPFS/NTFS
    /dev/sda4         322,025,470   377,667,583    55,642,114   5 Extended
    /dev/sda5         322,025,472   375,279,615    53,254,144  83 Linux
    /dev/sda6         375,281,664   377,667,583     2,385,920  82 Linux swap / Solaris
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/sda1        DAEEEFA2EEEF7563                       ntfs       TOSHIBA SYSTEM VOLUME         
    /dev/sda2        EEB2F736B2F7023F                       ntfs       Silver                        
    /dev/sda3        F85EFDC45EFD7C26                       ntfs       HDDRECOVERY                   
    /dev/sda4: PTTYPE="dos" 
    /dev/sda5        29182734-2480-47c6-8a48-422252549308   ext4                                     
    /dev/sda6        85f7e478-4a0b-47e1-9003-7ae6d4f55878   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 29182734-2480-47c6-8a48-422252549308
    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 29182734-2480-47c6-8a48-422252549308
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=-1
    else
      set timeout=5
    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-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 29182734-2480-47c6-8a48-422252549308
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=29182734-2480-47c6-8a48-422252549308 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-24-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 29182734-2480-47c6-8a48-422252549308
        echo    'Loading Linux 2.6.32-24-generic ...'
        linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=29182734-2480-47c6-8a48-422252549308 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-24-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 29182734-2480-47c6-8a48-422252549308
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,5)'
        search --no-floppy --fs-uuid --set 29182734-2480-47c6-8a48-422252549308
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" {
        insmod ntfs
        set root='(hd0,2)'
        search --no-floppy --fs-uuid --set eeb2f736b2f7023f
        drivemap -s (hd0) ${root}
        chainloader +1
    }
    menuentry "Windows Vista (loader) (on /dev/sda3)" {
        insmod ntfs
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set f85efdc45efd7c26
        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=29182734-2480-47c6-8a48-422252549308 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda6 during installation
    UUID=85f7e478-4a0b-47e1-9003-7ae6d4f55878 none            swap    sw              0       0
    
    =================== sda5: Location of files loaded by Grub: ===================
    
    
     186.5GB: boot/grub/core.img
     180.2GB: boot/grub/grub.cfg
     186.5GB: boot/initrd.img-2.6.32-24-generic
     186.5GB: boot/vmlinuz-2.6.32-24-generic
     186.5GB: initrd.img
     186.5GB: vmlinuz
    =========================== Unknown MBRs/Boot Sectors/etc =======================
    
    Unknown BootLoader  on sda4
    
    00000000  0b cf b7 9e 5d 29 55 c5  c5 46 50 c3 eb aa 26 92  |....])U..FP...&.|
    00000010  3e 89 a4 88 98 49 b8 08  84 e4 cf 0e 03 90 61 ef  |>....I........a.|
    00000020  62 64 22 bc 5e ba 85 51  85 12 34 1a 95 1f 14 76  |bd".^..Q..4....v|
    00000030  92 58 42 bc 01 a0 0e 7c  03 1c 02 8b 80 7e 48 0c  |.XB....|.....~H.|
    00000040  4a 45 c6 dc c6 c8 3a 4f  3e e2 18 13 80 4c 80 14  |JE....:O>....L..|
    00000050  c5 e8 cd 30 48 1a a3 7e  4c 26 f1 ba bc 87 bf 6c  |...0H..~L&.....l|
    00000060  d0 00 9c 0d db 00 72 41  ad 00 14 7b d7 48 17 b8  |......rA...{.H..|
    00000070  6a 28 03 01 54 84 a6 8e  86 c8 ca 9c 26 8a 0c a0  |j(..T.......&...|
    00000080  6e 0e 1b d5 19 74 7d 1b  f2 af 08 fb 13 d5 66 51  |n....t}.......fQ|
    00000090  4a b5 f7 2a ce 90 2c 06  ad 90 90 03 dc f8 88 ab  |J..*..,.........|
    000000a0  da 48 21 00 30 75 1b 39  30 21 60 b8 00 30 5b 33  |.H!.0u.90!`..0[3|
    000000b0  4c 9f c3 24 36 f4 40 76  58 0d d2 df 11 ae 44 62  |L..$6.@vX.....Db|
    000000c0  52 f1 94 77 40 17 c2 c3  e7 15 57 b8 19 f9 9d f9  |R..w@.....W.....|
    000000d0  ca 6a ee b5 2c 3e c1 c0  2c 49 5e 00 73 70 e4 2c  |.j..,>..,I^.sp.,|
    000000e0  cc 48 14 c0 83 fe 00 3b  01 31 5d 81 27 fe 86 31  |.H.....;.1].'..1|
    000000f0  1e 04 00 5c 28 10 80 18  30 03 12 81 34 00 bf 04  |...\(...0...4...|
    00000100  cf fe d0 08 79 ec 46 fd  a0 40 05 02 b0 20 ff 50  |....y.F..@... .P|
    00000110  0c 00 1e a8 12 bf f7 be  23 f8 10 00 c8 84 08 5f  |........#......_|
    00000120  df b9 68 04 b0 02 3e 04  0f d3 02 a0 84 02 c3 09  |..h...>.........|
    00000130  80 99 ff 7f 7c 07 28 a1  11 b9 30 03 44 82 10 0a  |....|.(...0.D...|
    00000140  80 19 02 68 01 01 b7 8d  80 16 17 c1 04 06 40 2c  |...h..........@,|
    00000150  40 26 7f f3 d1 f0 08 12  08 40 1a 00 7c 09 a0 06  |@&.......@..|...|
    00000160  06 e0 1d 82 1f fb 62 18  26 ff eb d1 bf 17 bb 34  |......b.&......4|
    00000170  a7 37 ac ea ab e6 5d 07  da 9d 47 3d df c3 cd d7  |.7....]...G=....|
    00000180  e0 76 88 1f 46 3d 70 3a  30 76 88 f4 68 7c 23 1f  |.v..F=p:0v..h|#.|
    00000190  55 3e 8e 78 4e 7a 27 37  d4 71 ad e2 5a be 96 1f  |U>.xNz'7.q..Z...|
    000001a0  57 36 8d 5c 63 c2 3d 07  cf 53 cc b8 e4 88 bc 6d  |W6.\c.=..S.....m|
    000001b0  9f 41 8f f1 7f 57 c0 6a  9f 2f c7 e6 4e 03 00 fe  |.A...W.j./..N...|
    000001c0  ff ff 83 fe ff ff 02 00  00 00 00 98 2c 03 00 fe  |............,...|
    000001d0  ff ff 05 fe ff ff 02 98  2c 03 00 70 24 00 00 00  |........,..p$...|
    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
    sda2 is your OS and sda3 is your recovery drive. sda1 is something from manufacter like there own little recovery system. Ubuntu looks good in sda5 and looking from boot there from sda is right. But your extended partition sda4 has gotten a boot loader in there when it should not have.
    sda4: __________________________________________________ _______________________

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

    The unknown should not be there. Now you can boot into Ubuntu and what does it say in
    startupmanager where you set it to try to boot in Windows, you have it set to the recovery partition I do believe. sda3 it says it config file but sda2 in fdisk -l.
    Let me see about getting boot out of Extended partition it is just there to house Linux partitions and nothing more. Let me no about Windows booting.
    Good job with using code tags to get this right.
    Last edited by garvinrick4; September 5th, 2010 at 07:54 PM.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  9. #9
    Join Date
    Aug 2009
    Location
    United States
    Beans
    4,494
    Distro
    Ubuntu Development Release

    Re: Vista only booting into recovery mode after installing from a live USB

    Let me know what is going on I gave this thread to a user by the name of
    oldfred to see about getting the unknown boot out of your Extended partition.
    He has a lot of grub knowledge. Let me know if you can boot both Operating Systems.
    Remember hence where you come and pass it down.
    Ubuntu Forums member #899097 and Ubuntu Member:


  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Vista only booting into recovery mode after installing from a live USB

    The data that is showing as a boot loader in sda4 is just old data. When partitions get moved around some data may not be erased and the script looks for certain data to know what type of boot partition it is or if no data then is says so. But old data may look like an unknown boot loader when it is just old data. I would just leave it.

    The osprober often seems to be mis identifying the recovery and the install partitions for windows. If you are booting the wrong one try switching the default. You should be able to do that with startup manager.

    The choice of fixing the descriptions is either modifing the grub code which drs305 has ways to do in his links. Or you can just copy the entires into 40_custom and edit them at wil. Then turn off osprober so you do not have double entries.

    Total Custom menu:
    http://sourceforge.net/apps/mediawik...ms:Custom_Menu
    http://ubuntuforums.org/showthread.php?t=1483827

    How to: Create a Customized GRUB2 Screen that is Maintenance Free.
    http://ubuntuforums.org/showthread.php?t=1542338

    Partial Custom:
    I used drs305's command to limit ubuntu entries to two, turned off os_prober so it does not look for other systems and totally customized my 40_custom.
    includes line to limit display to two, also hiding of windows recovery partition
    Grub 2 Title Tweaks Thread -drs305
    http://ubuntuforums.org/showthread.php?t=1287602
    In /etc/default/grub I added this:
    gksudo gedit /etc/default/grub
    GRUB_DISABLE_OS_PROBER=true
    or
    sudo chmod a-x /etc/grub.d/30_os-prober
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 2 12 LastLast

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
  •