Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Thank you, I'm glad that the Lord has used me (and given to me of Himself) to be able to be that for you! Likewise, I look forward to seeing you on here and am glad I've gotten to know you a bit. Learning how to work on and fix computers can be challenging and you've definitely shown some persistence in your efforts.
Something else I want you to know, too. Jesus loves very much "the likes of you" and you are worth every bit to Him the sacrifice on the Cross He paid for all of us. I don't belong to an exclusive club and all that I've received in Him (which includes eternal and abundant life) is available to you and everyone else, as well. You're invited! It won't always be easy but every sin I've given up and am learning to walk away from has been well worth it, receiving His freedom instead.
I'm not sure if you've seen it yet but if you want to read about the "likes of me" before I received Him, you can see it here.
Regards and thanks again...
Wow, what a story, Ardvark. No doubt God has done some amazing things with you.
Something is definitely not right and or became misconfigured.
Don't be too quick to assume that whatever is wrong is something OP might actually have any control over. I'd be interested to have some idea where OP's delays occur, whether kernel loading, initrd loading, and/or at various points during the init process.
Starting about 18 months ago, with kernels as old as 3.16, some kernel/initrd pairs began resulting in insufferable delays simply getting init started. This has happened on two different machines, with multiple distros (only those using Dracut), even though the machines operate normally once booted, and show no signs of hardware trouble from memtest or hdparm. I've reported this at least twice on mailing lists, initially on linux-ide, then initramfs. If or where else I don't remember. The delays varied, but resulted in boot times as long as 13 minutes, and without starting X.
I've uninstalled most kernels that produced such delays, but in its current configuration on host big41, these take too long for the boot loader vmlinuz and initrd loading messages to clear, followed by otherwise ordinary (no Plymouth) inits:
Fedora 25 4.8.rc1git0.1 (roughly 3 minutes to shell prompt)
openSUSE Tumbleweed 4.7.2 (sda10)(110 seconds to shell prompt)
Don't be too quick to assume that whatever is wrong is something OP might actually have any control over. I'd be interested to have some idea where OP's delays occur, whether kernel loading, initrd loading, and/or at various points during the init process.
Starting about 18 months ago, with kernels as old as 3.16, some kernel/initrd pairs began resulting in insufferable delays simply getting init started. This has happened on two different machines, with multiple distros (only those using Dracut), even though the machines operate normally once booted, and show no signs of hardware trouble from memtest or hdparm. I've reported this at least twice on mailing lists, initially on linux-ide, then initramfs. If or where else I don't remember. The delays varied, but resulted in boot times as long as 13 minutes, and without starting X.
I've uninstalled most kernels that produced such delays, but in its current configuration on host big41, these take too long for the boot loader vmlinuz and initrd loading messages to clear, followed by otherwise ordinary (no Plymouth) inits:
Fedora 25 4.8.rc1git0.1 (roughly 3 minutes to shell prompt)
openSUSE Tumbleweed 4.7.2 (sda10)(110 seconds to shell prompt)
What other initialization processes could things be taking so long?
That's one of the reasons why I posted my questions to those mailing lists. Another is these delays apparently happen before any logging starts, and I don't know how to gather usable clues so early.
Quote:
Do you think a new kernel is the answer?
It happened with lots of kernels. Many times, rebuilding the initrd (sometime multiple times) solved the problem only to have it resurrect in a newer kernel. Remember, my list, except for one, was only of currently installed kernels on one machine of two. It excludes virtually all the many removed in the past 18 months, and those on the other machine.
IIRC, not only did it never happen with a mkinitrd image, but it also always happened and happens on EXT4 filesystems, not on EXT3. Several times early in my attempts to pin it down I tried creating a new EXT3, rsyncing from EXT4, and the same kernels/initrds worked fine.
I'm thinking these delays are actually more common than what I wrote may have implied, just more often with much shorter delays in maybe the 2-5 second range. And, those with short delays occur on far more than two of my machines, maybe all. Once upon a time, the bootloader's kernel/initrd loading messages would flash on and off so fast it was impossible to read them start to finish. That seems to not happen any more as often as it does, but I suppose that could be a function of when the kernel decides to clear what bootloader wrote to display rather than bootloader doing its own clearing.
My primary speculation is that storage access is wrested from the BIOS later than it used to be before UEFI became common, leaving many devs using solid state drives in no position to notice anything that causes a nominal slowdown at such an early stage of IPL, while the kernels and initrds just keep bloating with new functionality. Another speculation that could play into this is that devs I think are mostly assuming or even using Plymouth, and I'm not, except on a few installations where Plymouth removal would eradicate half the installation due to idiotic deps.
I don't read code or build, limiting what I can do to identify any cause.
It happened with lots of kernels. Many times, rebuilding the initrd (sometime multiple times) solved the problem only to have it resurrect in a newer kernel.
Without seeing the boot up myself I can't pin down what is causing the delay.
I'd think that reading through the dmseg log should provide some clues why this delay for the boot.
If plymouth is the culprit than disabeling the splash screen and plymouth in grub might be the answer.
Code:
in file /etc/defaults/grub
set line
GRUB_CMDLINE_LINUX_DEFAULT="noplymouth"
Quote:
I don't read code or build, limiting what I can do to identify any cause.
I'm still learning to read code and it's not easy. Don't build; not there yet:-
I'll be running Testing soon so I can learn and possibly learn a fix for this.
Booting shouldn't really take more than 2 min's if that.
Have you gotten a response from the mailing lists?
*buntu is one of my fewest installations, so there's no guarantee it's among those ever experiencing the problem. Most are 14.10 or older. I don't know if these ever switched from mkinitrd to dracut.
I always do the best I know how to keep Plymouth from participating in the boot process. It's not installed on any openSUSE or Fedora. Bootloader stanzas where it is installed typically have any of noplymouth, plymouth=0, plymouth.enable=0 or whatever I thought might appropriate to the distro.
All cmdlines include splash=disable or splash=0. None include quiet.
Dmesg IIRC always seems to include times that began after the delay has passed.
No useful mailing list responses.
Hurricane Hermine is about to flood here, so more will have to come later, if ever.
*buntu is one of my fewest installations, so there's no guarantee it's among those ever experiencing the problem. Most are 14.10 or older. I don't know if these ever switched from mkinitrd to dracut.
I always do the best I know how to keep Plymouth from participating in the boot process. It's not installed on any openSUSE or Fedora. Bootloader stanzas where it is installed typically have any of noplymouth, plymouth=0, plymouth.enable=0 or whatever I thought might appropriate to the distro.
All cmdlines include splash=disable or splash=0. None include quiet.
Dmesg IIRC always seems to include times that began after the delay has passed.
No useful mailing list responses.
Hurricane Hermine is about to flood here, so more will have to come later, if ever.
Sorry to hear you haven't gotten any responses.
I sincerely hope it doesn't flood:-
It's headed my way Saturday.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.