Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-06-2005, 08:20 PM   #1
Registered: May 2004
Location: USA
Distribution: pclinuxos
Posts: 37

Rep: Reputation: 15
Re-installing lilo

I've searched around for quite some time and while there is a plethora of information on this topic I have not found a solution to my precise problem.
I'm running PCLinuxOs .92 I originally installed lilo to the MBR. All is working fine, except that I would like to use GAG as my bootloader. GAG looks at my bootloader but only finds windows, I guess because it's not on my root partion. So short of having to re-install the distro, is there a command I can run from the terminal (similar to lilo -v) that will put it in my linux root partion??

Thanx in advance to any and all help
Old 11-06-2005, 08:35 PM   #2
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
liloconfig should give you waht you want. run from root i believe.
Old 11-06-2005, 11:22 PM   #3
Registered: May 2004
Location: USA
Distribution: pclinuxos
Posts: 37

Original Poster
Rep: Reputation: 15
ran liloconfig and got this response:
bash: liloconfig: command not found
heres what my lilo.conf file says:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

append="noapic nolapic nomce acpi=ht psmouse.proto=imps splash=verbose"
Old 11-06-2005, 11:29 PM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Originally posted by edong23
liloconfig should give you waht you want. run from root i believe.
This is slackware tool

You can either use a graphical tool to change the boot entry, or you could just edit your lilo.conf to:

OR whatever your linux partition is (looks like it's actually hdb3).

Your graphical tool I believe is noted in that file, so try launching it from a command line:

Or, if that doesn't work:

Good Luck!

Old 11-07-2005, 03:23 AM   #5
LQ Newbie
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
Make sure to run /sbin/lilo after changing /etc/lilo.conf, so that the settings are written to the MBR.
Old 11-07-2005, 04:18 AM   #6
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Not so sure of what you want to achieve by dropping a full blown Lilo in favour of Gag.

You can replicate Lilo in a floppy by

lilo -b /dev/fd0

Chaning fd0 to hda get Lilo into MBR of hda. Similarly you can put Lilo inside its root partition hdb3 by

lilo -b /dev/hdb3

so that it is chainloadable by another bootloader like XP's NTLDR or Grub or anothe Lilo. My guess is that is how Gag would like it to be arranged.

Not work with Gag before but its documentation says it can only do 9 systems. NTLDR can handle 10, Lilo 15 and Grub limit unsure but good enough for 50+ systems.

You are going backward with Gag. If you want something simple use Grub as you can boot every PC system, even manually with an identical 3 lines of commands in a Grub prompt.

Similar to Gag Grub can be installed without an atached operating system. Even DOS and Solaris use Grub.

Lilo is nearly as easy as Grub. One amends /etc/lilo.conf to control Lilo and /boot/grub/menu.lst to direct Grub. Unlike Lilo Grub doesn't need a validation every time its menu.lst is alter whereas Lilo does. Lilo in validating lilo.conf also refuses to implement the changes if it discovers an unbootable system within its menu.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing LILO vtechstu Slackware - Installation 3 06-12-2005 01:31 PM
Re-Installing Lilo? AFI_Flame Slackware 6 11-23-2004 12:07 PM
LILO not! nikd Slackware 5 06-07-2004 12:48 PM
Installing LILO undeadpenguin Arch 2 11-09-2003 07:32 AM
Installing LILO mcd Linux - Software 4 08-24-2003 11:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration