I bought a new PC with Windows 8 and wanted to dual-boot linux.I shrank the partition by 50GB in windows, then  installed CentOS from a live CD.CentOS is working fine, but I can't boot into Windows 8 any more.My Grub options are CentOS and other -- when I select other it basically says windows cannot boot properly.I don't believe anything has been overwritten on the Windows 8 partition, but the boot sequence is out of whack.How should I go about troubleshooting this?[root@localhost]# parted -lModel: ATA ST500DM002-1BD14 (scsi)Disk /dev/sda: 500GBSector size (logical/physical): 512B/4096BPartition Table: gptNumber  Start   End     Size    File system  Name                          Flags 1      1049kB  525MB   524MB   fat32        EFI system partition          boot 2      525MB   567MB   41.9MB  fat32        Basic data partition          hidden 3      567MB   701MB   134MB                Microsoft reserved partition  msftres 4      701MB   1215MB  514MB   ntfs         Basic data partition          hidden, diag 5      1215MB  436GB   435GB   ntfs         Basic data partition 7      436GB   437GB   524MB   ext4                                       boot 8      437GB   488GB   51.0GB                                             lvm 6      488GB   500GB   12.6GB  ntfs         Microsoft recovery partition  hidden, diagModel: Linux device-mapper (linear) (dm)Disk /dev/mapper/vg_centos6-lv_swap: 4027MBSector size (logical/physical): 512B/4096BPartition Table: loopNumber  Start  End     Size    File system     Flags 1      0.00B  4027MB  4027MB  linux-swap(v1)Model: Linux device-mapper (linear) (dm)Disk /dev/mapper/vg_centos6-lv_root: 47.0GBSector size (logical/physical): 512B/4096BPartition Table: loopNumber  Start  End     Size    File system  Flags 1      0.00B  47.0GB  47.0GB  ext4
Installed CentOS, Now There is No Windows 8 Options on Restart
centos;windows;dual boot;boot loader;uefi
os-proberUse os-prober. If it's not installed then install it. Then run grub-mkconfig -o /boot/grub/grub.cfg.UEFI secure bootAfter some additional digging it appears that Pre install windows 8 comes with UEFI secure boot enabled (UEFI which substitutes what we have known as the BIOS) which prevent unrecognized source to boot or LinuxYou can off the UEFI secure boot if you want:while holding shift key click on restart option (from power)windows will show you option then select Troubleshootselect advanced optionsselect UEFI frameware settings then disable it after restartIf you dont get the windows 8 listed in grub menu then type following command in terminal while mounting drive which have windows installedgrub2-mkconfig -o /boot/grub2/grub.cfg