LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RH9 and WinXP, dual boot (https://www.linuxquestions.org/questions/linux-newbie-8/rh9-and-winxp-dual-boot-97370/)

Ulaire Smiley 09-26-2003 10:58 PM

RH9 and WinXP, dual boot
 
Hello,
I was trying to either a) get GRUB/LILO to work or b) get a Linux entry in Windows XP's boot.ini file. I followed the directions at [address below] to try and set it up, but when I ran the "Linux" option from the XP boot menu, it said:

[here's the address for that site, it wouldn't let me post it because i don't have 5 posts :rolleyes:; just delete the spaces and you'll have the addr] ht tp://jaeger.porp heus.net/linux/ntldr.php

"The following file is missing or corrupted:
(SystemRoot)/system/hal.dll
Please re-install the file."

So I went to dll-files.com and reinstalled that file, only to get the same error. Here's my boot.ini file:

[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
c:\bootsec.lnx="Red Hat Linux 9"


And here's my /etc/lilo.conf file on my Linux HD (I have separate HDs for XP and RH):

boot=/dev/hdb1
map=/boot/map
install=/boot/boot.b
image=/vmlinuz
label=linux
root=/dev/hdb1
read-only


When I ran lilo, it gave me no errors except the warning that I wasn't putting it on the hda drive. Has anyone else had this problem or can someone tell me what's wrong?

Thanks,
- Smiley

Skyline 09-26-2003 11:02 PM

Have you tried LILO on the MBR of the 1st hard drive?

chris_law 09-26-2003 11:41 PM

u can dowmload a software
http://bbs.2222163.com/soft/SFDISK.EXE
use it under a dos environment(not a v-machine,but a floppy disk to start your pc)
install a boot sect after ur linux partion during install,
use it you can boot ur linux in a logucal partion without lilo or grub by install the boot manager and cause your linux partion bootale
it works with 9X,xp but not a windows server 2003,u will regrate
if cannot down load it ,maik to me,chris_lve@yahoo.co.uk
good luck

Mathieu 09-27-2003 09:09 AM

I can tell you how to get GRUB working.

First of all, confirm the following:
winXP is installed on the first HDD (hda)
Linux is installed on the second HDD (hdb)

To install GRUB in the MBR on the first hard disk drive, type:
Code:

/sbin/grub-install /dev/hda
You will need to edit /boot/grub/grub.conf by adding an entry for winXP.
Code:

title WindowsXP
        rootnoverify (hd0,0)
        chainloader +1

Tips:
- GRUB maps devices according to the /boot/grub/device.map file.
- To display your partition table, type:
Code:

fdisk -l


All times are GMT -5. The time now is 07:14 AM.