• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 570
  • Last Modified:

Dual Boot Redhat linux 7.3 & windows NT

Hi,

I have two hard disks, master and slave. I have windows Nt installed on the master and redhat linux 7.3 on the slave.
While installing redhat, I set the linux grub to boot from the master disk. When I try to start up my PC, i only get linux but not windows.I unplugged the slave drive, but still I get linux. how can I get to windows NT??please help.

-Mike
0
redsox34
Asked:
redsox34
  • 7
  • 6
1 Solution
 
victorbxCommented:
Edit /etc/grub.conf and add the lines


title Windows 2000
rootnoverify (hd0,0)
chainloader +1
0
 
paullamhkgCommented:
Actually the grub.conf is in /boot/grub/, and because you install the GRUB in the MBR (Master Boot Record), so even you unplugged the linux still have the same result.

victorbx already gave you good hints, but I will change it like below

#
# Sample boot menu configuration file
#

# Boot automatically after a minute.
timeout 60

# By default, boot the second entry.
default 1

# Fallback to the first entry.
fallback 0

title Windows 2000
unhide (hd0,0)
hide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,0)
chainloader +1
makeactive

# For booting Linux
title  Linux
root (hd0,7)
kernel /boot/vmlinuz-2.4 root=/dev/hda8 video=matrox:vesa:261

read here for more info abt GRUB http://www.tldp.org/HOWTO/Multiboot-with-GRUB-2.html#ss2.3
0
 
GnsCommented:
Um, Paul... Do you know something we don't? As I read it, all that is needed is what victorbx suggests, since the hide/unhide wouldn't be needed in this case (NT/2k/xp don't strictly need be on the first drives first partition... but it already is... And no other "strangeness" either:-).

-- Glenn
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
paullamhkgCommented:
Glenn I know we should not suggest someone already comments, and I've already clarify victorbx give the good hints, for the hide/unhide I'm not sure, I use it all the time, may be I should take it out too.

Paul
0
 
GnsCommented:
Might be worth a go:-). As I said, the hide/unhide is there to "help" situations where some OS has strict limitations on where it can boot from... Pretty much like the makeactive that simply ensure that the partition has a (possibly spurious) "active" or "bootable" bit set in the partition table.
The OS needing this kind of crutch is mostly DOS and it's descendants (graphical shells like w9x, wme ...).
So unless you have any of those, you should be fine without the hide/unhide. My guess is that none of the OSes involved (linux or nt/2k/xp?) would have any problems.

-- Glenn
0
 
paullamhkgCommented:
Glenn

how abt the makeactive should I keep ?

Paul

ps redsox34, I should not use your TA to ask question, but I think this can also give you idea so please forgive me:)
0
 
paullamhkgCommented:
Sorry Glenn I re read your post and found you already said the answer, please ignore my question.
0
 
GnsCommented:
Depends on whether the OS needs it or not. I don't think ntldr needs it, but I've actually never tested that... at least what I can remember:-). Yeah I'm chicken... and lazy:-):-).
Try it! It wont keep you from booting linux, so it'll be easy to change back;-).
Only confirmed that DOS&friends need it... I suspect most others dont care.

-- Glenn
0
 
GnsCommented:
Fast typing today Paul:-).

Rgrds

-- Glenn
0
 
paullamhkgCommented:
Not so many drink last night, still awake that's why :P

Paul
0
 
GnsCommented:
Drinks on a monday/tuesday... Lucky man (or the begginings of a bad habit:-). I spent last night battling Oracle9iR2 on a RH9. No fun at all... Since Oracle still cling to the terminal stupidity of relinking .o files for their products... It's spelled glibc i-n-c-o-m-p-a-t-i-b-i-l-i-t-y! I could sure have used a drink or two there and then:-).

Sorry redsox34 for this just turning off-topic.

-- Glenn
0
 
paullamhkgCommented:
This month is the birthday and wedding month of my friends, I got 4 invitation for wedding parties, 5-6 birthday parties that why drinking on week days, normally only on weekend for me :)

Are u talking abt Oracle9i? I did a success install, but after the memory problem I need to reinstall into anonther server, but fail, still trying trying and trying, which make me crazy, may be I take another drink will help :)
0
 
GnsCommented:
Yeah, and go look at http://www.puschitz.com/InstallingOracle9i.shtml#OracleInstallationErrors if you haven't already. Saved me some hairpulling (not much thiough, since the OEM repository install triggered pretty much everything on that page).

Be well

-- Glenn
0
 
paullamhkgCommented:
Thanks Glenn, it's very helpful :)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now