CentOS 7 Dual Boot with Windows 7
Step-1 Install Windows 7 and Make some Free space for Linux Installation.
Remark: As I remain free unallocated 25 GB space coz Linux not support NTFS File system.
Step-2 Install CentOS7 below screen showing and Windows 7 Not showing. So We need to Update few Entries for Windows 7 in "GRUB2.CFG file.
Step3-For Dual boot first Check Partition Using Fdisk -l command.
Here harddisk showing /dev/sda means One Harddisk is installed
/dev/sda1 * showing Windows Boot partition with NTFS File System.
/dev/sda5 showing Linux Installation partition.
You Can also see partition details using cfdisk command in details
Step4 For Update Grub.cfg file
Open Terminal in Administrative mode using su command.
Step5:Open grub.cfg file using vi editor
Step6: Update below mention 5 Line under this line (### END /etc/grub.d/10_linux ###)
####### Windows 7 ########
menuentry "Windows 7" {
set root='(hd0,1)'
chainloader +1
}
Remark: hd0-If windows install in 1st Harddisk and 1 for Windows boot partition.
Step8:Now Restart your Linux and check your Boot Menu.
Thanks
No comments:
Post a Comment