Re: Cannot Dual-Boot Centos with Windows 7

Posted by Enzan on 2012/2/25 22:07:16
Here are the contents of grub.conf.

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,3)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_baskettcentos-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,3)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-220.el6.x86_64)
	root (hd0,3)
	kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/vg_baskettcentos-lv_root rd_NO_LUKS  
KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_LVM_LV=vg_baskettcentos/lv_root rd_NO_MD quiet 
rd_LVM_LV=vg_baskettcentos/lv_swap rhgb crashkernel=auto SYSFONT=latarcyrheb-sun16 rd_NO_DM
	initrd /initramfs-2.6.32-220.el6.x86_64.img

title Windows 7
	insmod part_msdos
	insmod ntfs
	root (hd0,0)
	savedefault
	makeactive
	rootnoverify (hd0,0)
	chainloader +1


Edited so it doesn't overflow

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=55&topic_id=35853&post_id=155857