Slow boot fix for systemd-networkd-wait-online.service - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6) +--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24) +--- Thread: Slow boot fix for systemd-networkd-wait-online.service (/showthread.php?tid=8935) |
Slow boot fix for systemd-networkd-wait-online.service - Valtam - 09-29-2023 Made my boot times from 1 minute, to a few seconds: Code: sudo systemctl edit --full systemd-networkd-wait-online.service change: Code: ExecStart=/lib/systemd/systemd-networkd-wait-online to: Code: ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout=5 reboot. Fix is specific ONLY to this systemd service. Re: Slow boot fix for systemd-networkd-wait-online.service - Carlos Bernardino - 11-01-2023 (09-29-2023, 03:33 AM)Jerry link Wrote: Made my boot times from 1 minute, to a few seconds: Hello. I am sorry to say this, but i don't know how to work with the xce Terminal for do this. I only can do the command line "sudo systemctl edit --full systemd-networkd-wait-online.service" and after this, i tried to replace the line "ExecStart=/lib/systemd/systemd-networkd-wait-online" changing it to "ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout=5" but without success beause I do not know how to save the command line. Can you explain me step by step in basic steps how can I do this? Thank you very much! Regards! Re: Slow boot fix for systemd-networkd-wait-online.service - stevef - 11-01-2023 The editor that opens up probably has 'GNU nano' in the top left. If it is nano, once you have made your changes follow this short sequence to save and exit. Press 'Ctrl' and 'X' together to exit from the editor. The editor will ask 'Save modified buffer?' and give three options:- 1) 'Y' yes - use this if you want to keep the changes made 2) 'N' no - use this to exit without saving 3) 'Ctrl' and 'C' Cancel - use this to stay in the editor without saving If you press 'Y' the editor will ask you to confirm the file name with 'File Name to Write:' followed by the file name Press 'Enter' to accept the suggested filename. The file will be saved and the editor will quit back to your terminal. Re: Slow boot fix for systemd-networkd-wait-online.service - Carlos Bernardino - 11-04-2023 (11-01-2023, 04:53 PM)stevef link Wrote: The editor that opens up probably has 'GNU nano' in the top left. Hello, Thanks for the help, but it didn't work. My boot secure boot takes 1minute and 10 seconds to open the Desktop environment. I did all the steps that you said and after it, I reboot the operating system. What can I do now? This situation will be fixed on Linux Lite OS 6.7? I ask this, because I want the secure boot on. I don't want to disable the secure boot. If the fix for this problem in secure boot will be available in the next update of Linux 6.7, I can wait... Or this will have solution only in Linux 7.x? Regards! Re: Slow boot fix for systemd-networkd-wait-online.service - stevef - 11-04-2023 Quote:Thanks for the help, but it didn't workDo you mean you still could not save the file or that the change did not speed up your computer ? Quote:What can I do now?I understand your laptop is from 2013 and originally ran Windows 8. 1 minute 10 seconds to desktop seems reasonable for 10 year old hardware running a modern OS. The post with the most information regarding boot times is here. https://www.freecinema2022.gq/forums/start-up-and-shutdown/slow-boot-times-in-linux-lite/ If you follow the guidance there you can optimise your set up but there are practical limits on what you can expect. If the system has a mechanical HDD, replacing that with an SSD might be the best improvement. Quote:This situation will be fixed on Linux Lite OS 6.7? I ask this, because I want the secure boot on. I don't want to disable the secure boot.What situation do you mean ? The current recommendation is for secure boot to be disabled before installing Linux Lite but there is no obligation to disable it. https://www.freecinema2022.gq/manual/start.html#secboot Re: Slow boot fix for systemd-networkd-wait-online.service - Carlos Bernardino - 11-11-2023 (11-04-2023, 10:30 AM)stevef link Wrote:Quote:Thanks for the help, but it didn't workDo you mean you still could not save the file or that the change did not speed up your computer ? Answer: I won't disable the secure boot because I think that I stay more secure with secure boot on. It starts normally with some errors in the automatic lines commands that are shown in the black screens. Only when I turn off the PC i see greens "OK". But the erros at start up of this Linux OS don't compromise the functions of the OS, so it's fine. I want to recommend that in the future, for the developers of this forum don't put the OS Linux Lite 7.x with more higher requirements please!! My mother, already takes 15-20 seconds for Google Chrome start and after the sound of the beginning of the OS she must wait some 20 seconds too... I would like to see this OS more lighter as possible, mainly the kernel! Try to don't put too much requirements! You will earn more users that have old PC's if the requirements will not be more higher! Regards! Thanks and Regards. |