LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2003, 02:34 AM   #1
jelmerderonde
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Unhappy 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
 
Old 10-25-2003, 05:24 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

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

Last edited by lugoteehalt; 10-25-2003 at 05:26 AM.
 
  


Reply



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
LILO configuration for new OS jmcdonald21 Linux - Software 1 02-21-2005 02:11 PM
Lilo configuration drisay Slackware 5 09-15-2004 09:21 PM
lilo configuration zedzdead Linux - Newbie 1 03-29-2004 06:45 AM
LILO Configuration khanhhoan Linux - General 20 07-18-2002 04:55 AM
lilo configuration deepak Linux - Software 5 10-11-2001 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 PM.

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
Open Source Consulting | Domain Registration