Quote:
Problems Booting to Windows After the Installation of Red Hat Linux
Question:
I have installed Linux to dual boot with Windows. My first drive, /dev/hda is Linux, and my second drive is my Windows drive. Windows worked fine until after I installed Linux. Now, when I select "dos" from the LILO: prompt to boot to Windows, all I get is "Starting...." and then my machine locks, up. My entry for Windows in my /etc/lilo.conf file looks like this:
other=/dev/hdb1
label=dos
table=/dev/hdb
Why is this happening and how can I work around it?
Answer:
Windows is expecting to be the first disk in your computer and does not know what to do when you try to boot it as the second drive. In order to work around this, you must modify your /etc/lilo.conf file so that the entry for Windows looks like this:
other=/dev/hdb1
label=dos
table=/dev/hdb
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
Once you have done this, you must re-run LILO so that your changes take effect. To do this, type /sbin/lilo -v -v.
What this does is fool DOS/Windows into believing that it is the first drive in your system.