Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ubuntu persistence version 20.04 in legacy mode
#4
Hello.



The startup problem is resolved.




However, I thought I had made the persistence file correctly.



The software I'm using forgot to tell me that I have to prefix it with the word sudo (it should know how to warn.)





And I did not realize that the reported anomaly was extremely serious!

Code:
a@b:~/ventoy-1.0.30$ ./CreatePersistentImg.sh -s 4000
4000+0 enregistrements lus
4000+0 enregistrements écrits
4194304000 octets (4,2 GB, 3,9 GiB) copiés, 19,8929 s, 211 MB/s
losetup: /dev/loop15 : échec de configuration du périphérique boucle: Permission non accordée
mke2fs 1.45.5 (07-Jan-2020)
Impossible d'ouvrir /dev/loop15 : Permission non accordée
losetup: /dev/loop15 : échec de détachement: Permission non accordée
a@b:~/ventoy-1.0.30$


Now that it works, I find that the boot is extremely long



Code:
ubuntu@ubuntu:/mnt/home/a/Bureau$ sudo systemd-analyze time
Startup finished in 2min 46.921s (kernel) + 18min 38.759s (userspace) = 21min 25.680s
graphical.target reached after 18min 37.125s in userspace

ubuntu@ubuntu:/mnt/home/a/Bureau$ systemd-analyze blame | head -10
18min 4.416s ubiquity.service                                                        
4min 45.260s systemd-tmpfiles-clean.service                                          
1min 28.947s dev-mapper-ventoy.device                                                
     29.399s snapd.hold.service                                                      
     12.665s NetworkManager-wait-online.service                                      
     10.629s snapd.service                                                           
     10.506s gdm.service                                                             
      8.790s snapd.seeded.service                                                    
      7.237s systemd-udev-settle.service                                             
      6.421s accounts-daemon.service                                                 
ubuntu@ubuntu:/mnt/home/a/Bureau$


especially if I compare it to a build with unetbootin in a dedicated partition



Code:
ubuntu@ubuntu:~$ df -text4
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/sdd2        1037616 364008    602852  38% /media/ubuntu/casper-rw

ubuntu@ubuntu:~$ sudo systemd-analyze time
Startup finished in 2min 46.514s (kernel) + 25.690s (userspace) = 3min 12.205s
graphical.target reached after 25.524s in userspace

ubuntu@ubuntu:~$ systemd-analyze blame | head -10
10.698s gdm.service                                       
5.769s systemd-udev-settle.service                       
5.596s dev-sdd1.device                                   
4.626s snapd.service                                     
4.182s NetworkManager-wait-online.service                
4.119s udisks2.service                                   
3.816s dev-loop0.device                                  
2.533s accounts-daemon.service                
2.254s avahi-daemon.service                              
2.149s NetworkManager.service                            
ubuntu@ubuntu:~$


I noticed that the first one uses  ubiquity.services



while the second uses gdm.services



But I don't understand the reason; Do you have an idea?
Reply


Messages In This Thread
RE: ubuntu persistence version 20.04 in legacy mode - by geole - 12-16-2020, 05:28 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)