You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Slow boot fix for systemd-networkd-wait-online.service

Author (Read 21673 times)

0 Members and 2 Guests are viewing this topic.

Re: Slow boot fix for systemd-networkd-wait-online.service
« Reply #6 on: November 11, 2023, 04:24:31 AM »
 

Carlos Bernardino

  • New to Forums
  • *
  • 19
    Posts
  • Reputation: 0
    • View Profile

  • CPU: Intel Celeron 1.5Ghz Dual Core

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD Graphics

  • Kernel: 6.x
Quote
Thanks for the help, but it didn't work
Do you mean you still could not save the file or that the change did not speed up your computer ?

Answer: I save the file according with the instructions and after saved the file, I reboot the operating system.


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.

Answer: But in the beginning, when I installed the OS Linux Lite, the boot only took 20-25 seconds until open into the desktop environment. I only felt slow time in booting, after installing the antivirus clamav, but I don't want install it. (One recomendation that I would like to see implemented on Linux Lite OS is the possibility of installing Comodo Antivirus in the programs list or with compatibily with this OS!)


The post with the most information regarding boot times is here.
https://www.linuxliteos.com/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.


Answer: I know, but I don't have money!!!! I searched this OS Linux Lite for having the possibility of installing one OS on old computer, because if I have money to buy a SSD maybe this OS was not necessary and I continued with Windows 10 or Windows 8.1 with an antivirus premium.

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 ?

Answer: I wanted mean if the boot will be more faster in Linux OS 6.7 with a fix for this situation or if the boot will become more faster in Linux 7!


The current recommendation is for secure boot to be disabled before installing Linux Lite but there is no obligation to disable it.
https://www.linuxliteos.com/manual/start.html#secboot


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.
« Last Edit: November 11, 2023, 06:17:36 AM by Carlos Bernardino »
 

Re: Slow boot fix for systemd-networkd-wait-online.service
« Reply #5 on: November 04, 2023, 06:30:10 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 822
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Quote
Thanks for the help, but it didn't work
Do 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.linuxliteos.com/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.linuxliteos.com/manual/start.html#secboot
clueless
 

Re: Slow boot fix for systemd-networkd-wait-online.service
« Reply #4 on: November 04, 2023, 05:21:45 AM »
 

Carlos Bernardino

  • New to Forums
  • *
  • 19
    Posts
  • Reputation: 0
    • View Profile

  • CPU: Intel Celeron 1.5Ghz Dual Core

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD Graphics

  • Kernel: 6.x
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.

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!
« Last Edit: November 04, 2023, 05:23:45 AM by Carlos Bernardino »
 

Re: Slow boot fix for systemd-networkd-wait-online.service
« Reply #3 on: November 01, 2023, 12:53:38 PM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 822
    Posts
  • Reputation: 148
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
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.
clueless
 

Re: Slow boot fix for systemd-networkd-wait-online.service
« Reply #2 on: November 01, 2023, 05:13:23 AM »
 

Carlos Bernardino

  • New to Forums
  • *
  • 19
    Posts
  • Reputation: 0
    • View Profile

  • CPU: Intel Celeron 1.5Ghz Dual Core

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD Graphics

  • Kernel: 6.x
Made my boot times from 1 minute, to a few seconds:

Code: [Select]
sudo systemctl edit --full systemd-networkd-wait-online.service
change:

Code: [Select]
ExecStart=/lib/systemd/systemd-networkd-wait-online
to:

Code: [Select]
ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout=5
reboot.

Fix is specific ONLY to this systemd service.

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!
 

Slow boot fix for systemd-networkd-wait-online.service
« Reply #1 on: September 28, 2023, 11:33:29 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Made my boot times from 1 minute, to a few seconds:

Code: [Select]
sudo systemctl edit --full systemd-networkd-wait-online.service
change:

Code: [Select]
ExecStart=/lib/systemd/systemd-networkd-wait-online
to:

Code: [Select]
ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout=5
reboot.

Fix is specific ONLY to this systemd service.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section