William Hymen said:
I installed Linux on a second partiton
on my Windows laptop. Linux installed
it's own boot loader called grub.
Yes; but where's the problem?
I attempted to fix the boot loader back to Windows
with the Win2k CD recovery console using
fixboot and fixmbr, but no luck!
Anything else I can try?
Read the fscking manual? At least the hints and billboards during
installation!
Despite that almost all current Linux distributions are as braindead
as Windows 9x and XP in respect to writing their loader by default
into the MBR they give you the choice to place it elsewhere during
setup AND TELL YOU SO!
They also tell you how to rewrite the saved MBR.
So boot your Linux, find this 512 byte file created during the
installation in /boot and write it back with
dd if=$THAT_FILE of=/dev/hda bs=512 count=1
If this doesn't help: do you have a floppy disk formatted under
Windows NT/2000? Copy the files NTLDR and NTDETECT.COM from your
Windows 2000 CD (or better: the unpacked SP4) to that disk and
create a textfile BOOT.INI with following lines:
--- BOOT.INI ---
[Boot Loader]
TimeOut=3
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows 2000 Professi
onal" /FastDetect /PCILock /SOS
--- EOF ---
Replace the (1) with the appropriate number if your Windows boot
partition (see knowledge base 100525) is not the first one on your
hard disk, as well as WINDOWS with the name of your Windows directory.
The next time choose to install GRUB into the Linux /boot and set
this partition active.
Or leave your Windows system partition active and put GRUBs boot
sector in a file say BOOTSECT.LNX on your system partition and
append a line
C:\BOOTSECT.LNX="Linux"
to your BOOT.INI (and don't change the driver letter C: if your
system partition happens to have another letter under Windows).
Stefan