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.
After lots of searching I haven't yet found anything that works.
I installed Slackware64 14.1 on a usb hard drive & I fixed up lilo.conf & fstab & ran "lilo". The usb hard drive is the only drive on the computer, booting starts ok loading the compressed kernel, decompressing it, & commences until it halts on a panic because it cannot find "/dev/sda1".
Well, "sda1" will be the usb hard drive after the USB subsystem starts up. I have tried "rootdelay=20" & "rootwait" but it appears to completely pause the boot process; in the case of rootdelay, the usb subsystem didn't get started during the delay. I also tried "usb_storage.delay_use" which of course didn't help.
So, how do I get the root drive mount to happen after the usb subsystem startup is complete?
None of the many posts I've found addresses this particular issue.
FWIW: kernel is huge.s 3.10.17, lilo 24.0, the modules supporting my usb hard drive are in initrd.gz.
Argh! Was hoping there was an alternative to compiling the kernel. Compiling the kernel implies "slackpkg upgrade-all" is out of the question, at least without carefully attending to the menu.
Argh! Was hoping there was an alternative to compiling the kernel. Compiling the kernel implies "slackpkg upgrade-all" is out of the question, at least without carefully attending to the menu.
Thank you very much for responding...Bob
If I read you correct, you mean slackpkg upgrade-all will update your kernel as well?
By default, the kernel(s) are blacklisted (see /etc/slackpkg/blacklist around line 13 for more info).
I had the same issue when I installed Gentoo at USB HDD, I can't boot and had to rebuild kernel with above options. Not aware of what "slackpkg upgrade-all" means, assuming something terrible
In Gentoo rebuilding kernel is ordinary operation. make + make modules_install.
"slackpkg upgrade-all" is an online upgrade process to my favorite Slackware mirror. I would either have to recompile the kernel each time it's upgraded, or make sure not to let it upgrade.
In my long ago past, I always customized & compiled my kernel; in this day of a) giga ram & b) b'zillions of kernel options I don't bother. Plus, the target cpu is a low-poweer Atom & how long will that compile take?
This computer will be used for my firewall. Unfortunately, it is single-ethernet & the usb to ethernet adaptor I have is much newer than the "old" kernels that the "packaged" firewalls include. E.g. Devil-linux uses the 3.2 kernel & the adaptor module hasn't been backported that far. So I figured a minimal-install of Slackware (3.10.18 kernel) with a bit of "hardening" will do just fine.
Oh, & I have an old laptop 2.5" drive in a usb case I wanted to use. Oh well...:-)
If I read you correct, you mean slackpkg upgrade-all will update your kernel as well?
By default, the kernel(s) are blacklisted (see /etc/slackpkg/blacklist around line 13 for more info).
Kernel blacklist lines are commented in my copy, meaning they aren't blacklisted.
I don't use nvidia or amd/ati binary drivers so update kernels haven't been a problem. Kernel upgrade automatically queues a request to re-run lilo.
I once had a problem with booting a (possibly non-Slackware) system from a USB disk, for similar reasons. I recall that I didn't have success with "rootdelay". However, using an initrd created with the "-w [secs]" option solved the problem. I don't remember compiling any module into the kernel and I don't see why this should be necessary -- if they're in the initrd, kernel will be able to use them anyway.
The reason why I used /dev/sdb1 is that there is an internal hard drive in most machines I boot from. Obviously, I've got a problem if there isn't a hard drive in the machine I'm starting.
After lots of searching I haven't yet found anything that works.
I installed Slackware64 14.1 on a usb hard drive & I fixed up lilo.conf & fstab & ran "lilo". The usb hard drive is the only drive on the computer, booting starts ok loading the compressed kernel, decompressing it, & commences until it halts on a panic because it cannot find "/dev/sda1".
Well, "sda1" will be the usb hard drive after the USB subsystem starts up. I have tried "rootdelay=20" & "rootwait" but it appears to completely pause the boot process; in the case of rootdelay, the usb subsystem didn't get started during the delay. I also tried "usb_storage.delay_use" which of course didn't help.
So, how do I get the root drive mount to happen after the usb subsystem startup is complete?
None of the many posts I've found addresses this particular issue.
FWIW: kernel is huge.s 3.10.17, lilo 24.0, the modules supporting my usb hard drive are in initrd.gz.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.