LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2012, 03:30 AM   #1
gemmajid
Member
 
Registered: Mar 2012
Location: Karachi
Distribution: Ubuntu, RedHat, CentOs,
Posts: 104

Rep: Reputation: Disabled
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..
 
Old 03-31-2012, 04:01 AM   #2
gemmajid
Member
 
Registered: Mar 2012
Location: Karachi
Distribution: Ubuntu, RedHat, CentOs,
Posts: 104

Original Poster
Rep: Reputation: Disabled
I'm able to see windows files in /dev/sda1 * 1 2550 20482843+ c W95 FAT32 (LBA) this partition.
 
Old 03-31-2012, 04:08 AM   #3
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
Try putting/adding the following into your grub.conf;

title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
 
Old 04-01-2012, 03:23 AM   #4
gemmajid
Member
 
Registered: Mar 2012
Location: Karachi
Distribution: Ubuntu, RedHat, CentOs,
Posts: 104

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 04-01-2012, 03:32 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 04-02-2012, 01:27 AM   #6
gemmajid
Member
 
Registered: Mar 2012
Location: Karachi
Distribution: Ubuntu, RedHat, CentOs,
Posts: 104

Original Poster
Rep: Reputation: Disabled
Thanks alot you all that was really informative.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to dual boot with new windows partition Cultist Linux - Software 1 03-13-2012 07:34 AM
Unable to boot ubuntu in a dual boot with windows 7 on Lenovo L420 bipin0013 Linux - Laptop and Netbook 10 09-14-2011 09:24 AM
unable to obtain dual boot with windows Xp vsthegr8 Fedora - Installation 9 07-04-2010 08:40 PM
unable to boot linux in dual boot system ashraflinux1@gmail.com Linux - Server 1 11-17-2009 11:02 PM
Windows XP Suse 9.2 dual boot problem:Yast doesn't find windows Salawat SUSE / openSUSE 1 03-31-2006 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration