LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LILO Configuration (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-configuration-108257/)

jelmerderonde 10-25-2003 02:34 AM

LILO Configuration
 
Hi,

I have the following OS installed on my system:
/dev/hda1 -> Windows XP
/dev/hda2 -> Windows XP
/dev/hda3 -> Windows XP
/dev/hda4 -> Mandrake Linux 9.1

Why I have so many XP installs? Long story.... It has something to do with my little borthers....

I just installed Linux, and the installation configured LILO. The problem is, when booting one of the Windows partitions, it unhides /dev/hda1 (wich isn a problem when booting /dev/hda1) and also unhides /dev/hda2 and/or /dev/hda3, causing my windows partitions to mix. I've had this problem before, when I maked a mistake in Partition Magic, but then without LILO or Linux. I solved the problem by correcting the mistake in Partition Magic. The mix in Windows solved and everything worked out fine.

The QUESTION is:
How do I configure LILO, so that it will hide the right partitions when booting one of the Windows partitions. My current lilo.conf looks like this:

boot=/dev/hda
map=/boot/map
vga=normal
default="linux"
keytable=/boot/us-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda4
initrd=/boot/initrd.img
append="quiet devfs=mount acpi=off"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda4
initrd=/boot/initrd.img
append="devfs=mount acpi=off"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda4
initrd=/boot/initrd.img
append="failsafe devfs=nomount acpi=off"
read-only
other=/dev/hda1
label="Jelmer"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
other=/dev/hda2
label="Hessel"
table=/dev/hda
other=/dev/hda3
label="Ruben"
table=/dev/hda

THNX, Jelmer

lugoteehalt 10-25-2003 05:24 AM

I know nothing about lilo but it would be tempting to just comment out:
other=/dev/hda2
label="Hessel"
table=/dev/hda
other=/dev/hda3
label="Ruben"
table=/dev/hda

Also if you replaced lilo with grub you could explicityly tell grub to hide the partitions in its configuration file.


All times are GMT -5. The time now is 07:49 PM.