[SOLVED] Installing Windows 7 and RHEL5 Facing problem
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently install windows 7 first and then RHEL 5, now i can only boot into my linux machine, upon installing the RHEL5 i choose windows7 as a default os, but i cant boot my windows 7 anymore after rhel5 installation, below is the output of my default grub.conf file and output of fdisk command. grub is installed in /dev/sdb,
Please help me out.
[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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00_root/LogVol00_root
# initrd /initrd-version.img
#boot=/dev/sdb
default=1
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-128.el5xen)
root (hd1,0)
kernel /xen.gz-2.6.18-128.el5
module /vmlinuz-2.6.18-128.el5xen ro root=/dev/VolGroup00_root/LogVol00_root rhgb quiet
module /initrd-2.6.18-128.el5xen.img
title Other
rootnoverify (hd1,4)
chainloader +1
[fdisk -l]
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda4 4476 77825 589183875 5 Extended
/dev/sda5 4998 9567 36700160 7 HPFS/NTFS
/dev/sda6 9567 12753 25599546 8e Linux LVM
/dev/sda7 12754 14665 15358108+ 8e Linux LVM
/dev/sda8 14666 15187 4192933+ 82 Linux swap / Solaris
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
224 heads, 19 sectors/track, 459004 cylinders
Units = cylinders of 4256 * 512 = 2179072 bytes
What's on sda5? That's where your grub.conf file entry for windows is pointing (hd1,4) and that is the drive where your Red Hat install is. I doubt that is correct. The most logical place for your windows would be sdb1 as it is a windows partition and is marked active. Try the entry below:
Quote:
title Other
rootnoverify (hd0,0)
chainloader +1
If that doesn't work, post back with any error(s) as the entry may need to be mapped.
What's on sda5? That's where your grub.conf file entry for windows is pointing (hd1,4) and that is the drive where your Red Hat install is. I doubt that is correct. The most logical place for your windows would be sdb1 as it is a windows partition and is marked active. Try the entry below:
If that doesn't work, post back with any error(s) as the entry may need to be mapped.
Thanks for your reply yancek i changed to (hd0,0) now its working , and i can log in to my windows , thanks a lot sir
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.