Announcement

Collapse
No announcement yet.

[SOLVED] Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

    Hi!
    I have just upgraded to Kubuntu 10.04 from 9.10. Now, my Windows Vista does not show up on the grub boot list.

    Here are som info which may help to understand the problem:

    hakiza@hakizadatorn:~$ sudo fdisk -l

    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 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: 0x38000000

    Device Boot Start End Blocks Id System
    /dev/sda1 1 15 120456 de Dell Utility
    /dev/sda2 16 1321 10485760 7 HPFS/NTFS
    /dev/sda3 * 1321 20219 151795952 7 HPFS/NTFS
    /dev/sda4 20220 30402 81788228 f W95 Ext'd (LBA)
    /dev/sda5 30075 30402 2620416 dd Unknown
    /dev/sda6 20220 29668 75899061 83 Linux
    /dev/sda7 29669 30074 3261163+ 82 Linux swap / Solaris

    Partition table entries are not in disk order
    hakiza@hakizadatorn:~$


    hakiza@hakizadatorn:~$ sudo update-grub
    [sudo] password for hakiza:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.32-21-generic
    Found initrd image: /boot/initrd.img-2.6.32-21-generic
    Found linux image: /boot/vmlinuz-2.6.31-21-generic
    Found initrd image: /boot/initrd.img-2.6.31-21-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found Windows Recovery Environment (loader) on /dev/sda3
    Found Microsoft Windows XP Embedded on /dev/sda5
    done
    hakiza@hakizadatorn:~$

    I can see that there is a Windows Recovery Environment. Does this mean that I have lost all my documents there in Vista? And how to recover Vista and do the dual-booting again?

    I appreciate your help!



    #2
    Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

    Don't claim to be the biggest expert on this but sda3 looks to me like it's the biggest partition suggesting that that is your vista installation.

    If you boot into kubuntu, can you see your windows data? If so, this may be a case of grub getting messed up, rather than anything more sinister. If so, whilst I don't know the answer, there are others here who probably will.

    Comment


      #3
      Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

      Thanks! I'll be waiting until someone with some expertise in the matter can show me the way.

      Comment


        #4
        Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

        /dev/sda5 30075 30402 2620416 dd Unknown
        /dev/sda4 20220 30402 81788228 f W95 Ext'd (LBA)
        Found Windows Recovery Environment (loader) on /dev/sda3
        Found Microsoft Windows XP Embedded on /dev/sda5
        try the following:

        apt-get install os-prober
        update-grub


        &quot;Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it&#39;s from Neptune.&quot; ~Noam Chomsky<br /><br />Gigabyte MB, AMD 64x2 6000, 2 Gigs Patriot DDR2, XFX GeForce 8600GT XXX, 400Gig WD SATA HDD &amp; 1TB WD SATA HDD.

        Comment


          #5
          Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

          I does not help. I get the following:

          hakiza@hakizadatorn:~$ sudo apt-get install os-prober
          [sudo] password for hakiza:
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          os-prober is already the newest version.
          os-prober set to manually installed.
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          hakiza@hakizadatorn:~$ sudo update-grub
          Generating grub.cfg ...
          Found linux image: /boot/vmlinuz-2.6.32-21-generic
          Found initrd image: /boot/initrd.img-2.6.32-21-generic
          Found linux image: /boot/vmlinuz-2.6.31-21-generic
          Found initrd image: /boot/initrd.img-2.6.31-21-generic
          Found memtest86+ image: /boot/memtest86+.bin
          Found Windows Recovery Environment (loader) on /dev/sda3
          Found Microsoft Windows XP Embedded on /dev/sda5
          done
          hakiza@hakizadatorn:~$

          Comment


            #6
            Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

            And have you rebooted yet?
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

              Originally posted by hakiza
              Found Windows Recovery Environment (loader) on /dev/sda3
              Found Microsoft Windows XP Embedded on /dev/sda5
              done
              I think that fixed it. Reboot!
              Home: Kubuntu 12.04-amd64; Intel i7-860 on Intel DH55PJ; Nvidia 9500GT; 6GB RAM
              Network Slave: Xubuntu 11.10-x86; Intel P4-Prescott on MSI; 2GB RAM; Nvidia FX5200
              Portable: Xubuntu 11.10-amd64; Asus EeePC 1015PEM

              Comment


                #8
                Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

                I've just rebooted. I still can't see Windows Vista (loader) on the grub boot list: what I see is

                Windows Recovery Environment (loader) (on /dev/sda3)

                on the list. I am not sure if this is the right Vista loader: I don't want to mess up with the whole computer system.

                Here is the detailed info (on grub and the system):


                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 #6 for /boot/grub.

                sda1: __________________________________________________ _______________________

                File system: vfat
                Boot sector type: Dell Utility: 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:

                sda3: __________________________________________________ _______________________

                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

                sda4: __________________________________________________ _______________________

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

                sda5: __________________________________________________ _______________________

                File system: vfat
                Boot sector type: Vista: Fat 32
                Boot sector info: No errors found in the Boot Parameter Block.
                Operating System: Windows XP
                Boot files/dirs: /boot.ini /bootmgr /ntldr /NTDETECT.COM

                sda6: __________________________________________________ _______________________

                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

                sda7: __________________________________________________ _______________________

                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 240,974 240,912 de Dell Utility
                /dev/sda2 241,664 21,213,183 20,971,520 7 HPFS/NTFS
                /dev/sda3 * 21,213,184 324,805,087 303,591,904 7 HPFS/NTFS
                /dev/sda4 324,818,296 488,394,751 163,576,456 f W95 Ext d (LBA)
                /dev/sda5 483,153,920 488,394,751 5,240,832 dd Dell Media Direct
                /dev/sda6 324,818,298 476,616,419 151,798,122 83 Linux
                /dev/sda7 476,616,483 483,138,809 6,522,327 82 Linux swap / Solaris


                blkid -c /dev/null: __________________________________________________ __________

                Device UUID TYPE LABEL

                /dev/sda1 07D7-0C15 vfat DellUtility
                /dev/sda2 36126B8C126B5043 ntfs RECOVERY
                /dev/sda3 323E6EDE3E6E9B1D ntfs OS
                /dev/sda4: PTTYPE="dos"
                /dev/sda5 A472-DACD vfat MEDIADIRECT
                /dev/sda6 082e558f-18a6-4a1e-99b6-98c5c35a43ef ext4
                /dev/sda7 1b3595d8-a647-4dd7-b0ce-06c7653e5b49 swap
                /dev/sda: PTTYPE="dos"

                ============================ "mount | grep ^/dev output: ===========================

                Device Mount_Point Type Options

                /dev/sda6 / ext4 (rw,errors=remount-ro)


                ================================ sda5/boot.ini: ================================

                [boot loader]
                timeout=0
                default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
                [operating systems]
                multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Embedded" /fastdetect /KERNEL=NTOSBOOT.EXE /maxmem=768

                =========================== sda6/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,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                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,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                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,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                linux /boot/vmlinuz-2.6.32-21-generic root=UUID=082e558f-18a6-4a1e-99b6-98c5c35a43ef 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,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                echo 'Loading Linux 2.6.32-21-generic ...'
                linux /boot/vmlinuz-2.6.32-21-generic root=UUID=082e558f-18a6-4a1e-99b6-98c5c35a43ef ro single
                echo 'Loading initial ramdisk ...'
                initrd /boot/initrd.img-2.6.32-21-generic
                }
                menuentry 'Ubuntu, with Linux 2.6.31-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
                recordfail
                insmod ext2
                set root='(hd0,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                linux /boot/vmlinuz-2.6.31-21-generic root=UUID=082e558f-18a6-4a1e-99b6-98c5c35a43ef ro quiet splash
                initrd /boot/initrd.img-2.6.31-21-generic
                }
                menuentry 'Ubuntu, with Linux 2.6.31-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
                recordfail
                insmod ext2
                set root='(hd0,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                echo 'Loading Linux 2.6.31-21-generic ...'
                linux /boot/vmlinuz-2.6.31-21-generic root=UUID=082e558f-18a6-4a1e-99b6-98c5c35a43ef ro single
                echo 'Loading initial ramdisk ...'
                initrd /boot/initrd.img-2.6.31-21-generic
                }
                ### END /etc/grub.d/10_linux ###

                ### BEGIN /etc/grub.d/20_memtest86+ ###
                menuentry "Memory test (memtest86+)" {
                insmod ext2
                set root='(hd0,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                linux16 /boot/memtest86+.bin
                }
                menuentry "Memory test (memtest86+, serial console 115200)" {
                insmod ext2
                set root='(hd0,6)'
                search --no-floppy --fs-uuid --set 082e558f-18a6-4a1e-99b6-98c5c35a43ef
                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/sda3)" {
                insmod ntfs
                set root='(hd0,3)'
                search --no-floppy --fs-uuid --set 323e6ede3e6e9b1d
                drivemap -s (hd0) ${root}
                chainloader +1
                }
                menuentry "Microsoft Windows XP Embedded (on /dev/sda5)" {
                insmod fat
                set root='(hd0,5)'
                search --no-floppy --fs-uuid --set a472-dacd
                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 ###

                =============================== sda6/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 defaults 0 0
                # / was on /dev/sda6 during installation
                UUID=082e558f-18a6-4a1e-99b6-98c5c35a43ef / ext4 errors=remount-ro 0 1
                # swap was on /dev/sda7 during installation
                UUID=1b3595d8-a647-4dd7-b0ce-06c7653e5b49 none swap sw 0 0
                /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

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


                166.4GB: boot/grub/core.img
                169.5GB: boot/grub/grub.cfg
                191.3GB: boot/initrd.img-2.6.31-21-generic
                173.9GB: boot/initrd.img-2.6.32-21-generic
                177.1GB: boot/vmlinuz-2.6.31-21-generic
                189.9GB: boot/vmlinuz-2.6.32-21-generic
                173.9GB: initrd.img
                191.3GB: initrd.img.old
                189.9GB: vmlinuz
                177.1GB: vmlinuz.old

                Comment


                  #9
                  Re: Upgrade to 10.04LTS: Windows Vista does not show up on the grub list

                  SOLVED. I closed my eyes and rebooted using "Windows Recovery Environment (loader) (on /dev/sda3). Guess what? It worked! Usually I used to see (on the grub boot list) Windows Vista (loader), not Windows Recovery Environment (loader).

                  Thanks guys, I appreciate!

                  Comment

                  Working...
                  X