(Solved) Very Slow Boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

(Solved) Very Slow Boot

Post by War Horse »

Fresh install on a Dell D630 laptop, 80gig HD, 2 gig Ram. Booting up takes at least 4-5 minutes. Once the system is up and running it's just fine.
is this a possible HD problem or install ? I'll add that I did a DBAN on the HD before installing Mint 19.1
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Using Mint Cinnamon 20.3
redlined

Re: Very Slow Boot

Post by redlined »

hi War Horse!
(cool nick, I was a WarDog, long long ago;)

2GB RAM is minimal, and may cause issue depending on what you run. To help forums help you please open terminal and paste this command then hit enter:
inxi -Fxz && systemd-analyze blame
(hit q in terminal focus to end/exit last part of that command)

then select all that result and paste back in next reply between [ code ] tags which you create by click the </> icon (top left of reply edit box).

This will help any who look in on this thread determine what desktop and computer environment you use and might help determine issue and fix quicker. Thanks!
User avatar
karlchen
Level 23
Level 23
Posts: 18211
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Very Slow Boot

Post by karlchen »

Hello, War Horse.

Instead of 2 terminal commands, I would like to ask you to run 3 terminal commands and post their output, please:

Code: Select all

inxi -Fxz

Code: Select all

systemd-analyze

Code: Select all

systemd-analyze blame
You note the command in the middle, a pure systemd-analyze as been added. It will give the overall timespans for loading the kernel, loading the userpsace and the total startup time. Without these timespans looking at systemd-analyze blame alone is kind of pointless.

Best regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

inxi -Fxz result;

Code: Select all

 full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package

Using Mint Cinnamon 20.3
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Code: Select all

systemd-analyze
Startup finished in 1min 10.181s (kernel) + 56.962s (userspace) = 2min 7.144s
graphical.target reached after 56.947s in userspace
Using Mint Cinnamon 20.3
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Code: Select all

systemd-analyze blame
         33.423s lightdm.service
         33.412s plymouth-quit-wait.service
         30.158s colord.service
         17.806s ufw.service
         14.047s dev-sda1.device
         10.270s lvm2-monitor.service
          7.685s apt-daily.service
          7.660s systemd-udevd.service
          6.123s networkd-dispatcher.service
          5.637s ubuntu-system-adjustments.service
          5.566s udisks2.service
          5.102s NetworkManager.service
          4.673s alsa-restore.service
          4.278s systemd-journal-flush.service
          4.090s accounts-daemon.service
          3.916s systemd-sysctl.service
          3.647s dns-clean.service
          3.339s thermald.service
          3.138s ModemManager.service
          2.926s grub-common.service
          2.887s apport.service
          2.754s keyboard-setup.service
          2.217s systemd-tmpfiles-setup-dev.service
lines 1-23
Last edited by War Horse on Thu Feb 28, 2019 10:02 am, edited 2 times in total.
Using Mint Cinnamon 20.3
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Please let me know if this is what you need, and if I did it right. The second command didn't want the "sudo apt" in front of it.
Old man here, be gentle with me. :D

Oops, something is still running in terminal.
Using Mint Cinnamon 20.3
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

This was the last command after holding down 'enter' key.

Code: Select all

systemd-analyze blame
         33.423s lightdm.service
         33.412s plymouth-quit-wait.service
         30.158s colord.service
         17.806s ufw.service
         14.047s dev-sda1.device
         10.270s lvm2-monitor.service
          7.685s apt-daily.service
          7.660s systemd-udevd.service
          6.123s networkd-dispatcher.service
          5.637s ubuntu-system-adjustments.service
          5.566s udisks2.service
          5.102s NetworkManager.service
          4.673s alsa-restore.service
          4.278s systemd-journal-flush.service
          4.090s accounts-daemon.service
          3.916s systemd-sysctl.service
          3.647s dns-clean.service
          3.339s thermald.service
          3.138s ModemManager.service
          2.926s grub-common.service
          2.887s apport.service
          2.754s keyboard-setup.service
          2.217s systemd-tmpfiles-setup-dev.service
          1.739s systemd-modules-load.service
          1.468s wpa_supplicant.service
          1.360s upower.service
          1.276s swapfile.swap
          1.242s avahi-daemon.service
          1.202s networking.service
          1.142s lm-sensors.service
          1.111s gpu-manager.service
          1.106s apt-daily-upgrade.service
          1.086s pppd-dns.service
          1.025s systemd-logind.service
          1.024s systemd-tmpfiles-setup.service
           974ms blk-availability.service
           780ms systemd-journald.service
           746ms apparmor.service
           685ms polkit.service
           653ms systemd-tmpfiles-clean.service
           590ms plymouth-start.service
           538ms systemd-random-seed.service
           532ms user@1000.service
           485ms packagekit.service
           481ms rsyslog.service
           390ms dev-hugepages.mount
           386ms plymouth-read-write.service
           385ms dev-mqueue.mount
           380ms sys-kernel-debug.mount
           336ms systemd-remount-fs.service
           325ms systemd-rfkill.service
           238ms systemd-udev-trigger.service
           221ms kerneloops.service
           212ms systemd-update-utmp.service
           183ms kmod-static-nodes.service
           147ms systemd-timesyncd.service
           147ms hddtemp.service
           136ms speech-dispatcher.service
           125ms systemd-resolved.service
           119ms setvtrgb.service
            57ms rtkit-daemon.service
            33ms console-setup.service
            15ms ureadahead-stop.service
            14ms systemd-user-sessions.service
            11ms systemd-update-utmp-runlevel.service
            10ms systemd-backlight@backlight:intel_backlight.service
             8ms systemd-backlight@leds:dell::kbd_backlight.service
             7ms sys-fs-fuse-connections.mount
             7ms openvpn.service
             6ms sys-kernel-config.mount
lines 48-70/70 (END)
Using Mint Cinnamon 20.3
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Sorry, heres the second command with sudo apt added.

Code: Select all

sudo apt systemd-analyzed
[sudo] password for star:         
apt
Usage: apt command [options]
       apt help command [options]

Commands:
  add-repository   - Add entries to apt sources.list
  autoclean        - Erase old downloaded archive files
  autoremove       - Remove automatically all unused packages
  build            - Build binary or source packages from sources
  build-dep        - Configure build-dependencies for source packages
  changelog        - View a package's changelog
  check            - Verify that there are no broken dependencies
  clean            - Erase downloaded archive files
  contains         - List packages containing a file
  content          - List files contained in a package
  deb              - Install a .deb package
  depends          - Show raw dependency information for a package
  dist-upgrade     - Upgrade the system by removing/installing/upgrading packages
  download         - Download the .deb file for a package
  edit-sources     - Edit /etc/apt/sources.list with your preferred text editor
  dselect-upgrade  - Follow dselect selections
  full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package

star@star-Latitude-D630:~$ 
Using Mint Cinnamon 20.3
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

I've ordered a new 250g, SSD HD and 4 gigs of ram for this computer. I know it's old and I use it to throw in my motorcycle, which could be part of the problem. But the unit is fairly bullet proof.
Just thought I would give my reasons for doing this on such an old laptop.
Using Mint Cinnamon 20.3
redlined

Re: Very Slow Boot

Post by redlined »

hi War Horse,

yah, your userspace loading is very slow, may be hardware related, but we still need a good report to help determine that.

Please open terminal and copy then paste this command and hit enter (no need for sudo apt for any commands this thread)

Code: Select all

inxi -Fxzd
(note the upper case F if you opt to type command, please type as shown. This tells us what OS, desktop and hardware environment we are working with. Thanks!

ps, on the blame command, for future ref, you can hit letter q (or Ctrl+c) to end that open process, it was expected and why I mentioned to type q after.
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Ah, there was a d at the end . Got it, and here's what I got.

Code: Select all

sudo apt inxi -Fxzd
[sudo] password for star:         
apt
Usage: apt command [options]
       apt help command [options]

Commands:
  add-repository   - Add entries to apt sources.list
  autoclean        - Erase old downloaded archive files
  autoremove       - Remove automatically all unused packages
  build            - Build binary or source packages from sources
  build-dep        - Configure build-dependencies for source packages
  changelog        - View a package's changelog
  check            - Verify that there are no broken dependencies
  clean            - Erase downloaded archive files
  contains         - List packages containing a file
  content          - List files contained in a package
  deb              - Install a .deb package
  depends          - Show raw dependency information for a package
  dist-upgrade     - Upgrade the system by removing/installing/upgrading packages
  download         - Download the .deb file for a package
  edit-sources     - Edit /etc/apt/sources.list with your preferred text editor
  dselect-upgrade  - Follow dselect selections
  full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package

star@star-Latitude-D630:~$ 
Using Mint Cinnamon 20.3
redlined

Re: Very Slow Boot

Post by redlined »

lol, there is no need for add "sudo apt" to command I requested you to run. Please run this command in terminal:

Code: Select all

inxi -Fxzd
then copy that result and paste back in next reply in between [ code ] tags, which you create by click the </> icon along the top left edge of your reply edit box. Thanks!
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Ok, done.

Code: Select all

 inxi -Fxzd
System:
  Host: star-Latitude-D630 Kernel: 4.15.0-45-generic x86_64 bits: 64 
  compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.9 
  Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:
  Type: Portable System: Dell product: Latitude D630 v: N/A serial: <filter> 
  Mobo: Dell model: 0KU184 serial: <filter> BIOS: Dell v: A04 
  date: 11/01/2007 
Battery:
  ID-1: BAT0 charge: 57.7 Wh condition: 46.2/57.7 Wh (80%) 
  model: Sanyo DELL NT3770 status: Full 
CPU:
  Topology: Dual Core model: Intel Core2 Duo T7100 bits: 64 type: MCP 
  arch: Core Merom rev: D L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 7179 
  Speed: 798 MHz min/max: 800/1801 MHz Core speeds (MHz): 1: 798 2: 798 
Graphics:
  Device-1: Intel Mobile GM965/GL960 Integrated Graphics 
  vendor: Dell Latitude D630 driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x800~60Hz 
  OpenGL: renderer: Mesa DRI Intel 965GM v: 2.1 Mesa 18.2.2 
  direct render: Yes 
Audio:
  Device-1: Intel 82801H HD Audio vendor: Dell Latitude D630 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.15.0-45-generic 
Network:
  Device-1: Broadcom and subsidiaries NetXtreme BCM5755M Gigabit Ethernet 
  PCI Express 
  vendor: Dell driver: tg3 v: 3.137 port: 10c0 bus ID: 09:00.0 
  IF: enp9s0 state: down mac: <filter> 
  Device-2: Broadcom and subsidiaries BCM4321 802.11a/b/g/n 
  vendor: Dell Wireless 1500 Draft 802.11n WLAN Mini-card driver: wl 
  v: kernel port: 10c0 bus ID: 0c:00.0 
  IF: wlp12s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 74.53 GiB used: 18.20 GiB (24.4%) 
  ID-1: /dev/sda vendor: Fujitsu model: MHW2080BJ G2 size: 74.53 GiB 
  Optical-1: /dev/sr0 vendor: TSSTcorp model: DVD+-RW TS-L632H rev: D400 
  dev-links: cdrom,cdrw,dvd,dvdrw 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / size: 72.86 GiB used: 18.20 GiB (25.0%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 35.0 C mobo: N/A sodimm: 32.0 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 214 Uptime: 5h 44m Memory: 1.94 GiB used: 552.9 MiB (27.9%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19 
  inxi: 3.0.27 
star@star-Latitude-D630:~$ 
Using Mint Cinnamon 20.3
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Helloooo, is anyone still with me ?
I realise that I made a bit of a mess pasting the information, it was not my intention to upset anyone. If I made a mistake getting the information, please let me know.
Using Mint Cinnamon 20.3
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Very Slow Boot

Post by thx-1138 »

xed admin:///etc/default/grub
Modify / add to the line there as:
GRUB_CMDLINE_LINUX_DEFAULT="video=SVIDEO-1:d quiet splash"
Save. Then sudo update-grub & reboot...

...Typos are more than fine here in the forums, but not when you actively edit critical parts of the system:
Be very very careful when adding the video=SVIDEO-1:d there.
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Sigh, i must not have done that right. Here's what I did. Paste and copied;

xed admin:///etc/default/grub/GRUB_CMDLINE_LINUX_DEFAULT="video=SVIDEO-1:d quiet splash

Then > came up, and I entered "save"

Then > came up again, and I entered, sudo update-grub

Then > came up again and nothing happens.
Using Mint Cinnamon 20.3
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Very Slow Boot

Post by JerryF »

War Horse wrote: Sat Mar 02, 2019 11:09 am Sigh, i must not have done that right. Here's what I did. Paste and copied;

xed admin:///etc/default/grub/GRUB_CMDLINE_LINUX_DEFAULT="video=SVIDEO-1:d quiet splash

Then > came up, and I entered "save"

Then > came up again, and I entered, sudo update-grub

Then > came up again and nothing happens.
xed admin:///etc/default/grub/ is the command to run in Terminal
GRUB_CMDLINE_LINUX_DEFAULT="video=SVIDEO-1:d quiet splash is the text to modify/add

I'm not sure why you combined them.
War Horse
Level 3
Level 3
Posts: 126
Joined: Fri Feb 22, 2019 12:47 pm
Location: Florida

Re: Very Slow Boot

Post by War Horse »

Well, I'm not that good at this terminal thing. That's why I came to this help forum. I'm sure that it gets tiring for those that know what to do, trying to dumb it down for some of us that don't. Please be patient with me and try to take me in hand to work this out. I really do appreciate all the help, and maybe one day I can return the favor to someone that is where I'm at now.
Using Mint Cinnamon 20.3
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Very Slow Boot

Post by JerryF »

War Horse wrote: Sat Mar 02, 2019 6:49 pm Well, I'm not that good at this terminal thing. That's why I came to this help forum. I'm sure that it gets tiring for those that know what to do, trying to dumb it down for some of us that don't. Please be patient with me and try to take me in hand to work this out. I really do appreciate all the help, and maybe one day I can return the favor to someone that is where I'm at now.
I'm sorry if my reply came across as such. Not intended to be how you took it.

:)
Locked

Return to “Installation & Boot”