LinuxQuestions.org
Register a domain and help support LQ
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 11-06-2005, 09:20 PM   #1
lpn1160
Member
 
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, 09:35 PM   #2
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
liloconfig should give you waht you want. run from root i believe.
 
Old 11-07-2005, 12:22 AM   #3
lpn1160
Member
 
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

default="WINDOWS_XP_PRO"
boot=/dev/hda
map=/boot/map
keytable=/boot/livecd.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz-2.6.12-oci6.mdk-i586-up-1GB
label="pclinuxos"
root=/dev/hdb3
initrd=/boot/initrd-2.6.12-oci6.mdk-i586-up-1GB.img
append="noapic nolapic nomce acpi=ht psmouse.proto=imps splash=verbose"
vga=788
read-only
other=/dev/hda1
label="WINDOWS_XP_PRO"
 
Old 11-07-2005, 12:29 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
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:
boot=/dev/hda1

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:
drakboot

Or, if that doesn't work:
DrakX

Good Luck!

Cool
 
Old 11-07-2005, 04:23 AM   #5
kbflamelet
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, 05:18 AM   #6
saikee
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.
 
  


Reply


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 02:31 PM
Re-Installing Lilo? AFI_Flame Slackware 6 11-23-2004 01:07 PM
LILO not installing...help! nikd Slackware 5 06-07-2004 01:48 PM
Installing LILO undeadpenguin Arch 2 11-09-2003 08:32 AM
Installing LILO mcd Linux - Software 4 08-25-2003 12:32 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration