Page 2 of 2

Re: Slow Boot

Posted: Wed Sep 22, 2021 11:35 am
by TimothySimon
SamD63 wrote: Wed Sep 22, 2021 6:44 am I no longer get the errors and boot time went from 5:33 minutes down to 2:52 minutes

Is that a reasonable boot time or is it still slow?

I have an SSD on its way and I hope that speeds up things even more
What's the startup time for a live USB ?
(This is just a VERY ROUGH estimate)

You may consider disabling swap by commenting out (adding a # in the beginning of) the swap line in /etc/fstab
Note: Disabling swap is very good, especially for SSDs, but it should not be done if you plan to use more volatile memory than the RAM capacity.

Another speedup is /tmp on tmpfs:

Code: Select all

# Run this script only ONCE on any system (or remove the old entries before running again).
echo "tmpfs  /tmp  tmpfs  defaults,rw,nosuid,nodev  0 0" | sudo tee -a /etc/fstab
sudo reboot # Reboot the system

Re: Slow Boot

Posted: Wed Sep 22, 2021 12:13 pm
by figueroa
From GRUB prompt to login prompt is 55 seconds:
AMD Athlon(tm) 7850 Dual-Core Processor; 4 GB RAM;
Spinning rust; IDE interfaces; ATA-7: Maxtor 6L200P0, BAJ41G20, max UDMA/133
MX-19.4_x64 XFCE4; Linux mx 4.19.0-17-amd64
PCCHIPS A15G/A15G, BIOS 080015 08/13/2009
Added: Have a 2 GB swap partition on second drive.
Edited: Also reorganized specs for logical flow.

Re: Slow Boot

Posted: Wed Sep 22, 2021 1:47 pm
by SamD63
I'll consider this solved. Thanks for the help everyone!!

Re: Slow Boot

Posted: Fri Oct 01, 2021 6:48 pm
by SamD63
Just a little update. Improved my boot time even more. For some reason it was trying to read my raid system( don’t have one) deleted the adadm file. Also it was hanging up on trying to reach the host server for Google Remote Desktop. Once I removed GRD. Boot time is around 20 seconds.