Problem setting up dual boot


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem setting up dual boot
# 1  
Old 11-05-2008
Problem setting up dual boot

Hi,

I am trying to set up a dual boot system with Red Hat EL 5.2 and Windows XP Pro. I have a separate disk for each OS. Grub is on the same disk as redhat(the primary disk). I know that Windows is installed correctly because if I force a load on the secondary disk Windows loads correctly. However when I go through grub it doesn't seem to recognize the 2nd disk. I get:

rootnoverify (hd1,0)
chainloader +1

Which are simply instructions from the grub.conf file telling the system to boot from hd1, which points to /dev/hdb. How do I get grub to recognize /dev/hdb as the drive to load for Windows?

Here is my /boot/grub/device.map:

# this device map was generated by anaconda
(hd0) /dev/hda
(hd1) /dev/hdb

Here is my /boot/grub/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,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-92.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-92.el5.img
title Microsoft Windows XP
rootnoverify (hd1,0)
chainloader +1

Here is my fdisk -l:

Disk /dev/hda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 25509 204796620 83 Linux
/dev/hda3 25510 38913 107667630 8e Linux LVM

Disk /dev/hdb: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4997 40138371 7 HPFS/NTFS

Any help would be great. Thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Do you dual-boot with other os

When I first started using Linux (Ubuntu) I decided to just do a full install. The PC I installed it on, was full of viruses and to be honest, I was never good handling them. So, I decided to just go for it and install. Anyways I got another computer recently, a much newer one and I decided to... (3 Replies)
Discussion started by: billcrosby
3 Replies

2. Emergency UNIX and Linux Support

Dual boot

Hi, I am having 1 TB hard disk and in that I have to install windows,linux 64 bit and linux 32 bit total 3 operating systems I need to install, how could I do that please help. I am having 64 bit machine h/w Thanks, Trimurtulu (5 Replies)
Discussion started by: ktrimu
5 Replies

3. UNIX for Advanced & Expert Users

Setting up Dual Monitor info and help

This is a nice little article for setting up dual monitors. Ubuntu Tips: How To Setup Dual Monitor (link removed) Does anyone know how to do this from the terminal? I wanted to add a key detail that was neglected from the first article I read. This only matters if you are trying to... (3 Replies)
Discussion started by: cokedude
3 Replies

4. Red Hat

Dual Boot Problem - Vista & Redhat -Incorrect BIOS geometry

Hi Folks, Initially I had vista and redhat 9 .. due to some reasons i had to re instal my vista again.. since then the dual boot menu disappeared.. i tried to re install redhat and changing the boot configuration of redhat 9 but i am not getting both the OS back .. I am not aboe to boot linux... (2 Replies)
Discussion started by: subhotech
2 Replies

5. Linux

Dual-boot help

Does anyone know if it is possible to have a dual-boot machine with Linux (RH FC 5) and Unix (Solaris 10)? I currently have one OS (Linux RH FC 5) on one drive (master) and another OS (Unix - Solaris 10) on the other drive (slave). I am a little unsure of what to modify the grub.config file with,... (1 Reply)
Discussion started by: trmn8r
1 Replies

6. Solaris

Windows / Open Solaris dual boot problem.

Okay, let me sketch the problem. I did have a ubuntu / Windows XP dual boot scenario that ran grub as my boot loader. I decided I wanted to try out solaris, so I popped in the opensolaris CD and hit install and told it to format and install over my linux partition. Of course it did that, and... (2 Replies)
Discussion started by: syndex
2 Replies

7. UNIX for Dummies Questions & Answers

another dual boot question/problem

Well, I formatted my entire harddrive (40gig), partitioned it into three partitions, FAT32 for WindowsXP (30 gig), Linux ext3 (7gig), and Linux swap (about 500mb). All this with PartitionMagic 8.0 and it took hours. After all that, I installed the "publishers version" of Red Hat with ease. I was on... (12 Replies)
Discussion started by: chutt
12 Replies

8. UNIX for Advanced & Expert Users

Dual boot problem

Hi All, I have a pc loaded with windows 2000 professional. Recently added new disk of size 80GB and installed redhat linux to second disk. Now system is booting to linux but not to windows 2000. How to configure for dual boot. Thanks in advance - Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

9. UNIX for Dummies Questions & Answers

Dual Boot problem,help!!!!

I had Win98 and Win Xp on a dual boot on my system, I formatted my C: drive to get rid of Win98 and installed Linux Madrake in its Place, it all installed ok but when I boot up I can no longer dual boot and it goes straight into Mandrake Linux. How can I get either a dual boot so I can get to XP... (10 Replies)
Discussion started by: Merv
10 Replies

10. UNIX for Dummies Questions & Answers

problem in dual boot

i want to know how do i make my system a dual boot system for Linux 7.1 and Windows Nt 4.0 :( :confused: :confused: (2 Replies)
Discussion started by: mad2life
2 Replies
Login or Register to Ask a Question