To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR)
Problem: To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR)
I have Windows 98 and Windows 2000 installed on my computer which I've been using for many years now and lately I was curious about linux. I read about RHEL and thought to give it a try. So I downloaded it and installed it on my PC. And since I wanted to load linux from my Windows boot loader, I installed GRUB on the first sector of the boot partition in linux. I had earlier posted a thread regarding this, but its solution didn't work. The scenario is as follows:
I have two hard disks - 1st as Primary Master where I've installed Windows 98 and Windows 2000 with NTFS partition, 2nd as Secondary Slave which I had kept for collecting data, songs and movies. So I decided to install RHEL 4 WS on this hard disk. I read the installation guide before actually installing and then proceeded as mentioned. Since I wanted Linux to boot from NTLDR, I selected the option to install GRUB on the first sector of the boot partition. The partitions that I made in linux are (1) / (root partition), (2) /boot (boot partition), and swap partition. The root partition (/) is on hdd8, the boot partition (/boot) is on hdd6 and Windows 98 is on hda.
Now, after installation I restarted Linux in the rescue mode and tried to find the grub.conf file as it was mentioned in many of the web pages online if you want to dual boot Windows and Linux. The problem is, I cannot find any grub.conf file. I tried the grub-install command, but that too doesn't work. Also tried the dd command
dd if=/dev/hdd6 of=/mnt/cdrive/linux.bin bs=512 count=1
but this too didn't work; after adding its entry in the boot.ini file and after restarting and selecting the Linux option, it freezes after showing GRUB. I'm not able to start linux at all. Is there any solution for this or do I have to install the grub loader on the MBR itself??