After installing 'windoze', pop in the first redhat cd (bootable), and
the the boot
prompt (installation), type:
linux rescue
This will boot into linux rescue. It will ask you for your languange,
and try to mount
you linux root ('/') where redhat is installed. Usually, yout root will
be mounted
on '/mnt/sysimage' if it is detected succesfully - I've never had
problems here.
The do
chroot /mnt/sysimage
And, you will have acces to your '/'.
If you don't have 1 million and 1 partions for linux installation, the
next step wout be
to reinstall your boot loader 'grub' with
/sbin/grub --config-file /path/to/ grub.conf
and add the lines to '/path/to/grub.conf'
##############################
title Windoze
rootnoverify (hd0,2)
chainloader +1
##############################
where hd0 - primary master (ide)
So, (hd0,2) is hda3 - 3rd partion, primary master, which where widoze
sitting.
P.S Counting starts at 0 for 'grub'. Those three lines have booted
win98/se and 2000,
so, XP should work as well.
If you have multiple partitons for you linux, then you wil need
to mount '/boot' for kernel 'images (and grub)
and possibly '/etc' if you 'grub.conf' sits there.
And after you are done, exit.
This scenario ,assumes you are going to, or have installed, linux
first -- the easiest thing to
do, is to install 'windoze' first, then linux as your 'windoze'
installation will be picked up during
the linux installation.
Lee Sanders wrote:
OFF TOPIC: (anyone tell me how I can answer this questions)
Scenario : install Red Hat 7.3, install windows (for testing only, honest !)
problem : grub has gone
Question : er, how do I resinstall grub ?
(believe me, I tried, I ended up completely reinstalling the whole of RH as it refused to do anything to the boot loader without kernel updates being required)