Windows boot option missing from Boot manager on installatio
-
- Posts: 27
- Joined: 2014/06/10 22:05:16
Windows boot option missing from Boot manager on installatio
I upgraded/wiped my CentOS 6.5 system, went over the disk configuration options over and over and I, or it, couldn't get it right.
On startup, my Windows boot on Disk 0 was gone, no sign of it.
The CENTOS boot option was the only one, which works fine to Disk 1. (It IS still named centos65, I never quite did catch where the server name was, maybe that's something else unclear...)
Considering the amount of time I spent re-checking this, I think it's a problem. Considering the boot manager _must_ be sitting on Disk 0 it's confusing that it lost the OS. I'm a little panicked that it may have wiped it completely. Being a Sandbox PC it's not a crushing loss.
Being a lifelong windows person, I'll be going to look up how it is you fix bootmgr to add an OS to the list....<sigh> Hate to use the Windows CD to fix this, since I'm trying to get up to speed on Linux....
On startup, my Windows boot on Disk 0 was gone, no sign of it.
The CENTOS boot option was the only one, which works fine to Disk 1. (It IS still named centos65, I never quite did catch where the server name was, maybe that's something else unclear...)
Considering the amount of time I spent re-checking this, I think it's a problem. Considering the boot manager _must_ be sitting on Disk 0 it's confusing that it lost the OS. I'm a little panicked that it may have wiped it completely. Being a Sandbox PC it's not a crushing loss.
Being a lifelong windows person, I'll be going to look up how it is you fix bootmgr to add an OS to the list....<sigh> Hate to use the Windows CD to fix this, since I'm trying to get up to speed on Linux....
Re: Windows boot option missing from Boot manager on install
El7 no longers adds Windows partitions to the menu automatically. Ask Redhat why not 
You can add something to do so by editing a script in /etc/grub.d. I have a /etc/grub.d/15_windows that is a) executable and b) looks like
The root='hd0,msdos1' will probably need to change unless, like mine, yours is on the first partition of the first phyiscal disk.

You can add something to do so by editing a script in /etc/grub.d. I have a /etc/grub.d/15_windows that is a) executable and b) looks like
Code: Select all
#!/bin/bash -e
echo "Adding Windows" >&2
cat <<EOF
menuentry "Windows 7" {
set root='hd0,msdos1'
chainloader +1
}
EOF
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 27
- Joined: 2014/06/10 22:05:16
Re: Windows boot option missing from Boot manager on install
I actually just gave up and reinstalled centos65, it found and added my Windows OS.
This does look pretty close to what I got on re-installation:
in /etc/grub.conf
-tons of gobbly related to centos then-
title Other
rootnoverify (hd0,0)
chainloader +1
Selecting Other gets me my old Windows XP OS.
This does look pretty close to what I got on re-installation:
in /etc/grub.conf
-tons of gobbly related to centos then-
title Other
rootnoverify (hd0,0)
chainloader +1
Selecting Other gets me my old Windows XP OS.
Re: Windows boot option missing from Boot manager on install
This does not seem to be completely true. After installing ntfs-3g from epel and "grub2-mkconfig -o /boot/grub2/grub.cfg" os-proper did find Windows 7 and inserted it into grub boot menu automatically. (And I assume this will work with Windows XP, too.)TrevorH wrote:El7 no longers adds Windows partitions to the menu automatically. Ask Redhat why not
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Windows boot option missing from Boot manager on install
I am sorry, can you please provide some details steps on how to fix this?
I've just installed CentOS 7 and my windows 7 boot is gone. Only the CentOS linux boot option is available.
thank you.
newbie
I've just installed CentOS 7 and my windows 7 boot is gone. Only the CentOS linux boot option is available.
thank you.
newbie
Re: Windows boot option missing from Boot manager on install
I find it too. I think anaconda cant see ntfs withoute driver. After adding ntfs-3g and grub costumiser gui, it was automatic.owl102 wrote:This does not seem to be completely true. After installing ntfs-3g from epel and "grub2-mkconfig -o /boot/grub2/grub.cfg" os-proper did find Windows 7 and inserted it into grub boot menu automatically. (And I assume this will work with Windows XP, too.)TrevorH wrote:El7 no longers adds Windows partitions to the menu automatically. Ask Redhat why not
Re: Windows boot option missing from Boot manager on install
Install epel repo:linksqa4life wrote:I am sorry, can you please provide some details steps on how to fix this?
I've just installed CentOS 7 and my windows 7 boot is gone. Only the CentOS linux boot option is available.
thank you.
newbie
install ntfs-3g driver from it.
Install Grub Customizer it will automaticly find your win. enable it, reboot.
Re: Windows boot option missing from Boot manager on install
Since epel-release has gotten part of CentOS 7 it's even easier than that, a simple "yum install epel-release" will add the epel repository.Vladi wrote:Install epel repo:link
So in total we have (enter as root):
Code: Select all
yum install epel-release
yum install ntfs-3g os-prober
grub2-mkconfig -o /boot/grub2/grub.cfg
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/
Re: Windows boot option missing from Boot manager on install
Thank you! This worked, but now my system is using the original 7.1 kernel because of this bug. CentOS versionowl102 wrote:Vladi wrote:Install epel repo:[url=https://fedoraproject.org/wiki/EPEL
So in total we have (enter as root):Code: Select all
yum install epel-release yum install ntfs-3g os-prober grub2-mkconfig -o /boot/grub2/grub.cfg
I tried the patch in the bug report to /usr/share/grub/grub-mkconfig_lib and my boot order is still screwed up. I'm probably missing a step, so I ended up manually editing grub.
Re: Windows boot option missing from Boot manager on install
slacka,slacka wrote: Thank you! This worked, but now my system is using the original 7.1 kernel because of this bug. CentOS version
I tried the patch in the bug report to /usr/share/grub/grub-mkconfig_lib and my boot order is still screwed up. I'm probably missing a step, so I ended up manually editing grub.
This [boot order] is a separate issue and you should have started a new topic. Anyway, the problem has been resolved in grub2-2.02-0.17.el7_1.4 as noted in CentOS bug #7651 you referenced.
CentOS Forum FAQ