On Thu, 01 Oct 2009 05:34:17 -0700, Malke wrote:
> 2nd Base wrote:
>
>> My Computer came with Linux. I added another HD and installed XP. I
>> would like to have the option at start up. As it stands (with the case
>> open) I have to unplug 1 and plug the same strap into the other. Please
>> help. Thank You
>
> Just repair Grub.
>
> I could be nasty and just say "man grub", but here's the nicer answer:
>
> http://www.google.com/#hl=en&source=...+grub+after+xp
> +install&aq=2&aqi=g5g-m1&oq=repair+Grub+after&fp=2cca7b2e99206b9c
It's going to be a little bit more involved than just "repair." We don't
even know if grub is the bootloader. Could be lilo. And . . .
This is not a simple case of an XP install overwriting Linux's
bootloader. Since both OSes will boot normally from the same drive
cable, I'm guessing that the OP unplugged the Linux drive and plugged the
same cable into his new second drive to install XP on, which since it was
the only drive connected became the C: drive. So, you have two OSes
installed on two drives, both of which are configured as C: or hda or sda
in Linux-speak.
To get Windows to boot off a second drive with Linux on the first with
the Linux bootloader configured correctly is possible, but not trivial.
Most times it involves, among other things, remapping the Windows drive
into thinking it's the C: drive to avoid inherent Windows problems:
Windows "likes" to be on the first partition of the first drive.
I would suggest the OP install both drives making sure that the one with
XP on it is recognized as the first drive. Then get--buy or download a
free one--a Windows-based boot manager that recognizes other OSes,
particularly Linux, and let the wizard set up the system for dual
booting. This is a much easier solution for someone who knows nothing
about the inner workings of Linux.
If Linux fails to boot when selected after doing the above--it probably
will--after all, it's now the second drive and all the configuration
files are written as if it were the first, then the OP can come back here
or, better, one of the Linux groups for advice. I suggest
comp.os.linux.setup.
Stef