SlackwareThis 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.
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.
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
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.
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!!!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.