Skip to main content

Thread: Cannot detect windows 7 after installing Ubuntu 11.10 64-bit


i have been breaking head trying install ubuntu on new 64-bit machine. have installed windows 64-bit. succeeded in installing ubuntu 11.10 64-bit, machine doesn't give me boot menu , directly takes me ubuntu. after exploring many threads here, downloaded , ran bootinfoscript utility. results.txt file pasted below :
code:
                  boot info script 0.61      [1 april 2012]   ============================= boot info summary: ===============================   => no boot loader installed in mbr of /dev/sda.  sda1: __________________________________________________________________________      file system:       ntfs     boot sector type:  windows vista/7: ntfs     boot sector info:  no errors found in boot parameter block.     operating system:  windows 7     boot files:        /windows/system32/winload.exe  sda2: __________________________________________________________________________      file system:       vfat     boot sector type:  windows 7: fat32     boot sector info:  no errors found in boot parameter block.     operating system:       boot files:        /efi/boot/bootx64.efi /efi/ubuntu/grubx64.efi  sda3: __________________________________________________________________________      file system:            boot sector type:  - d    boot sector info:      mounting failed:   mount: unknown filesystem type ''  sda4: __________________________________________________________________________      file system:       ntfs     boot sector type:  windows vista/7: ntfs     boot sector info:  no errors found in boot parameter block.     operating system:       boot files:          sda5: __________________________________________________________________________      file system:       ntfs     boot sector type:  windows vista/7: ntfs     boot sector info:  no errors found in boot parameter block.     operating system:       boot files:          sda6: __________________________________________________________________________      file system:       ntfs     boot sector type:  windows vista/7: ntfs     boot sector info:  no errors found in boot parameter block.     operating system:       boot files:          sda7: __________________________________________________________________________      file system:       ext4     boot sector type:  -     boot sector info:      operating system:  ubuntu 11.10     boot files:        /boot/grub/grub.cfg /etc/fstab  sda8: __________________________________________________________________________      file system:       swap     boot sector type:  -     boot sector info:   ============================ drive/partition info: =============================  drive: sda _____________________________________________________________________  disk /dev/sda: 500.1 gb, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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                   1   976,773,167   976,773,167  ee gpt   guid partition table detected.  partition    start sector    end sector  # of sectors system /dev/sda1           2,048    81,922,047    81,920,000 data partition (windows/linux) /dev/sda2      81,922,048    82,126,847       204,800 efi system partition /dev/sda3      82,126,848    82,388,991       262,144 microsoft reserved partition (windows) /dev/sda4      82,388,992   287,188,991   204,800,000 data partition (windows/linux) /dev/sda5     287,188,992   711,124,991   423,936,000 data partition (windows/linux) /dev/sda6     711,124,992   933,763,071   222,638,080 data partition (windows/linux) /dev/sda7     933,763,072   974,778,697    41,015,626 data partition (windows/linux) /dev/sda8     974,778,698   976,772,838     1,994,141 swap partition (linux)  "blkid" output: ________________________________________________________________  device           uuid                                   type       label  /dev/sda1        24122a93122a6a4e                       ntfs        /dev/sda2        de28-5ea9                              vfat        /dev/sda4        14c82acbc82aaac6                       ntfs       work /dev/sda5        125472db5472c151                       ntfs       big volume /dev/sda6        3064cda664cd6ee2                       ntfs       other volume /dev/sda7        8dfecd7c-6be5-47f4-b70c-0e11796e751d   ext4        /dev/sda8        095cb8c9-79b8-441e-be08-8a703e6d9766   swap         ================================ mount points: =================================  device           mount_point              type       options  /dev/sda2        /boot/efi                vfat       (rw) /dev/sda7        /                        ext4       (rw,errors=remount-ro,commit=600) /dev/sr0         /media/ubuntu 12.04 lts amd64 iso9660    (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)   =========================== sda7/boot/grub/grub.cfg: ===========================  -------------------------------------------------------------------------------- # # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub #  ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ];   set have_grubenv=true   load_env fi set default="0" if [ "${prev_saved_entry}" ];   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}" ];     saved_entry="${chosen}"     save_env saved_entry   fi }  function recordfail {   set recordfail=1   if [ -n "${have_grubenv}" ]; if [ -z "${boot_once}" ]; save_env recordfail; fi; fi }  function load_video {   insmod efi_gop   insmod efi_uga   insmod video_bochs   insmod video_cirrus }  insmod part_gpt insmod ext2 set root='(hd0,gpt7)' search --no-floppy --fs-uuid --set=root 8dfecd7c-6be5-47f4-b70c-0e11796e751d if loadfont /usr/share/grub/unicode.pf2 ;   set gfxmode=auto   load_video   insmod gfxterm   insmod part_gpt   insmod ext2   set root='(hd0,gpt7)'   search --no-floppy --fs-uuid --set=root 8dfecd7c-6be5-47f4-b70c-0e11796e751d   set locale_dir=($root)/boot/grub/locale   set lang=en_in   insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ];   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 if background_color 44,0,30;   clear fi ### end /etc/grub.d/05_debian_theme ###  ### begin /etc/grub.d/10_linux ### if [ ${recordfail} != 1 ];   if [ -e ${prefix}/gfxblacklist.txt ];     if hwmatch ${prefix}/gfxblacklist.txt 3;       if [ ${match} = 0 ];         set linux_gfx_mode=keep       else         set linux_gfx_mode=text       fi     else       set linux_gfx_mode=text     fi   else     set linux_gfx_mode=keep   fi else   set linux_gfx_mode=text fi export linux_gfx_mode if [ "$linux_gfx_mode" != "text" ]; load_video; fi menuentry 'ubuntu, linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {     recordfail     set gfxpayload=$linux_gfx_mode     insmod gzio     insmod part_gpt     insmod ext2     set root='(hd0,gpt7)'     search --no-floppy --fs-uuid --set=root 8dfecd7c-6be5-47f4-b70c-0e11796e751d     linux    /boot/vmlinuz-3.0.0-12-generic root=uuid=8dfecd7c-6be5-47f4-b70c-0e11796e751d ro   quiet splash vt.handoff=7     initrd    /boot/initrd.img-3.0.0-12-generic } menuentry 'ubuntu, linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {     recordfail     insmod gzio     insmod part_gpt     insmod ext2     set root='(hd0,gpt7)'     search --no-floppy --fs-uuid --set=root 8dfecd7c-6be5-47f4-b70c-0e11796e751d     echo    'loading linux 3.0.0-12-generic ...'     linux    /boot/vmlinuz-3.0.0-12-generic root=uuid=8dfecd7c-6be5-47f4-b70c-0e11796e751d ro recovery nomodeset      echo    'loading initial ramdisk ...'     initrd    /boot/initrd.img-3.0.0-12-generic } ### end /etc/grub.d/10_linux ###  ### begin /etc/grub.d/20_linux_xen ### ### end /etc/grub.d/20_linux_xen ###  ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" {     insmod part_gpt     insmod ext2     set root='(hd0,gpt7)'     search --no-floppy --fs-uuid --set=root 8dfecd7c-6be5-47f4-b70c-0e11796e751d     linux16    /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" {     insmod part_gpt     insmod ext2     set root='(hd0,gpt7)'     search --no-floppy --fs-uuid --set=root 8dfecd7c-6be5-47f4-b70c-0e11796e751d     linux16    /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ###  ### begin /etc/grub.d/30_os-prober ### if [ "x${timeout}" != "x-1" ];   if keystatus;     if keystatus --shift;       set timeout=-1     else       set timeout=0     fi   else     if sleep --interruptible 3 ;       set timeout=0     fi   fi fi ### end /etc/grub.d/30_os-prober ###  ### begin /etc/grub.d/40_custom ### # file provides easy way add custom menu entries.  type # menu entries want add after comment.  careful not change # 'exec tail' line above. ### end /etc/grub.d/40_custom ###  ### begin /etc/grub.d/41_custom ### if [ -f  $prefix/custom.cfg ];   source $prefix/custom.cfg; fi ### end /etc/grub.d/41_custom ### --------------------------------------------------------------------------------  =============================== sda7/etc/fstab: ================================  -------------------------------------------------------------------------------- # /etc/fstab: static file system information. # # use 'blkid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> proc            /proc           proc    nodev,noexec,nosuid 0       0 # / on /dev/sda7 during installation uuid=8dfecd7c-6be5-47f4-b70c-0e11796e751d /               ext4    errors=remount-ro 0       1 # /boot/efi on /dev/sda2 during installation uuid=de28-5ea9  /boot/efi       vfat    defaults        0       1 # swap on /dev/sda8 during installation uuid=095cb8c9-79b8-441e-be08-8a703e6d9766 none            swap    sw              0       0 --------------------------------------------------------------------------------  =================== sda7: location of files loaded grub: ====================             gib - gb             file                                 fragment(s)                 =                boot/grub/grub.cfg                             1                =                boot/initrd.img-3.0.0-12-generic               2                =                boot/vmlinuz-3.0.0-12-generic                  1                =                initrd.img                                     2                =                vmlinuz                                        1  ========= devices don't seem have corresponding hard drive: =========  sdb   =============================== stderr messages: ===============================  awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in
i downloaded , ran boot repair utility, gives following error :
gpt detected. please create bios-boot partition (>1mb, unformatted filesystem, bios_grub flag). can performed via tools such gparted. try again.
alternatively, can retry after activating [separate /boot/efi partition:] option.

i attaching screenshot of gparted, view of disk system :


-dev-sda - gparted_001.png


sda1 = windows 7 c:/
sda4,5,6 = windows 7 partitions (all data)
sda7,8 = ubuntu installation , swap area


how proceed solve problem, can continue use windows 7 , ubuntu in dual-booted harmony ? if have make new bios-boot partition, how go it? if not required, easy fix?

no expert here, have tried running update-grub in terminal see if picks windows partitions , adds them boot menu?

open terminal , run following:

code:
sudo update-grub
again, post output here if doesn't work.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Cannot detect windows 7 after installing Ubuntu 11.10 64-bit


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?