[Solved] Cannot dual boot with Windows 8

General support questions
Locked
saadishahin
Posts: 2
Joined: 2014/07/25 15:06:06

[Solved] Cannot dual boot with Windows 8

Post by saadishahin » 2014/07/25 15:13:46

Hello,

I've installed CentOS 7 to work side by side with Windows 8, but is not listed in the boot menu after installing Cent OS.

i tried to add a custom entry and automatic detection using 40_custom and 15_windows, it says found Windows 8 on dev/sda1 ... bla bla bla but nothing happens after restart :(

I don't want to use Windows repair so i can't use centos anymore. i want to use centos and windows side by side.

any solutions?

Thanks in advance.
Last edited by saadishahin on 2014/07/28 12:51:02, edited 1 time in total.

vimj
Posts: 4
Joined: 2014/07/26 21:51:58

Re: Cannot dual boot with Windows 8

Post by vimj » 2014/07/26 22:01:30

I had a similar issue trying to dual boot with Windows 8.1 Pro, and this worked for me.

I added the following entry to /etc/grub2.cfg

Code: Select all

menuentry 'Windows 8 (loader)' {
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos1'
        ntldr /bootmgr
}
Try and see if that works for you.

vimj
Posts: 4
Joined: 2014/07/26 21:51:58

Re: Cannot dual boot with Windows 8

Post by vimj » 2014/07/27 03:42:29

I had a similar issue with dual booting Windows 8.1 64 bit.
This worked for me.

Add the following to /etc/grub2.cfg

Code: Select all

menuentry 'Windows 8 (loader)'
        insmod part_msdos
        insmod ntfs
        set root='hd0,msdos1'
        ntldr /bootmgr

saadishahin
Posts: 2
Joined: 2014/07/25 15:06:06

Re: [Solved] Cannot dual boot with Windows 8

Post by saadishahin » 2014/07/28 13:03:38

Thank you very much vimj, but it wasn't worked for me.


anyway i found the solution, after running the grub2-mkconfig i just realized that the "/etc/grub2.cfg" is not updated even if it's detecting the windows partition at the terminal.

after running the grub2-mkconfig, i just checked the section "### BEGIN /etc/grub.d/30_os-prober ###", and copied the menu entry from there in the terminal, as explained in the picture:


Image

after that, i added the menu entry to the grub2 config file "/etc/grub2.cfg" in the same section "### BEGIN /etc/grub.d/30_os-prober ###".

and finally, i booted to the windows os :)

srinivasj19
Posts: 17
Joined: 2014/07/28 14:58:53

Re: [Solved] Cannot dual boot with Windows 8

Post by srinivasj19 » 2014/08/11 15:40:13

I too have same problem . I'm unable to see windows 7 while booting. So I tried to add menu entry in grub.cfg. But I'm getting an error permission denied. Kindly please help me.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: [Solved] Cannot dual boot with Windows 8

Post by toracat » 2014/08/11 16:16:55

@srinivasj19

Please start a new thread rather than 'hikacking' this one. If necessary, you can refer to this thread in your post.
CentOS Forum FAQ

Locked