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.
Ok i found the problem, under kernel 2.6 in order to get DMA i have to change everything from hd* to sd*. I know the option in the kernel, but what else needs to be changed, and how do i do it?
Since lilo won't boot unless it is also set to sda the best way would be to boot a 2.6 kernel live cd that has sata and then mount your hdd's and then chroot into it and update lilo. Slax is what I had to use for my laptop.
ive never used slax, so what do i chroot to? And since you've done this before, could you give me a list of steps tp follow because i prefer that my laptop turns back on. It's my only computer. Thank you
Maybe it's supported by the sata.i kernel included with Slackware CD 1.
Boot with Slackware CD 1 and when you get the boot: prompt type: sata.i root=/dev/XXXX
Replace XXXX with either hdaX or sdaX where the X is the number of your root partition.
I already have it install, and i dont want to reinstall it. I booted into slax and it does support it. I know what to compile into the kernel, i just dont know 100% what i'm supposed to do from there. And i will have to say that i hdparm -Tt /dev/sda and it was amazing i got over 15X speed boost
well actually you could use the slackware cd also. You just use the sata.i kernel as mentioned and when in the environment instead of installing you're going to create a mount point to mount your HDD. Whatever you call it, it doesn't matter. If you did multiple partitions don't worry, as long as you know the main partition its fine. If you don't remember a 'cat /proc/partitions' will list all HDD's and their partitions.
# mkdir /mnt/mount
# mount /dev/sda1 /mnt/mount
# mount -t proc proc /mnt/mount/proc
# chroot /mnt/mount
Now edit your /etc/fstab to reflect your correct partitions and edit /etc/lilo.conf changing ALL references to hda. If you use pico for your editor 'ctrl + w' will allow you to search for strings. After you edited those all you have to do now is update lilo.
# lilo
You should see no errors. If there is any warnings they usually don't mean anything as long as you see the Linux* or whatever your kernel name is show up in the output.
Another thing you might want to do just as a precautionary is run:
# lilo -M /dev/sda mbr
# lilo
All that first line does is reload lilo into the Master Boot Record. Just incase, you know.
After that just exit and reboot. Then you should see lilo come up all nice and pretty.
Chroot is your godsend if you screw up any type of configuration that causes the system not to boot. You chroot into the environment and it's just like you're in there so you can change and update anything necessary or revert to a working configuration.
Any problems just reply back. I work an odd shift so I might not reply quite immediately. Or someone else might be able to help, I'm sure.
Thanks for all the help, but i did what you said and on the new boot, it says something about make a correct boot= and error somehting(8,3) and normally its (3,3)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.