Thread: [SOLVED] Grub, dual win7 & f16
View Single Post
  #6  
Old 22nd February 2012, 03:39 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,550
Re: Grub, dual win7 & f16

Quote:
Originally Posted by spacin

it looks like this one worked i havent rebooted yet....
Code:
su
grub2-mkconfig -o /boot/grub2/grub.cfg
output of that was....
Code:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.6-3.fc16.i686
Found initrd image: /boot/initramfs-3.2.6-3.fc16.i686.img
Found linux image: /boot/vmlinuz-3.1.0-7.fc16.i686
Found initrd image: /boot/initramfs-3.1.0-7.fc16.i686.img
Found Windows 7 (loader) on /dev/sda1
done
Well, it at least found the Windows system.
Quote:
Originally Posted by spacin

i havent rebooted yet....
If Windows still is not in the boot menu when you reboot (not exactly unheard of), then I would proceed to write a simple custom entry for it in /etc/grub.d/40_custom and run the grub2-mkconfig command again.

To try that idea , open /etc/grub.d/40_custom and add the following lines below the text already there (see the GRUB Manual)...
Code:
menuentry "Windows" {
	insmod chain
	insmod ntfs
	set root=(hd0,1)
	chainloader +1
}
After that, regenerate the grub.cfg file again...
Code:
su
grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot. Try to boot Windows.
Reply With Quote