LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to Find Windows in dual boot System (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-find-windows-in-dual-boot-system-937373/)

gemmajid 03-31-2012 03:30 AM

Unable to Find Windows in dual boot System
 
Hello All,

I'm back with new problem recently i have installed CentOs 6.2 in my system but when installation get completed i was unable to see my windows partition in "grub.conf" as i was trying to make my system dual but failed i'm able to get all my partition through "fdisk -l" command.

my fdisk command shows some thing like this,

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x97be5b6a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sda2 2551 9728 57657285 f W95 Ext'd (LBA)
/dev/sda5 2551 5100 20482843+ b W95 FAT32
/dev/sda6 7651 9728 16691503+ b W95 FAT32
/dev/sda7 5101 7520 19433472 83 Linux
/dev/sda8 7520 7650 1046528 82 Linux swap / Solaris

Partition table entries are not in disk order



i got some thing like this when saw grub.conf

"# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/sda7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-220.el6.i686)
root (hd0,6)
kernel /boot/vmlinuz-2.6.32-220.el6.i686 ro root=UUID=a46dea96-7790-4efe-9fdd-622f44e2df6e rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
initrd /boot/initramfs-2.6.32-220.el6.i686.img"


Help me guys..

gemmajid 03-31-2012 04:01 AM

I'm able to see windows files in /dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA) this partition.

fatmac 03-31-2012 04:08 AM

Try putting/adding the following into your grub.conf;

title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

gemmajid 04-01-2012 03:23 AM

Dear fatmac,

Thanks alot the issue is resolved but one more thing that i wanted to know that why the grub loader didn't add windows entry to grub.conf file is there any installation mistake which i did ?

syg00 04-01-2012 03:32 AM

Grub doesn't care - Anaconda (the Redhat/CentOS installer) tries to build entries for you.
But IIRC only for NTFS, not Windoze systems installed in FAT partitions.

You did nothing wrong during the CentOS install.

gemmajid 04-02-2012 01:27 AM

Thanks alot you all that was really informative.


All times are GMT -5. The time now is 02:14 AM.