LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2003, 01:32 AM   #1
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Rep: Reputation: 15
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
 
Old 03-28-2003, 04:30 AM   #2
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
what is your active partition. find it out and then add that into the lilo.conf file and then run lilo and tell
 
Old 03-28-2003, 05:19 AM   #3
Comreak
Member
 
Registered: Jan 2003
Distribution: Ubuntu 5.04
Posts: 32

Original Poster
Rep: Reputation: 15
It's hda1 and I think it's already in lilo.conf.
 
Old 04-03-2003, 12:40 AM   #4
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
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"
 
Old 04-03-2003, 10:55 AM   #5
debphreak
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
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
 
Old 04-03-2003, 12:57 PM   #6
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
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.

Last edited by Edward78; 04-03-2003 at 01:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add windows to lilo? mrgrieves Linux - Software 9 06-27-2004 02:09 PM
No windows in LILO ilhbutshm Linux - General 8 11-22-2003 03:13 AM
lilo and windows marek Slackware 7 08-31-2003 03:03 AM
LILO and Windows ME jbarreir Linux - Newbie 1 08-30-2003 07:13 PM
Windows ME and Lilo EvoKen Linux - Software 4 06-26-2001 09:35 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration