LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lilo and windows xp (https://www.linuxquestions.org/questions/linux-software-2/lilo-and-windows-xp-52145/)

Comreak 03-28-2003 01:32 AM

lilo and windows xp
 
I recently installed mandrake 9.1 and would like to be able to boot into windows xp from lilo. I have two hds: the first one has linux in one of the partions (primary) and the seconds drive is just windows xp. I can mount/umount /dev/hdb5 (device for my windows partion) but I can get lilo to accept it. It gives me the error:

Fatal: Partition entry not found.

Here's my entry for the windows partions in lilo.conf:

other=/dev/hdb5
label="Windows"
map-drive = 0x81
to = 0x80
table = /dev/hda1

Thanks for any help ahead of tim

mayankjohri 03-28-2003 04:30 AM

what is your active partition. find it out and then add that into the lilo.conf file and then run lilo and tell

Comreak 03-28-2003 05:19 AM

It's hda1 and I think it's already in lilo.conf.

mayankjohri 04-03-2003 12:40 AM

sorry for the late response. i was on leave, gone home town
if u have not sorted out then
try this
other=/dev/hda1
label="Windows1"

debphreak 04-03-2003 10:55 AM

mayankjohri is right that should work

i just thought i should give a bit of background and helpful info

the "map-drive = 0x81"
"to = 0x80"
swaps the first and second hd drives on your ide channel.
which if my memory serves me, changes the hda"X" values.

so a partition in say linux that read hda1 would be hdb1 with the above

also to check what partitions are visible on those physical drives use
cfdisk eg cfdisk /dev/hda
cfdisk /dev/hdb etc

its easy to read, displays similar to M$ fdisk
hope this helps you out


also i found it much better to install windows on a second drive or second partiton but have the second partiton as a primary and bootable
cfdisk will prompt you but linux wont mind, lilo just hands the ball to that partitons boot sector and windows dosent complain cause it gives the feeling of a clean system

Edward78 04-03-2003 12:57 PM

Windows likes to be on drive 1 partition 1 that might be the prob it is not on drive 1 partition 1. Is it the first choice in the boot loader, windows likes to be first in everything.


All times are GMT -5. The time now is 06:05 AM.