Menu

I lose my Win7

Help
2010-05-03
2012-08-23
  • Eduardo  Oliveira

    please,

    I lose my win7 after upgrade ubuntu 9.10 to ubuntu 10.04.


    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.

    => Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in

    partition #6 for /boot/grub.

    sda1:


    File system: ntfs

    Boot sector type: Grub 2

    Boot sector info: Grub 2 is installed in the boot sector of sda1 and

    looks at sector 79453949 of the same hard drive for

    core.img, but core.img can not be found at this

    location. No errors found in the Boot Parameter Block.

    Operating System:

    Boot files/dirs: /bootmgr /Boot/BCD

    sda2:


    File system: ntfs

    Boot sector type: Grub 2

    Boot sector info: Grub 2 is installed in the boot sector of sda2 and

    looks at sector 79434173 of the same hard drive for

    core.img, but core.img can not be found at this

    location. No errors found in the Boot Parameter Block.

    Operating System: Windows 7

    Boot files/dirs: /Windows/System32/winload.exe

    sda3:


    File system: Extended Partition

    Boot sector type: -

    Boot sector info:

    sda5:


    File system: swap

    Boot sector type: -

    Boot sector info:

    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

    sdb1:


    File system: ntfs

    Boot sector type: Grub 2

    Boot sector info: Grub 2 is installed in the boot sector of sdb1 and

    looks at sector 79452437 of the same hard drive for

    core.img, but core.img can not be found at this

    location. No errors found in the Boot Parameter Block.

    Operating System:

    Boot files/dirs:

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

    Drive: sda ___


    Disco /dev/sda: 80.0 GB, 80026361856 bytes

    255 heads, 63 sectors/track, 9729 cylinders, total de 156301488 setores

    Unidades = setores de 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 512 bytes

    Partition Boot Start End Size Id System

    /dev/sda1 * 2,048 206,847 204,800 7 HPFS/NTFS

    /dev/sda2 206,848 78,139,391 77,932,544 7 HPFS/NTFS

    /dev/sda3 78,140,160 156,296,384 78,156,225 f W95 Ext d (LBA)

    /dev/sda5 78,140,286 79,136,189 995,904 82 Linux swap / Solaris

    /dev/sda6 79,136,253 156,296,384 77,160,132 83 Linux

    Drive: sdb ___


    Disco /dev/sdb: 250.1 GB, 250059350016 bytes

    255 heads, 63 sectors/track, 30401 cylinders, total de 488397168 setores

    Unidades = setores de 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 512 bytes

    Partition Boot Start End Size Id System

    /dev/sdb1 63 488,392,064 488,392,002 7 HPFS/NTFS

    blkid -c /dev/null:


    Device UUID TYPE LABEL

    /dev/ramzswap0 swap

    /dev/sda1 3A4C63EC4C63A17D ntfs Reservado pelo Sistema

    /dev/sda2 9A547155547134DB ntfs

    /dev/sda3: PTTYPE="dos"

    /dev/sda5 4748a73e-ce45-430f-81f8-165e8ae7b162 swap

    /dev/sda6 5bef3699-e296-4109-b2e1-c5c609e0070f ext4

    /dev/sda: PTTYPE="dos"

    /dev/sdb1 78D3F7C1504EFFBD ntfs NOVADATA

    /dev/sdb: PTTYPE="dos"

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

    Device Mount_Point Type Options

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

    =========================== 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 ; then

    load_env

    fi

    set default="0"

    if ; 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 ; then

    saved_entry=${chosen}

    save_env saved_entry

    fi

    }

    function recordfail {

    set recordfail=1

    if ; then if ; then save_env recordfail; fi; fi

    }

    insmod ext2

    set root='(hd0,6)'

    search --no-floppy --fs-uuid --set 5bef3699-e296-4109-b2e1-c5c609e0070f

    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 5bef3699-e296-4109-b2e1-c5c609e0070f

    set locale_dir=($root)/boot/grub/locale

    set lang=pt

    insmod gettext

    if ; 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, com 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 5bef3699-e296-4109-b2e1-c5c609e0070f

    linux /boot/vmlinuz-2.6.32-21-generic
    root=UUID=5bef3699-e296-4109-b2e1-c5c609e0070f ro quiet splash

    initrd /boot/initrd.img-2.6.32-21-generic

    }

    menuentry 'Ubuntu, com Linux 2.6.32-21-generic (modo de recuperação)' --class
    ubuntu --class gnu-linux --class gnu --class os {

    recordfail

    insmod ext2

    set root='(hd0,6)'

    search --no-floppy --fs-uuid --set 5bef3699-e296-4109-b2e1-c5c609e0070f

    echo 'Carregando Linux 2.6.32-21-generic ...'

    linux /boot/vmlinuz-2.6.32-21-generic
    root=UUID=5bef3699-e296-4109-b2e1-c5c609e0070f ro single

    echo 'Carregando ramdisk inicial ...'

    initrd /boot/initrd.img-2.6.32-21-generic

    }

    menuentry 'Ubuntu, com 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 5bef3699-e296-4109-b2e1-c5c609e0070f

    linux /boot/vmlinuz-2.6.31-21-generic
    root=UUID=5bef3699-e296-4109-b2e1-c5c609e0070f ro quiet splash

    initrd /boot/initrd.img-2.6.31-21-generic

    }

    menuentry 'Ubuntu, com Linux 2.6.31-21-generic (modo de recuperação)' --class
    ubuntu --class gnu-linux --class gnu --class os {

    recordfail

    insmod ext2

    set root='(hd0,6)'

    search --no-floppy --fs-uuid --set 5bef3699-e296-4109-b2e1-c5c609e0070f

    echo 'Carregando Linux 2.6.31-21-generic ...'

    linux /boot/vmlinuz-2.6.31-21-generic
    root=UUID=5bef3699-e296-4109-b2e1-c5c609e0070f ro single

    echo 'Carregando ramdisk inicial ...'

    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 5bef3699-e296-4109-b2e1-c5c609e0070f

    linux16 /boot/memtest86+.bin

    }

    menuentry "Memory test (memtest86+, serial console 115200)" {

    insmod ext2

    set root='(hd0,6)'

    search --no-floppy --fs-uuid --set 5bef3699-e296-4109-b2e1-c5c609e0070f

    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)" {

    insmod ntfs

    set root='(hd0,1)'

    search --no-floppy --fs-uuid --set 3a4c63ec4c63a17d

    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=5bef3699-e296-4109-b2e1-c5c609e0070f / ext4 errors=remount-ro 0 1

    swap was on /dev/sda5 during installation

    UUID=4748a73e-ce45-430f-81f8-165e8ae7b162 none swap sw 0 0

    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

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

    40.6GB: boot/grub/core.img

    44.6GB: boot/grub/grub.cfg

    50.1GB: boot/initrd.img-2.6.31-21-generic

    42.4GB: boot/initrd.img-2.6.32-21-generic

    78.1GB: boot/vmlinuz-2.6.31-21-generic

    50.1GB: boot/vmlinuz-2.6.32-21-generic

    42.4GB: initrd.img

    50.1GB: initrd.img.old

    50.1GB: vmlinuz

    78.1GB: vmlinuz.old


     
  • Ali Zulu

    Ali Zulu - 2010-06-20

    Does anyone have a solution for this because I also have the same problem and
    I need to boot into Windows for a project I have to do

     

Log in to post a comment.