grub not detecting windows 8
        Posted  
        
            by 
                Satyajit B M
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by Satyajit B M
        
        
        
        Published on 2012-12-11T10:59:16Z
        Indexed on 
            2012/12/11
            11:16 UTC
        
        
        Read the original article
        Hit count: 288
        
I have a dell inspiron 5520. I had installed windows 8 and have ubuntu 12.04 installed in a different partition. I installed grub but it was not showing windows 8. So i added
menuentry "Windows 8" {
set root = "(hd0,4)"
chainloader +1
}
in /etc/grub.d/40_custom. Now i see windows 8 option but it says "error-invalid selection" when i select it. please help. This is the op of fdisk -l command
/dev/sda1 * 16072 626807 305368 de Dell Utility
/dev/sda3 7645184 500201471 246278144 7 HPFS/NTFS/exFAT
/dev/sda4 500203518 976771071 238283777 f W95 Ext'd (LBA)
Partition 4 does not start on physical sector boundary.
/dev/sda5 500203520 870275071 185035776 7 HPFS/NTFS/exFAT
/dev/sda6 870277120 886276095 7999488 82 Linux swap / Solaris
/dev/sda7 886278144 976771071 45246464 83 Linux
© Ask Ubuntu or respective owner