PDA

View Full Version : Reconfiguring LILO?



massai
12-24-2003, 04:48 AM
Hello,

(Here is another new-bee problem, this time with LILO)

There are two OSes on two seperate drives.
The first physical drive is 4Gb and has Knoppix (main partition + Swap).
The second drive has is 20Gb and has Win2k.
When Knoppix3.3 was installed on the 4Gb drive the other drive was unplugged.

Now when both drives are plugged and the machine boots LILO comes up but it does *not* list the Win2k (physical drive).

How can this be amended ?

Many Thanks in advance.

EDIT: I meant it the other way around: The first drive(master) is the 20Gb Win2k and the second(slave) one is the 4Gb Knoppix/Debian". Sorry about this.

banquo0807
12-24-2003, 05:08 AM
check to see if Win2k is in your /etc/lilo.conf . it should be at the bottom. if it's not then add it. at the bottom of mine i have:

other=/dev/hda1
label="WindowsXP"


after you make your changes they will not take effect until after you actually run Lilo in /sbin . hope that helps.

rickenbacherus
12-24-2003, 07:46 AM
If your windows drive is truly the second drive (slave on primary IDe channel) then you would need /dev/hdb1 in your lilo.conf for your windows partition.

massai
12-24-2003, 08:48 AM
Many thanks!
It worked.

The Win2K is on the Primary Master (hda1)
The Knoppix is on the Primary Slave (hdb1)

I changed the etc/lilo.conf to:
other=/dev/hda1
label=Windows2000

and then did sudo /sbin/lilo

Now Win2000 is listed when LILO shows up.
However, when I select Win2000 it doesn't boot into windows (it seems to hang)

Any ideas on that ?

tearinghairout
12-24-2003, 10:56 AM
massai, see rickenbacherus's comment (up two from here). He has the answer.

massai
12-24-2003, 05:02 PM
massai, see rickenbacherus's comment (up two from here). He has the answer.

??

but... the win2k is truly the primary *master* (not slave) ..
(it appears first during BIOS POST, it is configured via jumper as master and it is the end of the IDE cable)

The knoppix partition does indeed show up as hdb1

??

tearinghairout
12-24-2003, 05:24 PM
Oh... right... sorry.
We were looking at your original post where you said

The first physical drive is 4Gb and has Knoppix (main partition + Swap).
The second drive has is 20Gb and has Win2k.