Hardware - Support > Network

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

(1/2) > >>

Carlos Bernardino:

--- Quote from: stevef on November 04, 2023, 06:30:10 AM ---
--- Quote ---Thanks for the help, but it didn't work
--- End quote ---
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?
--- End quote ---
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.
--- End quote ---
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

--- End quote ---

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.

stevef:

--- Quote ---Thanks for the help, but it didn't work
--- End quote ---
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?
--- End quote ---
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.
--- End quote ---
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

Carlos Bernardino:

--- Quote from: stevef on November 01, 2023, 12:53:38 PM ---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.

--- End quote ---

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!

stevef:
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.

Carlos Bernardino:

--- Quote from: Jerry on September 28, 2023, 11:33:29 PM ---Made my boot times from 1 minute, to a few seconds:


--- Code: ---sudo systemctl edit --full systemd-networkd-wait-online.service
--- End code ---

change:


--- Code: ---ExecStart=/lib/systemd/systemd-networkd-wait-online
--- End code ---

to:


--- Code: ---ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout=5
--- End code ---

reboot.

Fix is specific ONLY to this systemd service.

--- End quote ---

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!

Navigation

[0] Message Index

[#] Next page

Go to full version