LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LILO problems help!! (https://www.linuxquestions.org/questions/linux-software-2/lilo-problems-help-19485/)

klop 04-25-2002 09:18 PM

LILO problems help!!
 
Here's my configuration:
First hard drive:
/dev/hda1: Windows 98 10Gb Primary partition (FAT32)
/dev/hda2: Windows 98 10Gb Primary partition (FAT32)
Second Hard drive
/dev/hdb1: Linux Mandrake 8.2 6Gb

I want to configure LILO to be able to boot on the 2 Windows.
I know for Windows 98 I must activate only one partition at the time and deactivate the other one. I really need help! And please do not say read man lilo or something like that. I'm working on this problem since a long time. Please help! Thanks

Psycho 04-25-2002 10:35 PM

You can boot either Win98 partition making it appear as the active partition with the Extended Operating System loader. It seems a little confusing at first, but if you bull your way through the example that most closly resembles your system it will make sense in no time.

Just install lilo (or grub) to /dev/hdb1, and point xosl there for Linux. If you partition about 24meg at the start of /dev/hda for xosl it's a little cleaner, but it's not manditory.

It's the stuff, I'm booting three different versions of Linux on one drive with it ;)

klop 05-03-2002 08:03 PM

Anyone knows another solution?
I don't want to use XOSL...

linuxcool 05-03-2002 10:13 PM

You should try grub. I read a thread somewhere about someone trying to get lilo to hide and unhide partitions so that two versions of windows wouldn't see each other. He wasn't able to get it to work. The grub config file would look something like this:

#
# /boot/grub/menu.lst
#

# options

timeout = 30
default = 1

title = MD8.2
root = (hd1,0)
kernel = /boot/vmlinuz root=/dev/hdb1

title Win98A
unhide (hd0,0)
hide (hd0,1)
rootnoverify (hd0,0)
makeactive
chainloader +1

title Win98b
unhide (hd0,1)
hide (hd0,0)
rootnoverify (hd0,1)
makeactive
chainloader +1


All times are GMT -5. The time now is 02:37 AM.