LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   conifgure lilo for mandrake, xp, and 2k3 (https://www.linuxquestions.org/questions/linux-general-1/conifgure-lilo-for-mandrake-xp-and-2k3-405656/)

thrash75 01-20-2006 12:22 AM

conifgure lilo for mandrake, xp, and 2k3
 
I am trying to configure lilo to boot with mandrake 10, windows xp, and windows 2k3. I can boot to all of them but i want to get rid of the windows boot selector and just use lilo, ie boot into any from lilo. Any help would be appreciated.

Nylex 01-20-2006 12:39 AM

There should be an option to install LILO to the MBR, that will get rid of Windows' boot loader. Also, why on Earth did you post in this forum?! It's for member intros! Don't post someone else though, as this one has been reported and will be moved.

XavierP 01-20-2006 03:45 AM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

thrash75 01-20-2006 12:44 PM

My bad on the intro forum.

thrash75 01-20-2006 12:49 PM

[QUOTE=Nylex]There should be an option to install LILO to the MBR, that will get rid of Windows' boot loader. QUOTE]

How would I do this??

Nylex 01-21-2006 07:23 AM

You use something like

# lilo -b /dev/hda

b0nd 01-21-2006 11:14 PM

[QUOTE=thrash75]
Quote:

Originally Posted by Nylex
There should be an option to install LILO to the MBR, that will get rid of Windows' boot loader. QUOTE]

How would I do this??

on console, run

Quote:

#liloconfig
( not sure that is it runs on all distros or not )

Otherwise,
Quote:

#lilo -b /dev/hda
works ( as Nylex suggested )

regards

tkedwards 01-22-2006 05:21 PM

If you'd rather not use the command line you can use Mandrake's control centre to do this: menu->System->Configuration->Configure Your Computer and use the boot loader config program http://doc.mandrivalinux.com/Mandrak.../drakboot.html to set it to /dev/hda

thrash75 01-23-2006 11:17 PM

I have tried these suggestions but I am still getting lilo, followed by windows boot selector. Here is my lilo.conf. Any help appreciated:

boot=/dev/hda
map=/boot/map
install=menu
default="windowsxp"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda6
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda7 splash=silent"
vga=788
read-only
other=/dev/hda1
label="windowsxp"
other=/dev/hda5
label="windows2k3"
other=/dev/fd0
label="floppy"
unsafe

tkedwards 01-23-2006 11:46 PM

Your lilo is set to load Windows XP by default. If you don't want this you can change the line
Code:

default="windowsxp"
to
Code:

default="linux"
Whatever the default is Lilo is set to wait (prompt) for 10 seconds (timeout=100) to let you choose the OS to load with the arrow keys.

thrash75 01-23-2006 11:51 PM

right. My 'problem' is I want to get rid of the windows boot loader altogether. I can get into linux and both windows fine, but when i choose either windows, I go to Windows boot loader.
I want to skip that step and load which ever OS i choose directly from lilo...

tkedwards 01-24-2006 12:01 AM

I don't think you can do that. Lilo doesn't know the magic instructions to boot Windows - its the 'Linux Loader' after all. The Windows boot loader is some proprietary executable that's part of Windows, that's why the Windows entries are 'other=/dev/hda5', you need the Windows bootloader block on /dev/hda5 still to actually boot Windows.

If you don't want to be prompted by the Windows one just set the timeout on it to 0 in Control Panel->System in the Windows install.


All times are GMT -5. The time now is 12:29 AM.