~HELLLP ~~~~ Double Boot Windows 98 and Linux Problem
Problem is as follows, I was following the tutorial listed below. Installed windows and linux fine, changed the partitions renamed them, working great UNTIL THE LAST STEP 13, i went into linux rescue mode and did everything they said, only when i try to restart windows 98, it gives me a cannot find executable file error, I DONT KNOW WHY! Someone help PLZZZ, im so close, if i can get windows 98 to boot properly now, im like home free. Any help would be GREATLY appreciated.
"11. Once done, insert your Windows 98 CD and type D: to get to it and type SETUP to install Windows 98. Go through everything as you would normally when installing Windows 98. The during the process, you will of course do several reboots and you may notice that GRUB is gone. Windows 98 will be the only OS you can get to. Linux is still there but no longer accessible.
12.Once you are happy that Windows is installed, insert RedHat CD 1 again and reboot your PC. At the bootscreen type:
linux rescue
This will get you into rescue mode. It will mount your linux under /mnt/sysimage. Just follow the prompts until you get to the system. Then type:
chroot /mnt/sysimage
This sets the root back to the way it should be if you booted linux normally and puts all file locations back where you expect to find them. Now, in this mode we need to get GRUB to know about the windows partition and also to reinstall the GRUB loader back onto the start of your harddisk (the MBR). Windows overwrote GRUB on the MBR with it's own bootloader. We need to get it back. First we need to add an entry to the grub.conf file. Type:
vi /etc/grub.conf
Press "i" to go into insert mode. This means you can change the file. Scroll down to the end and add a new entry:
title Windows98
rootnoverify (hd0,2)
makeactive
chainloader +1
The purpose of the entry is so that when you restart your system, under the Linux entry, you will see a "Windows98" entry and you will be able to choose between the two operating systems. The title obviously is what will be displayed in GRUB when you start the system. The (hd0,2) means FirstHardDisk,3rd partition (numbering starts from 0). Therefore hd0 means /dev/hda and the 2 means hda3. Finally chainloader... well I don't understand it fully except that you need it and the +1 means to start loading on the first sector + 1. Again, read up if you want to about it (info grub), otherwise just make sure it's there.
To save changes and get out of the vi program, press ESC, then :wq and hit enter.
We've changed the entries for our bootloader screen (GRUB screen) but now we actually have to reinstall GRUB on the MBR and wipe the windows one:
grub-install /dev/hda
13. Ok, so now let's reboot. You should have a GRUB screen with a choice between Windows or Linux. Boot Windows first to check all is ok there. If so, good, if not, let me know. If people have problems using this document, I'd like to change it to be more useful with a broad range of situations. Reboot and we'll check Linux."
|