Score:0

Takes long time to boot

in flag

output of demsg command![Text] output of dmesg command is as follows:

1.941868] usb 1-3: Product: HP Wide Vision HD Camera
[    1.941872] usb 1-3: Manufacturer: SunplusIT Inc
[    1.972306]  sda: sda1 sda2 sda3 sda4 sda5
[    1.989479] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.031894] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x4d5f02)
[    2.046306] psmouse serio1: elantech: Synaptics capabilities query result 0x10, 0x1a, 0x0d.
[    2.059945] psmouse serio1: elantech: Elan sample query result 03, 4d, 86
[    2.069184] usb 1-10: new full-speed USB device number 3 using xhci_hcd
[    2.133325] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input5
[    2.218509] usb 1-10: New USB device found, idVendor=8087, idProduct=0aaa, bcdDevice= 0.02
[    2.218523] usb 1-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   32.446643] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   34.434229] systemd[1]: Inserted module 'autofs4'
[   34.849796] systemd[1]: systemd 245.4-4ubuntu3.13 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[   34.869373] systemd[1]: Detected architecture x86-64.
[   34.911104] systemd[1]: Set hostname to <anjali-HP-Pavilion-Laptop-15-cs1xxx>.
[   37.015155] systemd[1]: Created slice system-modprobe.slice.
[   37.015844] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   37.016383] systemd[1]: Created slice User and Session Slice.
[   37.016562] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   37.017068] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   37.017206] systemd[1]: Reached target User and Group Name Lookups.
[   37.017269] systemd[1]: Reached target Remote File Systems.
[   37.017305] systemd[1]: Reached target Slices.
[   37.017640] systemd[1]: Listening on Syslog Socket.
[   37.017899] systemd[1]: Listening on fsck to fsckd communication Socket.
[   37.018041] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   37.018528] systemd[1]: Listening on Journal Audit Socket.
[   37.018781] systemd[1]: Listening on Journal Socket (/dev/log).
[   37.019048] systemd[1]: Listening on Journal Socket.
[   37.019316] systemd[1]: Listening on udev Control Socket.
[   37.019535] systemd[1]: Listening on udev Kernel Socket.
[   37.021941] systemd[1]: Mounting Huge Pages File System...
[   37.024263] systemd[1]: Mounting POSIX Message Queue File System...
[   37.026311] systemd[1]: Mounting Kernel Debug File System...
[   37.027848] systemd[1]: Mounting Kernel Trace File System...
[   37.030331] systemd[1]: Starting Jo

My laptop takes almost upto 2 minutes to boot

i have an hp-pavilion with dual boot ubuntu 20.04 and windows 10 intel i7 with 2TB harddisk

following is output of systemd analyze

    systemd-analyze 
    Startup finished in 5.086s (firmware) + 13.433s (loader) + 34.002s (kernel) + 57.914s (userspace) = 1min 50.437s 
    graphical.target reached after 57.765s in userspace

i am actually new to ubuntu. Could someone suggest how to decrease the boot time?


Edit: output for systemd-analyze blame 
36.353s plymouth-quit-wait.service                           
11.265s networkd-dispatcher.service                          
10.370s snapd.service                                        
 9.586s dev-sda5.device                                      
 9.034s systemd-journal-flush.service                        
 8.642s udisks2.service                                      
 8.057s accounts-daemon.service                              
 5.719s polkit.service                                       
 5.032s avahi-daemon.service                                 
 5.030s bluetooth.service                                    
 5.026s NetworkManager.service                               
 5.020s iio-sensor-proxy.service                             
 4.437s ModemManager.service                                 
 4.311s switcheroo-control.service                           
 4.303s thermald.service                                     
 4.301s systemd-logind.service                               
 4.292s wpa_supplicant.service                               
 3.215s systemd-resolved.service                             
 3.209s preload.service                                      
 3.137s apport.service                                       
 3.059s grub-initrd-fallback.service                         
 2.978s gdm.service                                          
 2.868s systemd-udevd.service                                
 2.844s gpu-manager.service                                  
 2.170s upower.service                                       
 2.147s rsyslog.service                                      
 1.948s plymouth-start.service                               
 1.942s grub-common.service                                  
 1.905s systemd-tmpfiles-setup.service                       
 1.872s secureboot-db.service                                
 1.455s apparmor.service                                     
 1.187s systemd-random-seed.service                          
 1.011s e2scrub_reap.service                                 
  845ms systemd-sysctl.service                               
  709ms ua-messaging.service                                 
  673ms systemd-modules-load.service                         
  637ms systemd-fsck@dev-disk-by\x2duuid-4C2B\x2dC1A4.service
  614ms systemd-udev-trigger.service                         
  463ms kerneloops.service                                   
  433ms systemd-sysusers.service                             
  389ms swapfile.swap                                        
  375ms keyboard-setup.service                               
  368ms systemd-journald.service                             
  313ms systemd-backlight@backlight:intel_backlight.service  
  269ms systemd-rfkill.service                               
  260ms [email protected]                                    
  250ms pppd-dns.service                                     
  205ms systemd-tmpfiles-setup-dev.service                   
  196ms systemd-timesyncd.service                            
  191ms snapd.seeded.service                                 
  162ms systemd-user-sessions.service                        
  157ms alsa-restore.service                                 
  143ms setvtrgb.service                                     
  137ms systemd-tmpfiles-clean.service                       
lines 1-54
cn flag
please do not add images; copy/paste relevant parts of the text from console. Plus you will need to add in some hardware details. 1m for a 5400rpm hdd is -quick- for an ssd not so much ;-) Use `systemd-analyze blame` as it will show time per service, Makes it easier to find an issue with any of them.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.