Hi all! I've just installed C7 on my netbook that already contained Win7 (and also Fedora 19, which the C7 is intended to replace). The Fedora installer had found the windows installation and it appeared in the grub menu, and was bootable and worked fine. The C7 installer did not put the windows installation into the grub menu. with some googling I found a page at https://priteshugrankar.wordpress.com/2014/09/12/dual-booting-centos-7-and-windows-7/ that gives a simple recipe for fixing this problem. basically: cp /boot/grub2/grub.cfg orig.grub.cfg grub2-mkconfig -o /boot/grub2/grub.cfg with (on his system) the second command above producing this output: [root at localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.16.2-1.el7.elrepo.x86_64 Found initrd image: /boot/initramfs-3.16.2-1.el7.elrepo.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-123.6.3.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.6.3.el7.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-327fe33f3b364802871211321a2790b7 Found initrd image: /boot/initramfs-0-rescue-327fe33f3b364802871211321a2790b7.img Found Windows 7 (loader) on /dev/sda1 Found Windows 7 (loader) on /dev/sda2 done Unfortunately, when I did it, I got this: Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-123.20.1.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.20.1.el7.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-c875112952114f6284f69abaa4f9a2f7 Found initrd image: /boot/initramfs-0-rescue-c875112952114f6284f69abaa4f9a2f7.img done No mention of the windows installation. It's not that I use the win7 installation much, but I do want to be able to do so when one of those rare occasions pops up. Thanks in advance! Fred -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven." ------------------------------ Matthew 7:21 (niv) -----------------------------
miguelmedalha at sapo.pt
2015-Mar-02 01:15 UTC
[CentOS] installing C7 on a laptop with Win7, dual boot
> > It's not that I use the win7 installation much, but I do want to be able > to do so when one of those rare occasions pops up. >If your laptop is powerful enough and its processor supports hardware virtualization, you can have both systems running at the same time with almost no speed decrease. There are free virtualization solutions such as Virtual Box. You would instsl C7 and then create a virtual machine for Windows. When you need Windows, just run it in a window. Dual boot is a PITA.
On Mon, Mar 02, 2015 at 01:15:14AM +0000, miguelmedalha at sapo.pt wrote:> > > > >It's not that I use the win7 installation much, but I do want to be able > >to do so when one of those rare occasions pops up. > > > > If your laptop is powerful enough and its processor supports > hardware virtualization, you can have both systems running at the > same time with almost no speed decrease. There are free > virtualization solutions such as Virtual Box. You would instsl C7 > and then create a virtual machine for Windows. When you need > Windows, just run it in a window. > > Dual boot is a PITA.yeah, I know! this is a netbook with a dual core 1.6Ghz Atom. not very powerful. I also don't have any installation media, all I have is the running Windows system, so I'd have to figure out how to turn a "real" machine into a VM. I know its doable, I'm just not sure I want to go that route. but thanks for the suggestion! Fred -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- But God demonstrates his own love for us in this: While we were still sinners, Christ died for us. ------------------------------- Romans 5:8 (niv) ------------------------------
Chris Murphy
2015-Mar-02 04:26 UTC
[CentOS] installing C7 on a laptop with Win7, dual boot
On Sun, Mar 1, 2015 at 6:06 PM, Fred Smith <fredex at fcshome.stoneham.ma.us> wrote:> Unfortunately, when I did it, I got this: > > Generating grub configuration file ... > Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 > Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img > Found linux image: /boot/vmlinuz-3.10.0-123.20.1.el7.x86_64 > Found initrd image: /boot/initramfs-3.10.0-123.20.1.el7.x86_64.img > Found linux image: /boot/vmlinuz-0-rescue-c875112952114f6284f69abaa4f9a2f7 > Found initrd image: /boot/initramfs-0-rescue-c875112952114f6284f69abaa4f9a2f7.img > done > > No mention of the windows installation.Short solution: Does /etc/default/grub contain 'GRUB_DISABLE_OS_PROBER="true" ? If so, comment that out and rerun the grub2-mkconfig command. -- Chris Murphy
On Sun, Mar 01, 2015 at 09:26:59PM -0700, Chris Murphy wrote:> On Sun, Mar 1, 2015 at 6:06 PM, Fred Smith > <fredex at fcshome.stoneham.ma.us> wrote: > > Unfortunately, when I did it, I got this: > > > > Generating grub configuration file ... > > Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 > > Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img > > Found linux image: /boot/vmlinuz-3.10.0-123.20.1.el7.x86_64 > > Found initrd image: /boot/initramfs-3.10.0-123.20.1.el7.x86_64.img > > Found linux image: /boot/vmlinuz-0-rescue-c875112952114f6284f69abaa4f9a2f7 > > Found initrd image: /boot/initramfs-0-rescue-c875112952114f6284f69abaa4f9a2f7.img > > done > > > > No mention of the windows installation. > > Short solution: > Does /etc/default/grub contain 'GRUB_DISABLE_OS_PROBER="true" ? If so, > comment that out and rerun the grub2-mkconfig command.No, it doesn't contain that line. -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- But God demonstrates his own love for us in this: While we were still sinners, Christ died for us. ------------------------------- Romans 5:8 (niv) ------------------------------
> I've just installed C7 on my netbook that already contained Win7 (and > also Fedora 19, which the C7 is intended to replace).If you want "dodge" a fight with grub, you can install EasyBCD (to windows OS) and handles multiple systems. (you can found a trial version): http://neosmart.net/EasyBCD/ I use it to handles 4 os tell me... Pol
Mário Barbosa
2015-Mar-02 14:33 UTC
[CentOS] installing C7 on a laptop with Win7, dual boot
On 03/02/2015 02:06 AM, Fred Smith wrote:> Hi all! > > I've just installed C7 on my netbook that already contained Win7 (and > also Fedora 19, which the C7 is intended to replace). The Fedora installer > had found the windows installation and it appeared in the grub menu, > and was bootable and worked fine. > > The C7 installer did not put the windows installation into the grub > menu. > > with some googling I found a page at https://priteshugrankar.wordpress.com/2014/09/12/dual-booting-centos-7-and-windows-7/ that gives a simple recipe for > fixing this problem. basically: > > cp /boot/grub2/grub.cfg orig.grub.cfg > grub2-mkconfig -o /boot/grub2/grub.cfg > > with (on his system) the second command above producing this output: > > [root at localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg > Generating grub configuration file ... > Found linux image: /boot/vmlinuz-3.16.2-1.el7.elrepo.x86_64 > Found initrd image: /boot/initramfs-3.16.2-1.el7.elrepo.x86_64.img > Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 > Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img > Found linux image: /boot/vmlinuz-3.10.0-123.6.3.el7.x86_64 > Found initrd image: /boot/initramfs-3.10.0-123.6.3.el7.x86_64.img > Found linux image: /boot/vmlinuz-0-rescue-327fe33f3b364802871211321a2790b7 > Found initrd image: /boot/initramfs-0-rescue-327fe33f3b364802871211321a2790b7.img > Found Windows 7 (loader) on /dev/sda1 > Found Windows 7 (loader) on /dev/sda2 > done > > Unfortunately, when I did it, I got this: > > Generating grub configuration file ... > Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 > Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img > Found linux image: /boot/vmlinuz-3.10.0-123.20.1.el7.x86_64 > Found initrd image: /boot/initramfs-3.10.0-123.20.1.el7.x86_64.img > Found linux image: /boot/vmlinuz-0-rescue-c875112952114f6284f69abaa4f9a2f7 > Found initrd image: /boot/initramfs-0-rescue-c875112952114f6284f69abaa4f9a2f7.img > done > > No mention of the windows installation. > > It's not that I use the win7 installation much, but I do want to be able > to do so when one of those rare occasions pops up. > > Thanks in advance! > > Fred1) Install ntfs "support" yum install -y epel-release yum install -y ntfs-3g ntfsprogs 2) re-run the grub config gen script grub2-mkconfig -o /boot/grub2/grub.cfg Best, M?rio
On Mon, Mar 02, 2015 at 03:33:59PM +0100, M?rio Barbosa wrote:> On 03/02/2015 02:06 AM, Fred Smith wrote: > > Hi all! > > > > I've just installed C7 on my netbook that already contained Win7 (and > > also Fedora 19, which the C7 is intended to replace). The Fedora installer > > had found the windows installation and it appeared in the grub menu, > > and was bootable and worked fine. > > > > The C7 installer did not put the windows installation into the grub > > menu. > > > > with some googling I found a page at https://priteshugrankar.wordpress.com/2014/09/12/dual-booting-centos-7-and-windows-7/ that gives a simple recipe for > > fixing this problem. basically: > > > > cp /boot/grub2/grub.cfg orig.grub.cfg > > grub2-mkconfig -o /boot/grub2/grub.cfg > > > > with (on his system) the second command above producing this output: > > > > [root at localhost ~]# grub2-mkconfig -o /boot/grub2/grub.cfg > > Generating grub configuration file ... > > Found linux image: /boot/vmlinuz-3.16.2-1.el7.elrepo.x86_64 > > Found initrd image: /boot/initramfs-3.16.2-1.el7.elrepo.x86_64.img > > Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 > > Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img > > Found linux image: /boot/vmlinuz-3.10.0-123.6.3.el7.x86_64 > > Found initrd image: /boot/initramfs-3.10.0-123.6.3.el7.x86_64.img > > Found linux image: /boot/vmlinuz-0-rescue-327fe33f3b364802871211321a2790b7 > > Found initrd image: /boot/initramfs-0-rescue-327fe33f3b364802871211321a2790b7.img > > Found Windows 7 (loader) on /dev/sda1 > > Found Windows 7 (loader) on /dev/sda2 > > done > > > > Unfortunately, when I did it, I got this: > > > > Generating grub configuration file ... > > Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 > > Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img > > Found linux image: /boot/vmlinuz-3.10.0-123.20.1.el7.x86_64 > > Found initrd image: /boot/initramfs-3.10.0-123.20.1.el7.x86_64.img > > Found linux image: /boot/vmlinuz-0-rescue-c875112952114f6284f69abaa4f9a2f7 > > Found initrd image: /boot/initramfs-0-rescue-c875112952114f6284f69abaa4f9a2f7.img > > done > > > > No mention of the windows installation. > > > > It's not that I use the win7 installation much, but I do want to be able > > to do so when one of those rare occasions pops up. > > > > Thanks in advance! > > > > Fred > > > 1) Install ntfs "support" > yum install -y epel-release > yum install -y ntfs-3g ntfsprogs > > 2) re-run the grub config gen script > grub2-mkconfig -o /boot/grub2/grub.cfg > > Best, > M?rioAh, Mario, that's exactly what I needed to know! thanks! It seems rather like a chicken-and-the-egg problem, which came first? you can't install ntfs-3g until you've installed the system, and it won't notice the windows partition(s) there until you've installed ntfs-3g. But it sets up the grub config at install time, so you get a system apparently without windows support. A newbie (which I'm not) would certainly find this confusing/disheartening. Thanks again for the solution I needed! Fred -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "For the word of God is living and active. Sharper than any double-edged sword, it penetrates even to dividing soul and spirit, joints and marrow; it judges the thoughts and attitudes of the heart." ---------------------------- Hebrews 4:12 (niv) ------------------------------