Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-09-2006, 05:27 PM
|
#31
|
LQ Newbie
Registered: Mar 2006
Posts: 9
Rep:
|
Problem installing LILO after GRUB autoinstalled
I installed KNOPPIX on a computer at a church who wants systems for playing games. It automatically installs GRUB, but it isn't very useful to me nor anyone else who would see it. I want to install LILO instead of GRUB but this is the error I get:
Unrecognized token "! Please edit /etc/lilo.conf before running lilo!" at or above line 20 in file '/etc/lilo.conf'
ERROR: correct /etc/lilo.conf manually and rerun /sbin/lilo
 any help guys?
pcwiz84
|
|
|
03-09-2006, 07:01 PM
|
#32
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,830
|
can you post your /etc/lilo.conf here?
|
|
|
03-14-2006, 12:38 PM
|
#33
|
LQ Newbie
Registered: Mar 2006
Posts: 9
Rep:
|
I can, but not from this computer. I'll have to go to the box with KNOPPIX installed, put the /etc/lilo.conf file on a flash drive and move it to a box with internet access to show it to you.

|
|
|
03-14-2006, 07:38 PM
|
#34
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,830
|
we will be waiting for that 
|
|
|
03-15-2006, 05:37 PM
|
#35
|
LQ Newbie
Registered: Mar 2006
Posts: 9
Rep:
|
Well, ya know what? I couldn't find it!!! I did a "/" search on "lilo.conf" and it came up with NOTHING!!! What do I do???  There are programs that configure LILO, but it just won't work!!!
|
|
|
03-15-2006, 06:00 PM
|
#36
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
If your Knoppix has installed Grub then you will not have /etc/lilo.conf.
Instead you will have /boot/grub/menu.lst.
List it here and we may be able to advise a translation.
Personally I prefer Grub as it is a lot simpler to use and more forgiving than Lilo.
|
|
|
03-15-2006, 07:30 PM
|
#37
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,830
|
have you mounted your root partition and chroot into it??
|
|
|
03-19-2006, 02:09 PM
|
#38
|
LQ Newbie
Registered: Mar 2006
Posts: 9
Rep:
|
Never mind
I just gave up and decided to install a different distro (one that has over 150 games on it). Thanx anyway.
|
|
|
03-22-2006, 11:45 AM
|
#39
|
Member
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190
Rep:
|
I installed Slack 10.2, then my wife wanted to have a winblow$ environment so I installed WinXP pro. Just as I thought, the MBR was overwritten, but I knew how to fix it. Here is the way to do it:
1) Boot off the emergency disk you should have made when you installed Slack.
2) After you login, su over to root and type liloconfig.
3) On the menu that pops up, choose expert.
4) Choose new header file, then tell it to add linux then windows, with the labels you want it to display on the lilo menu. Set the amount of time you want to lilo to display before it auto boots. I choose 30 seconds because it gives me ample time to choose. These are all options on the expert menu.
5) Tell it to install Lilo. Now you have the option to install the superblock, MBR and a floppy. Most people on here tell you to install to MBR, especially when you are dual-booting because if you install it to root superblock, then you run into problems booting because Linux has to be the first boot partition, and it's really not that functional in the first place, so go ahead and install to MBR. All Lilo is, is a boot loader/manager, the same as NTLDR, or Grub.
6) When you get back to the command line, type /sbin/lilo. It should say something like "Added Linux. Added Windows." Restart your computer and you should be good to go.
Kid
|
|
|
03-22-2006, 12:02 PM
|
#40
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep: 
|
thekid,
You know nowaday with a LiveCD you can boot up a Linux and "chroot" to your Slackware
To add XP to Slackware, say it is in hda3, requires only 2 lines added to /etc/lilo.conf in Slackware
Code:
other=/dev/hda3
label=Windows_XP
To restore Lilo back into MBR with amended addition you just need to type at a root terminal
To re-configure Lilo again with liloconf program is another method.
|
|
|
03-22-2006, 01:50 PM
|
#41
|
Member
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190
Rep:
|
Quote:
Originally Posted by saikee
thekid,
You know nowaday with a LiveCD you can boot up a Linux and "chroot" to your Slackware
To add XP to Slackware, say it is in hda3, requires only 2 lines added to /etc/lilo.conf in Slackware
Code:
other=/dev/hda3
label=Windows_XP
To restore Lilo back into MBR with amended addition you just need to type at a root terminal
To re-configure Lilo again with liloconf program is another method.
|
Thanks, I'm still a  myself and still learning, though it gets easier the more I use it. I'll have to remember this the next time I have a problem.
|
|
|
All times are GMT -5. The time now is 05:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|