SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, Im having some trouble configuring lilo. See slack detects my hard drive as hda, and zenwalk detects my hard drive as sda, when I try to boot to zenwalk from hda2, which is its partition, it wont boot. I tried changing the root to root=/dev/sda2, but that doesnt work either. It works with grub as slack with hda and zen with sda, but I cant seem to get it to work and lilo. Im trying to learn lilo and use it instead of grub, mainly because its default in Slackware. So any suggestions guys?
IF Slackware detects your drive as 'hda' then chances are that you will notice that your Slackware seems to be awfully slow when it needs a lot of disk access.
Try booting the Slackware install CD and at the boot prompt, type
When you are finally at the root prompt, check using
whether your disk is now detected as 'sda' just like in Zenwalk.
If that is so, you will need the "hda=noprobe" option as a parameter in your /etc/lilo.conf so that the installed Slackware will detect the hard drive the same way.
Fixing that will probably give you a few headaches, because not only do you have to edit /etc/lilo.conf and /etc/fstab, you will also have to run the "lilo" command to write the changes to the bootsector of your disk, and lilo will refuse to do so unless you use the Slackware CD to boot from.
First, tell us if "hda=noprobe" made a change, and if you cannot figure out how to add that to your installation and fix lilo, report back in this thread and we'll take it from there.
Hey thanx for your reply. I just tried booting with that option, and cfdisk said I have no hard drive, and fdisk -l returned nothing as well. I tried adding a target from the setup, and it just flashed and went back to the main setup menu. I set up a vm earlier, and installed slack, it came up as hda again, then I ran Zenwalk, GoblinX, Ubuntu, Arch Linux, and Sabayon live cd's, and each one returned sda partitions in the vm. Now this whole thing is taking place on my laptop, and I have not noticed any performance loss using slack with the hd detected as hda. I use devede regularly, vendetta online, heck all sorts of stuff. Im using slack 12.1, and I used 12 before, both detected as hda, and absolutely no noticeable performance issues. So Im stumped. Since it appears to be working fine, is there no way to append lilo.conf to run to sda and hda, I know grub can do it.
Still learning myself but I think the problem may be that your trying to boot a 2.6.25 kernel which will detect your ide drive as "sda" and not "hda". To fix this problem in my case of Fedora-9 which I installed yesterday so I would have a gnome desktop (then I found out that I liked Slackware-GSB better) was to setup lilo like this.
That changes things, when I go by UUID for root and change the image path as suggested, the penguin during boot is replaced with the zenwalk logo, which is what it is supposed to have. But I get a kernel panic, unable to sync, and a unable to open root. So Im not sure, do I need to edit my fstab to mount the zenwalk partition by uuid?
Sorry, for the delay but my cable modem died in the weather yesterday while I was out of town. So today I had to go get another one and back on line tonight. Anyway, I'll try to help out if I can. Could you please post your lilo.conf or at least the part that were talking about. Also, you may want to take a look at this from "Zenwalk" it is a good guide for lilo to make sure you had a mount point set up and be sure it's mounted when you ran the "lilo" command so you don't get any errors.
If nothing else works, let me know what version of Zenwalk your working on and I'll set it up and try my luck to see if anything weird is going on, but other than the sda stuff I've had this on mybox before.
You should give us some additional details about your lilo.conf...
So, boot Slackware, mount the partition where you have your Zenwalk kernel and initrd.img (if exists) to a suitable directory (ie /zen)
Let's say your lilo.conf is something like