Score:0

KDE kubuntu boot around 3 minute/more. How to remove the old ubuntu system configuration and use this current installed?

cn flag

How to quicken my boot time?? Which I think it is about removing the "dev-loop8.device" and its friend, it boots multiple time as show in logs

I do realize this is because the previous time I did installed ubuntu>do some tweaks and broke the enviroment of its, even i did restoring it wont help

  1. Learned the hard lesson not to install gnome shell and it will break my UI.

  2. Learned that installed Deepin DDE which makes me regret it more because easy to install but hard to remove and accidentally lead me to manually install ubuntu through safe-root-cmd(i didnt know how to explain but thanks to someone here, i did reinstalled the default Gnome desktop).

  3. Now, I think I love this KDE environment on my Ubuntu(which now shown as Kubuntu hahaha as boot loading), easy to adjust for a beginner Linux user like me. But the problem is.... base on System Diagnose Logs(systemd blame method) my previous installation still not cleaned.

  4. I know I messed things up a lot. But please give me A hints how to remove those multiple boot loading?

result systemd-analyze blame

25.435s dev-sda7.device                                      
17.152s snapd.service                                        
13.125s udisks2.service                                      
12.678s networkd-dispatcher.service                          
 9.989s dev-loop8.device                                     
 9.989s dev-loop9.device                                     
 9.508s dev-loop17.device                                    
 9.398s dev-loop16.device                                    
 9.076s dev-loop11.device                                    
 8.997s dev-loop21.device                                    
 8.686s dev-loop13.device                                    
 8.594s dev-loop3.device                                     
 8.301s dev-loop14.device                                    
 8.255s dev-loop23.device                                    
 8.051s dev-loop18.device                                    
 7.939s dev-loop15.device                                    
 7.766s dev-loop12.device                                    
 7.454s dev-loop10.device                                    
 7.330s dev-loop19.device                                    
 7.319s polkit.service                                       
 7.311s dev-loop22.device                                    
 7.220s NetworkManager.service                               
 7.207s dev-loop20.device                                    
 7.201s NetworkManager-wait-online.service                   
 7.165s avahi-daemon.service                                 
 6.901s dev-loop1.device                                     
 6.679s dev-loop2.device                                     
 6.602s systemd-logind.service                               
 6.599s wpa_supplicant.service                               
 6.338s dev-loop7.device                                     
 6.016s gpu-manager.service                                  
 5.809s dev-loop6.device                                     
 4.973s dev-loop4.device                                     
 4.796s apport-autoreport.service                            
 4.466s dev-loop5.device                                     
 4.270s ModemManager.service                                 
 3.286s dev-loop0.device                                     
 2.978s fwupd-refresh.service                                
 2.974s apport.service                                       
 2.092s grub-common.service                                  
 1.670s fwupd.service                                        
 1.663s apparmor.service                                     
 1.586s upower.service                                       
 1.538s snap-norka-141.mount                                 
 1.422s snap-gtk\x2dcommon\x2dthemes-1515.mount              
 1.410s systemd-sysctl.service                               
 1.378s snap-snap\x2dstore-547.mount                         
 1.355s snapd.apparmor.service                               
 1.354s snap-snapd-12704.mount                               
 1.319s snap-gnome\x2d3\x2d38\x2d2004-87.mount               
 1.295s snap-snap\x2dstore-558.mount                         
 1.230s snap-snapd-14295.mount                               
 1.181s systemd-resolved.service                             
 1.180s lm-sensors.service                                   
 1.089s snap-gnome\x2d3\x2d34\x2d1804-77.mount               
 1.028s [email protected]                                    
 1.021s snap-gtk\x2dcommon\x2dthemes-1519.mount              
 1.008s snap-qt551-39.mount                                  
  949ms snap-gnome\x2d3\x2d28\x2d1804-161.mount              
  912ms snap-gnome\x2d3\x2d34\x2d1804-72.mount               
  910ms systemd-networkd.service                             
  878ms ua-timer.service                                     
  847ms snap-android\x2dstudio-115.mount                     
  810ms systemd-modules-load.service                         
  783ms snap-bare-5.mount                                    
  742ms snap-code-85.mount                                   
  728ms snap-core-11993.mount                                
  725ms snap-core18-2128.mount                               
  721ms systemd-udevd.service                                
  705ms snap-core18-2253.mount                               
  696ms snap-core20-1270.mount                               
  620ms keyboard-setup.service                               
  585ms alsa-restore.service                                 
  584ms systemd-sysusers.service                             
  551ms e2scrub_reap.service                                 
  479ms grub-initrd-fallback.service                         
  472ms systemd-tmpfiles-setup-dev.service                   
  459ms systemd-tmpfiles-setup.service                       
  454ms systemd-random-seed.service                          
  434ms snapd.seeded.service                                 
  418ms snap-curl-623.mount                                  
  389ms snap-figma\x2dlinux-149.mount                        
  307ms snap-firefox-777.mount                               
  305ms systemd-udev-trigger.service                         
  295ms systemd-user-sessions.service                        
  284ms systemd-networkd-wait-online.service                 
  272ms systemd-fsck@dev-disk-by\x2duuid-67EC\x2dEF24.service
  272ms systemd-backlight@backlight:radeon_bl0.service       
  260ms systemd-journald.service                             
  242ms kerneloops.service                                   
  229ms swapfile.swap                                        
  220ms snap-gimp-383.mount                                  
  209ms plymouth-read-write.service                          
  209ms plymouth-read-write.service                          
  194ms snap-flutter-111.mount                               
  194ms snap-flutter-111.mount                               
  164ms setvtrgb.service                                     
  152ms hddtemp.service                                      
  140ms sddm.service                                         
  131ms boot-efi.mount                                       
  116ms dev-hugepages.mount                                  
  114ms dev-mqueue.mount                                     
  113ms sys-kernel-debug.mount                               
  112ms systemd-tmpfiles-clean.service                       
  111ms sys-kernel-tracing.mount                             
  105ms kmod-static-nodes.service                            
  100ms systemd-journal-flush.service                        
   96ms rtkit-daemon.service                                 
   96ms systemd-rfkill.service                               
   94ms systemd-remount-fs.service                           
   83ms console-setup.service                                
   61ms ufw.service                                          
   48ms systemd-update-utmp.service                          
   38ms proc-sys-fs-binfmt_misc.mount                        
   36ms pppd-dns.service                                     
   27ms [email protected]                        
   25ms plymouth-quit.service                                
   21ms plymouth-start.service                               
   11ms systemd-update-utmp-runlevel.service                 
    9ms sys-fs-fuse-connections.mount                        
    7ms sys-kernel-config.mount                              
    7ms gdm3.service

result of systemd-analyze & systemd-analyze critical-chain

systemd-analyze
Startup finished in 9.656s (kernel) + 52.854s (userspace) = 1min 2.511s 
graphical.target reached after 51.628s in userspace

systemd-analyze critical-chain
graphical.target @51.628s
└─multi-user.target @51.627s
  └─snapd.seeded.service @51.192s +434ms
    └─snapd.service @34.035s +17.152s
      └─basic.target @33.455s
        └─sockets.target @33.454s
          └─snapd.socket @33.452s +2ms
            └─sysinit.target @33.348s
              └─snapd.apparmor.service @31.992s +1.355s
                └─apparmor.service @30.267s +1.663s
                  └─local-fs.target @30.265s
                    └─boot-efi.mount @30.133s +131ms
                      └─systemd-fsck@dev-disk-by\x2duuid-67EC\x2dEF24.service @29.846s >
                        └─dev-disk-by\x2duuid-67EC\x2dEF24.device @29.844s
lines 1-17/17 (END)

result of df -h

df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            3.4G     0  3.4G   0% /dev
tmpfs           690M  9.8M  680M   2% /run
/dev/sda7       313G   91G  206G  31% /
tmpfs           3.4G     0  3.4G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.4G     0  3.4G   0% /sys/fs/cgroup
/dev/loop1      965M  965M     0 100% /snap/android-studio/115
/dev/loop6       62M   62M     0 100% /snap/core20/1270
/dev/loop4       56M   56M     0 100% /snap/core18/2128
/dev/loop5       56M   56M     0 100% /snap/core18/2253
/dev/loop2      218M  218M     0 100% /snap/code/85
/dev/loop3      100M  100M     0 100% /snap/core/11993
/dev/loop0      128K  128K     0 100% /snap/bare/5
/dev/loop8      148M  148M     0 100% /snap/figma-linux/149
/dev/loop7      6.4M  6.4M     0 100% /snap/curl/623
/dev/loop9      153M  153M     0 100% /snap/firefox/777
/dev/loop10     200M  200M     0 100% /snap/flutter/111
/dev/loop11     392M  392M     0 100% /snap/gimp/383
/dev/loop12     219M  219M     0 100% /snap/gnome-3-34-1804/72
/dev/loop13     165M  165M     0 100% /snap/gnome-3-28-1804/161
/dev/loop14      66M   66M     0 100% /snap/gtk-common-themes/1519
/dev/loop17     259M  259M     0 100% /snap/qt551/39
/dev/loop16     219M  219M     0 100% /snap/gnome-3-34-1804/77
/dev/loop19      44M   44M     0 100% /snap/snapd/14295
/dev/loop15      55M   55M     0 100% /snap/snap-store/558
/dev/loop18     248M  248M     0 100% /snap/gnome-3-38-2004/87
/dev/loop20      33M   33M     0 100% /snap/snapd/12704
/dev/loop23      51M   51M     0 100% /snap/snap-store/547
/dev/loop22      66M   66M     0 100% /snap/gtk-common-themes/1515
/dev/loop21     109M  109M     0 100% /snap/norka/141
/dev/sda6       511M  4.0K  511M   1% /boot/efi
tmpfs           690M   20K  690M   1% /run/user/1000
Terrance avatar
id flag
`df -h` from a terminal window will show you what all those loops are.
cn flag
it shows mostly on snap after commanded `df-h`, the result shown below. :(
Terrance avatar
id flag
Please add that to your question. You wanted to know what those loops are at startup, well, that is them. You can decide if you want to keep those snaps or remove them and install their .deb equivalents.
cn flag
Done, moved my previous reply result log into the question section sir. And, about removal of those snaps, does that make it faster boot? I mean, I still need to Install Android Studio, Flutter, and VSCode again tho(That is the main purpose).
Terrance avatar
id flag
Check out: https://askubuntu.com/questions/1275229/very-long-boot-up-in-ubuntu-20-04-1-lts-desktop as it can help about the snaps during load time.
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.