Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have been trying this from yesterday. When i start the computer, Windows 8 is not a option in the loader. I could see only Linux Generic, Linux Generic in recovery mode, Memory test+. Running boot-repair did not work. I added the below lines to 40_custom file in the /etc/grub.d folder.

menuentry "Windows 8"{
    set root='(hd0,5)'
    chainloader +1  
}

i wrote hd0,5 because sda5 has the windows OS. Below is the output from console for blkid:

/dev/sda1: UUID="67322860-7e89-4e00-a114-3f0a5a153009" TYPE="swap" 
/dev/sda4: LABEL="WINRETOOLS" UUID="E036D0F536D0CDA2" TYPE="ntfs" 
/dev/sda5: LABEL="OS" UUID="8668D77568D7628B" TYPE="ntfs" 
/dev/sda6: UUID="1dc84212-5127-4131-918b-f2118a2f8226" TYPE="ext4" 
/dev/sda7: LABEL="New Volume" UUID="FA44B77844B7366B" TYPE="ntfs" 
/dev/sda8: LABEL="PBR Image" UUID="528A42F78A42D6DF" TYPE="ntfs" 

When i reboot the computer and select Windows 8 option from the grub loader menu, it says that the boot configuration data for my pc is missing and shuts down after some time to restart.

There is no /efi folder in my ubuntu machine. This might be because, before installing ubuntu, i hit f12 and changed the secure boot to off, and change the boot settings to legacy boot.

Please correct me if im wrong in the above process and let me know if any other information is needed.

UPDATE:

Belows is my BOOT Info:
============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 
    1026048 of the same hard drive for core.img. core.img is at this location 
    and looks for (,gpt6)/boot/grub on this drive.

sda1: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    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 the 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 the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 12.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda7: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda8: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

============================ 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 / 4096 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     1,026,047     1,024,000 EFI System partition
/dev/sda2       1,026,048     1,107,967        81,920 BIOS Boot partition
/dev/sda3       1,107,968     1,370,111       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,370,112     2,373,631     1,003,520 Windows Recovery Environment (Windows)
/dev/sda5       2,373,632   254,842,879   252,469,248 Data partition (Windows/Linux)
/dev/sda6     254,842,880   336,971,775    82,128,896 Data partition (Windows/Linux)
/dev/sda7     336,973,824   951,371,775   614,397,952 Data partition (Windows/Linux)
/dev/sda8     951,373,824   976,771,119    25,397,296 Windows Recovery Environment (Windows)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        67322860-7e89-4e00-a114-3f0a5a153009   swap       
/dev/sda4        E036D0F536D0CDA2                       ntfs       WINRETOOLS
/dev/sda5        8668D77568D7628B                       ntfs       OS
/dev/sda6        1dc84212-5127-4131-918b-f2118a2f8226   ext4       
/dev/sda7        FA44B77844B7366B                       ntfs       New Volume
/dev/sda8        528A42F78A42D6DF                       ntfs       PBR Image

================================ Mount points: =================================

Device           Mount_Point              Type       Options

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


=========================== sda6/boot/grub/grub.cfg: ===========================
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.