Pages : 1
#1 Le 02/07/2021, à 08:01
- nestorburma
kubuntu démarrage tres lent
bonjour
j'ai installé kubuntu 20.04 lts et je trouve que le démarrage est lent ,il me faut environ une minute entre le moment ou je lance kubuntu depuis grub et le moment ou je peux utiliser la machine (j'ai 3 distros,debian,kubuntu,win 10),en effet pendant le démarrage on repasse 2 fois par l'écran de démarrage de l'ordi (celui qu'on a au demarrage de la machine avant grub),sur la debian et win 10 je n'ai pas ce problème la machine demarre beaucoup plus rapidement
quelles peuvent être les raisons de ce problème ??
si quelqu'un peut me répondre???
merci
Dernière modification par nestorburma (Le 02/07/2021, à 08:03)
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#2 Le 02/07/2021, à 08:07
- malbo
Re : kubuntu démarrage tres lent
Bonjour,
Depuis une session de ton Kubuntu 20.04, je te prie de faire ce que j'explique dans ce post : https://forum.ubuntu-fr.org/viewtopic.p … #p21667487 (sauf que pour la deuxième commande, il faudra remplacer gedit par kate c'est à dire que la commande sera "kate journal.txt"
Hors ligne
#3 Le 02/07/2021, à 10:46
- nestorburma
Re : kubuntu démarrage tres lent
bonjour
voila la réponse
jean@jean-asus:~$ journalctl -p err > journal.txt
jean@jean-asus:~$ kate journal.txt
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/scalable/ui/"
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
jean@jean-asus:~$
Dernière modification par nestorburma (Le 02/07/2021, à 10:53)
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#4 Le 02/07/2021, à 11:51
- malbo
Re : kubuntu démarrage tres lent
Tu as passé la commande :
journalctl -p err > journal.txt
Moi je t'ai demandé de passer cette commande :
journalctl -xb > journal.txt
Hors ligne
#5 Le 03/07/2021, à 07:44
- nestorburma
Re : kubuntu démarrage tres lent
bonjour
voila
jean@jean-asus:~$ journalctl -xb > journal.txt
jean@jean-asus:~$
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#6 Le 03/07/2021, à 07:49
- FrancisFDZ
Re : kubuntu démarrage tres lent
Bonjour,
Je pense qu'il serait bon de nous faire connaitre le contenu de ce journal, soit la réponse à
cat journal.txt
-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]
Hors ligne
#7 Le 03/07/2021, à 07:51
- malbo
Re : kubuntu démarrage tres lent
Bonjour,
La commande que tu as passée dans ton post #5 a entraîné la création d'un fichier journal.txt mais ce qu'il faut après ça, c'est ouvrir ce fichier avec l'éditeur de texte en passant cette autre commande :
kate journal.txt
Tu copies tout le contenu de ce fichier et tu le colles dans ta réponse en utilisant les balises
Hors ligne
#8 Le 03/07/2021, à 07:51
- nestorburma
Re : kubuntu démarrage tres lent
bonjour
voila la reponse a cat journal.txt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a commencé à démarrer.
juil. 03 08:41:23 jean-asus systemd[1]: Started Session 1 of user sddm.
-- Subject: L'unité (unit) session-1.scope a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) session-1.scope a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus systemd[1896]: Started Studio autojack session daemon.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4767] dhcp4 (enp2s0): option dhcp_lease_time => '43200'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4767] dhcp4 (enp2s0): option domain_name_servers => '192.168.0.254'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option expiry => '1625337683'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option ip_address => '192.168.0.27'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_broadcast_address => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_domain_name => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_domain_name_servers => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_domain_search => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_host_name => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_interface_mtu => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_ms_classless_static_routes => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4768] dhcp4 (enp2s0): option requested_nis_domain => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_nis_servers => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_ntp_servers => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_rfc3442_classless_static_routes => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_root_path => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_routers => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_static_routes => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_subnet_mask => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_time_offset => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4769] dhcp4 (enp2s0): option requested_wpad => '1'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4770] dhcp4 (enp2s0): option routers => '192.168.0.254'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4770] dhcp4 (enp2s0): option subnet_mask => '255.255.255.0'
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4770] dhcp4 (enp2s0): state changed unknown -> bound
juil. 03 08:41:23 jean-asus avahi-daemon[1056]: Joining mDNS multicast group on interface enp2s0.IPv4 with address 192.168.0.27.
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4782] device (enp2s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
juil. 03 08:41:23 jean-asus avahi-daemon[1056]: New relevant interface enp2s0.IPv4 for mDNS.
juil. 03 08:41:23 jean-asus avahi-daemon[1056]: Registering new address record for 192.168.0.27 on enp2s0.IPv4.
juil. 03 08:41:23 jean-asus sddm[1810]: Greeter session started successfully
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4803] device (enp2s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4805] device (enp2s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4809] manager: NetworkManager state is now CONNECTED_LOCAL
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4818] manager: NetworkManager state is now CONNECTED_SITE
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4819] policy: set 'Connexion filaire 1' (enp2s0) as default for IPv4 routing and DNS
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4840] device (enp2s0): Activation: successful, device activated.
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4846] manager: NetworkManager state is now CONNECTED_GLOBAL
juil. 03 08:41:23 jean-asus NetworkManager[1064]: <info> [1625294483.4849] manager: startup complete
juil. 03 08:41:23 jean-asus systemd[1]: Finished Network Manager Wait Online.
-- Subject: L'unité (unit) NetworkManager-wait-online.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) NetworkManager-wait-online.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus systemd[1]: Reached target Network is Online.
-- Subject: L'unité (unit) network-online.target a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) network-online.target a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus systemd[1]: Starting Tool to automatically collect and submit kernel crash signatures...
-- Subject: L'unité (unit) kerneloops.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) kerneloops.service a commencé à démarrer.
juil. 03 08:41:23 jean-asus systemd[1]: Started crash report submission daemon.
-- Subject: L'unité (unit) whoopsie.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) whoopsie.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus systemd[1]: kerneloops.service: Found left-over process 1927 (kerneloops) in control group while starting unit. Ignoring.
juil. 03 08:41:23 jean-asus systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
juil. 03 08:41:23 jean-asus sddm-greeter[1910]: High-DPI autoscaling not Enabled
juil. 03 08:41:23 jean-asus systemd[1]: Started Tool to automatically collect and submit kernel crash signatures.
-- Subject: L'unité (unit) kerneloops.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) kerneloops.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus systemd[1]: Reached target Multi-User System.
-- Subject: L'unité (unit) multi-user.target a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) multi-user.target a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus dbus-daemon[1063]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.30' (uid=120 pid=1908 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo" label="unconfined")
juil. 03 08:41:23 jean-asus systemd[1]: Starting RealtimeKit Scheduling Policy Service...
-- Subject: L'unité (unit) rtkit-daemon.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) rtkit-daemon.service a commencé à démarrer.
juil. 03 08:41:23 jean-asus dbus-daemon[1063]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
juil. 03 08:41:23 jean-asus systemd[1]: Started RealtimeKit Scheduling Policy Service.
-- Subject: L'unité (unit) rtkit-daemon.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) rtkit-daemon.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus rtkit-daemon[1951]: Successfully called chroot.
juil. 03 08:41:23 jean-asus rtkit-daemon[1951]: Successfully dropped privileges.
juil. 03 08:41:23 jean-asus rtkit-daemon[1951]: Successfully limited resources.
juil. 03 08:41:23 jean-asus rtkit-daemon[1951]: Running.
juil. 03 08:41:23 jean-asus rtkit-daemon[1951]: Canary thread running.
juil. 03 08:41:23 jean-asus rtkit-daemon[1951]: Watchdog thread running.
juil. 03 08:41:23 jean-asus sddm-greeter[1910]: Reading from "/usr/share/xsessions/plasma.desktop"
juil. 03 08:41:23 jean-asus systemd[1896]: Started D-Bus User Message Bus.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:23 jean-asus dbus-daemon[1963]: [session uid=120 pid=1963] AppArmor D-Bus mediation is enabled
juil. 03 08:41:23 jean-asus ModemManager[1545]: <info> Couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0': not supported by any plugin
juil. 03 08:41:24 jean-asus sddm-greeter[1910]: Loading theme configuration from "/usr/share/sddm/themes/ubuntu-theme/theme.conf"
juil. 03 08:41:24 jean-asus sddm-greeter[1910]: Connected to the daemon.
juil. 03 08:41:24 jean-asus sddm[1810]: Message received from greeter: Connect
juil. 03 08:41:24 jean-asus whoopsie[1918]: [08:41:24] Using lock path: /var/lock/whoopsie/lock
juil. 03 08:41:24 jean-asus whoopsie[1918]: [08:41:24] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
juil. 03 08:41:24 jean-asus whoopsie[1918]: [08:41:24] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
juil. 03 08:41:24 jean-asus whoopsie[1918]: [08:41:24] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
juil. 03 08:41:24 jean-asus sddm-greeter[1910]: Loading file:///usr/share/sddm/themes/ubuntu-theme/Main.qml...
juil. 03 08:41:24 jean-asus rtkit-daemon[1951]: Successfully made thread 1908 of process 1908 owned by '120' high priority at nice level -11.
juil. 03 08:41:24 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:24 jean-asus sddm-greeter[1910]: QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7ffee50eee30), parent's thread is QThread(0x56307dc8a1e0), current thread is QThread(0x56307dd15360)
juil. 03 08:41:24 jean-asus sddm-greeter[1910]: QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7ffee50eee30), parent's thread is QThread(0x56307dc8a1e0), current thread is QThread(0x56307dd15360)
juil. 03 08:41:24 jean-asus systemd[1]: Started Disk Manager.
-- Subject: L'unité (unit) udisks2.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) udisks2.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:24 jean-asus systemd[1]: Reached target Graphical Interface.
-- Subject: L'unité (unit) graphical.target a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) graphical.target a terminé son démarrage, avec le résultat done.
juil. 03 08:41:24 jean-asus udisksd[1120]: Acquired the name org.freedesktop.UDisks2 on the system message bus
juil. 03 08:41:24 jean-asus systemd[1]: Starting Update UTMP about System Runlevel Changes...
-- Subject: L'unité (unit) systemd-update-utmp-runlevel.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) systemd-update-utmp-runlevel.service a commencé à démarrer.
juil. 03 08:41:24 jean-asus sddm-greeter[1910]: QObject: Cannot create children for a parent that is in a different thread.
(Parent is QGuiApplication(0x7ffee50eee30), parent's thread is QThread(0x56307dc8a1e0), current thread is QThread(0x56307dd15360)
juil. 03 08:41:24 jean-asus sddm-greeter[1910]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
juil. 03 08:41:24 jean-asus systemd[1]: systemd-update-utmp-runlevel.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit systemd-update-utmp-runlevel.service has successfully entered the 'dead' state.
juil. 03 08:41:24 jean-asus systemd[1]: Finished Update UTMP about System Runlevel Changes.
-- Subject: L'unité (unit) systemd-update-utmp-runlevel.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) systemd-update-utmp-runlevel.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:24 jean-asus systemd[1]: Startup finished in 6.108s (firmware) + 12.380s (loader) + 3.993s (kernel) + 8.086s (userspace) = 30.569s.
-- Subject: Le démarrage du système est terminé
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Tous les services nécessaires au démarrage du système ont été lancés.
-- Notez que cela ne signifie pas que le système est maintenant au repos,
-- car des services peuvent encore être en train de terminer leur démarrage.
--
-- Le chargement du noyau a nécessité 3993154 microsecondes.
--
-- Le chargement du « RAM disk » initial a nécessité INITRD_USEC microsecondes.
--
-- Le chargement de l'espace utilisateur a nécessité 8086710 microsecondes.
juil. 03 08:41:24 jean-asus root[1986]: Ubuntustudio Controls: Setting system settings
juil. 03 08:41:24 jean-asus root[1988]: Ubuntustudio Controls: Set no_turbo 0
juil. 03 08:41:24 jean-asus ubuntustudio[1991]: 0
juil. 03 08:41:24 jean-asus root[1993]: Ubuntustudio Controls: 0
juil. 03 08:41:24 jean-asus root[1995]: Ubuntustudio Controls: Using powersave governor
juil. 03 08:41:24 jean-asus root[1997]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus udisksd[1120]: mountpoint /media/jean/systeme mate is invalid, cannot recover the canonical path
juil. 03 08:41:24 jean-asus udisksd[1120]: Cleaning up mount point /media/jean/systeme mate (device 8:20 is not mounted)
juil. 03 08:41:24 jean-asus udisksd[1120]: mountpoint /media/jean/home mate is invalid, cannot recover the canonical path
juil. 03 08:41:24 jean-asus udisksd[1120]: Cleaning up mount point /media/jean/home mate (device 8:4 is not mounted)
juil. 03 08:41:24 jean-asus root[1998]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus root[1999]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus root[2000]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus root[2001]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus root[2002]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus root[2003]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus systemd[1]: ondemand.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit ondemand.service has successfully entered the 'dead' state.
juil. 03 08:41:24 jean-asus root[2004]: Ubuntustudio Controls: setting powersave for /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
juil. 03 08:41:24 jean-asus root[2005]: Ubuntustudio Controls: Governor set finished
juil. 03 08:41:24 jean-asus systemd[1]: systemd-rfkill.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit systemd-rfkill.service has successfully entered the 'dead' state.
juil. 03 08:41:25 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:25 jean-asus rtkit-daemon[1951]: Successfully made thread 2019 of process 1908 owned by '120' RT at priority 5.
juil. 03 08:41:25 jean-asus rtkit-daemon[1951]: Supervising 2 threads of 1 processes of 1 users.
juil. 03 08:41:25 jean-asus rtkit-daemon[1951]: Supervising 2 threads of 1 processes of 1 users.
juil. 03 08:41:25 jean-asus rtkit-daemon[1951]: Successfully made thread 2020 of process 1908 owned by '120' RT at priority 5.
juil. 03 08:41:25 jean-asus rtkit-daemon[1951]: Supervising 3 threads of 1 processes of 1 users.
juil. 03 08:41:25 jean-asus systemd[1896]: Started Sound Service.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:25 jean-asus systemd[1896]: Reached target Main User Target.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:25 jean-asus systemd[1896]: Startup finished in 1.968s.
-- Subject: Le démarrage du gestionnaire utilisateur est terminé
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'instance du gestionnaire d'utilisateurs pour l'utilisateur 120 a été démarrée.
-- Tous les services en file d'attente pour démarrer ont été lancés.
-- Notez que des services peuvent être encore en train de démarrer,
-- ou d'autres être lancés à tout moment ultérieur.
--
-- Le démarrage du gestionnaire a nécéssité 1968856 microsecondes.
juil. 03 08:41:25 jean-asus bluetoothd[1057]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc
juil. 03 08:41:25 jean-asus bluetoothd[1057]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc
juil. 03 08:41:25 jean-asus kernel: Bluetooth: RFCOMM TTY layer initialized
juil. 03 08:41:25 jean-asus kernel: Bluetooth: RFCOMM socket layer initialized
juil. 03 08:41:25 jean-asus kernel: Bluetooth: RFCOMM ver 1.11
juil. 03 08:41:25 jean-asus systemd[1]: dmesg.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit dmesg.service has successfully entered the 'dead' state.
juil. 03 08:41:25 jean-asus avahi-daemon[1056]: Leaving mDNS multicast group on interface enp2s0.IPv6 with address fe80::107d:4634:b43f:30c4.
juil. 03 08:41:25 jean-asus avahi-daemon[1056]: Joining mDNS multicast group on interface enp2s0.IPv6 with address 2a01:e0a:5c8:1bf0:76b9:4bbf:cb62:51cb.
juil. 03 08:41:25 jean-asus avahi-daemon[1056]: Registering new address record for 2a01:e0a:5c8:1bf0:76b9:4bbf:cb62:51cb on enp2s0.*.
juil. 03 08:41:25 jean-asus NetworkManager[1064]: <info> [1625294485.7253] policy: set 'Connexion filaire 1' (enp2s0) as default for IPv6 routing and DNS
juil. 03 08:41:25 jean-asus avahi-daemon[1056]: Withdrawing address record for fe80::107d:4634:b43f:30c4 on enp2s0.
juil. 03 08:41:26 jean-asus sddm-greeter[1910]: Adding view for "eDP-1" QRect(0,0 1920x1080)
juil. 03 08:41:27 jean-asus avahi-daemon[1056]: Registering new address record for 2a01:e0a:5c8:1bf0:a16e:4a14:e5a2:a13a on enp2s0.*.
juil. 03 08:41:28 jean-asus snapd[1089]: daemon.go:589: gracefully waiting for running hooks
juil. 03 08:41:28 jean-asus snapd[1089]: daemon.go:591: done waiting for running hooks
juil. 03 08:41:28 jean-asus snapd[1089]: daemon stop requested to wait for socket activation
juil. 03 08:41:28 jean-asus systemd[1]: snapd.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit snapd.service has successfully entered the 'dead' state.
juil. 03 08:41:28 jean-asus sddm-greeter[1910]: Message received from daemon: Capabilities
juil. 03 08:41:28 jean-asus sddm-greeter[1910]: Message received from daemon: HostName
juil. 03 08:41:28 jean-asus bluetoothd[1057]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc
juil. 03 08:41:28 jean-asus bluetoothd[1057]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc
juil. 03 08:41:28 jean-asus systemd[1896]: pulseaudio.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:32 jean-asus sddm-greeter[1910]: Reading from "/usr/share/xsessions/plasma.desktop"
juil. 03 08:41:32 jean-asus sddm[1810]: Message received from greeter: Login
juil. 03 08:41:32 jean-asus sddm[1810]: Reading from "/usr/share/xsessions/plasma.desktop"
juil. 03 08:41:32 jean-asus sddm[1810]: Reading from "/usr/share/xsessions/plasma.desktop"
juil. 03 08:41:32 jean-asus sddm[1810]: Session "plasma.desktop" selected, command: "/usr/bin/startplasma-x11"
juil. 03 08:41:32 jean-asus sddm-helper[2033]: [PAM] Starting...
juil. 03 08:41:32 jean-asus sddm-helper[2033]: [PAM] Authenticating...
juil. 03 08:41:32 jean-asus sddm-helper[2033]: [PAM] Preparing to converse...
juil. 03 08:41:32 jean-asus sddm-helper[2033]: [PAM] Conversation with 1 messages
juil. 03 08:41:32 jean-asus sddm-helper[2033]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
juil. 03 08:41:32 jean-asus sddm-helper[2033]: [PAM] returning.
juil. 03 08:41:32 jean-asus sddm[1810]: Authenticated successfully
juil. 03 08:41:32 jean-asus sddm-helper[2033]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
juil. 03 08:41:32 jean-asus sddm-helper[2033]: pam_unix(sddm:session): session opened for user jean by (uid=0)
juil. 03 08:41:32 jean-asus sddm-greeter[1910]: Message received from daemon: LoginSucceeded
juil. 03 08:41:32 jean-asus systemd[1]: Created slice User Slice of UID 1000.
-- Subject: L'unité (unit) user-1000.slice a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user-1000.slice a terminé son démarrage, avec le résultat done.
juil. 03 08:41:32 jean-asus systemd[1]: Starting User Runtime Directory /run/user/1000...
-- Subject: L'unité (unit) user-runtime-dir@1000.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user-runtime-dir@1000.service a commencé à démarrer.
juil. 03 08:41:32 jean-asus systemd-logind[1095]: New session 3 of user jean.
-- Subject: Une nouvelle session 3 a été créée pour l'utilisateur jean
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- Une nouvelle session a été créée pour l'utilisateur jean avec
-- l'identifiant (ID) 3.
--
-- Le processus maître de la session est 2033.
juil. 03 08:41:32 jean-asus systemd[1]: Finished User Runtime Directory /run/user/1000.
-- Subject: L'unité (unit) user-runtime-dir@1000.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user-runtime-dir@1000.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:32 jean-asus systemd[1]: Starting User Manager for UID 1000...
-- Subject: L'unité (unit) user@1000.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user@1000.service a commencé à démarrer.
juil. 03 08:41:32 jean-asus systemd[2035]: pam_unix(systemd-user:session): session opened for user jean by (uid=0)
juil. 03 08:41:32 jean-asus sddm-helper[1889]: [PAM] Closing session
juil. 03 08:41:32 jean-asus sddm-helper[1889]: pam_unix(sddm-greeter:session): session closed for user sddm
juil. 03 08:41:32 jean-asus sddm-helper[1889]: [PAM] Ended.
juil. 03 08:41:32 jean-asus sddm[1810]: Auth: sddm-helper exited successfully
juil. 03 08:41:32 jean-asus systemd[1]: session-1.scope: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit session-1.scope has successfully entered the 'dead' state.
juil. 03 08:41:32 jean-asus sddm[1810]: Greeter stopped.
juil. 03 08:41:32 jean-asus systemd-logind[1095]: Session 1 logged out. Waiting for processes to exit.
juil. 03 08:41:32 jean-asus systemd-logind[1095]: Removed session 1.
-- Subject: La session 1 s'est terminée
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- La session d'identifiant (ID) 1 s'est terminée.
juil. 03 08:41:33 jean-asus systemd[2035]: Reached target Paths.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[2035]: Reached target Timers.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus sddm-helper[2033]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
juil. 03 08:41:33 jean-asus systemd[2035]: Starting D-Bus User Message Bus Socket.
-- Subject: L'unité (unit) UNIT a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a commencé à démarrer.
juil. 03 08:41:33 jean-asus rtkit-daemon[1951]: Successfully made thread 2041 of process 2041 owned by '1000' high priority at nice level -11.
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on GnuPG network certificate management daemon.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 2 users.
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus sddm-helper[2045]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] AppArmor D-Bus mediation is enabled
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus bluetoothd[1057]: Endpoint registered: sender=:1.43 path=/MediaEndpoint/A2DPSink/sbc
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on GnuPG cryptographic agent and passphrase cache.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus bluetoothd[1057]: Endpoint registered: sender=:1.43 path=/MediaEndpoint/A2DPSource/sbc
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on debconf communication socket.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:36 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Activating service name='ca.desrt.dconf' requested by ':1.11' (uid=1000 pid=2127 comm="kded5 " label="unconfined")
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on Sound System.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:36 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Successfully activated service 'ca.desrt.dconf'
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on REST API socket for snapd user session agent.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[2035]: Listening on D-Bus User Message Bus Socket.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[2035]: Reached target Sockets.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:36 jean-asus kernel: EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
juil. 03 08:41:36 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Activating service name='org.kde.kglobalaccel' requested by ':1.15' (uid=1000 pid=2159 comm="/usr/bin/kaccess " label="unconfined")
juil. 03 08:41:33 jean-asus systemd[2035]: Reached target Basic System.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:36 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Successfully activated service 'org.kde.kglobalaccel'
juil. 03 08:41:33 jean-asus systemd[1]: Started User Manager for UID 1000.
-- Subject: L'unité (unit) user@1000.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user@1000.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[2035]: Starting Sound Service...
-- Subject: L'unité (unit) UNIT a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a commencé à démarrer.
juil. 03 08:41:33 jean-asus systemd[1]: Started Session 3 of user jean.
-- Subject: L'unité (unit) session-3.scope a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) session-3.scope a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[2035]: Started Studio autojack session daemon.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus sddm-helper[2033]: Starting: "/etc/sddm/Xsession \"/usr/bin/startplasma-x11\""
juil. 03 08:41:33 jean-asus sddm-helper[2047]: Adding cookie to "/home/jean/.Xauthority"
juil. 03 08:41:33 jean-asus systemd[2035]: Started D-Bus User Message Bus.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[1]: NetworkManager-dispatcher.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit NetworkManager-dispatcher.service has successfully entered the 'dead' state.
juil. 03 08:41:33 jean-asus sddm[1810]: Session started
juil. 03 08:41:33 jean-asus systemd[2035]: Started Sound Service.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[2035]: Reached target Main User Target.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:33 jean-asus systemd[2035]: Startup finished in 901ms.
-- Subject: Le démarrage du gestionnaire utilisateur est terminé
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'instance du gestionnaire d'utilisateurs pour l'utilisateur 1000 a été démarrée.
-- Tous les services en file d'attente pour démarrer ont été lancés.
-- Notez que des services peuvent être encore en train de démarrer,
-- ou d'autres être lancés à tout moment ultérieur.
--
-- Le démarrage du gestionnaire a nécéssité 901023 microsecondes.
juil. 03 08:41:35 jean-asus NetworkManager[1064]: <info> [1625294495.8501] agent-manager: agent[f8eeba579bead0ec,:1.44/org.kde.plasma.networkmanagement/1000]: agent registered
juil. 03 08:41:36 jean-asus systemd[1]: Created slice system-clean\x2dmount\x2dpoint.slice.
-- Subject: L'unité (unit) system-clean\x2dmount\x2dpoint.slice a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) system-clean\x2dmount\x2dpoint.slice a terminé son démarrage, avec le résultat done.
juil. 03 08:41:36 jean-asus systemd[1]: Finished Clean the /media/jean/systeme mate mount point.
-- Subject: L'unité (unit) clean-mount-point@media-jean-systeme\x20mate.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) clean-mount-point@media-jean-systeme\x20mate.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:36 jean-asus udisksd[1120]: Mounted /dev/sdb4 at /media/jean/systeme mate on behalf of uid 1000
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/8x8/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/16x16/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/16x16/ui/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/22x22/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/24x24/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/24x24/ui/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/32x32/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/32x32/ui/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/48x48/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/48x48/ui/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/64x64/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/64x64/ui/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/96x96/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/96x96/ui/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/256x256/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/512x512/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/scalable/legacy/"
juil. 03 08:41:37 jean-asus org.kde.kglobalaccel[2171]: Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/scalable/ui/"
juil. 03 08:41:37 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Activating service name='org.kde.KScreen' requested by ':1.9' (uid=1000 pid=2127 comm="kded5 " label="unconfined")
juil. 03 08:41:37 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Successfully activated service 'org.kde.KScreen'
juil. 03 08:41:37 jean-asus kernel: EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
juil. 03 08:41:37 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Connected output 66 to CRTC 63
juil. 03 08:41:37 jean-asus org.kde.KScreen[2202]: kscreen.xcb.helper: Detected XRandR 1.6
juil. 03 08:41:37 jean-asus org.kde.KScreen[2202]: kscreen.xcb.helper: Event Base: 89
juil. 03 08:41:37 jean-asus org.kde.KScreen[2202]: kscreen.xcb.helper: Event Error: 147
juil. 03 08:41:37 jean-asus systemd[1]: Finished Clean the /media/jean/home mate mount point.
-- Subject: L'unité (unit) clean-mount-point@media-jean-home\x20mate.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) clean-mount-point@media-jean-home\x20mate.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:37 jean-asus polkitd(authority=local)[1079]: Registered Authentication Agent for unix-session:3 (system bus name :1.46 [/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
juil. 03 08:41:37 jean-asus dbus-daemon[1063]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.48' (uid=1000 pid=2219 comm="/usr/lib/x86_64-linux-gnu/libexec/DiscoverNotifier" label="unconfined")
juil. 03 08:41:37 jean-asus systemd[1]: Starting PackageKit Daemon...
-- Subject: L'unité (unit) packagekit.service a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) packagekit.service a commencé à démarrer.
juil. 03 08:41:37 jean-asus PackageKit[2249]: daemon start
juil. 03 08:41:37 jean-asus udisksd[1120]: Mounted /dev/sda4 at /media/jean/home mate on behalf of uid 1000
juil. 03 08:41:37 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Activating service name='org.kde.ActivityManager' requested by ':1.24' (uid=1000 pid=2185 comm="/usr/bin/kwin_x11 -session 1010ac6d4e3000162504494" label="unconfined")
juil. 03 08:41:37 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Successfully activated service 'org.kde.ActivityManager'
juil. 03 08:41:37 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Activating service name='org.freedesktop.Notifications' requested by ':1.26' (uid=1000 pid=2216 comm="/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd " label="unconfined")
juil. 03 08:41:38 jean-asus dbus-daemon[1063]: [system] Activating service name='org.kde.powerdevil.discretegpuhelper' requested by ':1.54' (uid=1000 pid=2259 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev" label="unconfined") (using servicehelper)
juil. 03 08:41:38 jean-asus dbus-daemon[1063]: [system] Successfully activated service 'org.kde.powerdevil.discretegpuhelper'
juil. 03 08:41:38 jean-asus dbus-daemon[1063]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.54' (uid=1000 pid=2259 comm="/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdev" label="unconfined") (using servicehelper)
juil. 03 08:41:38 jean-asus dbus-daemon[1063]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
juil. 03 08:41:38 jean-asus dbus-daemon[1063]: [system] Successfully activated service 'org.freedesktop.PackageKit'
juil. 03 08:41:38 jean-asus systemd[1]: Started PackageKit Daemon.
-- Subject: L'unité (unit) packagekit.service a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) packagekit.service a terminé son démarrage, avec le résultat done.
juil. 03 08:41:38 jean-asus bluetoothd[1057]: Endpoint unregistered: sender=:1.43 path=/MediaEndpoint/A2DPSink/sbc
juil. 03 08:41:38 jean-asus bluetoothd[1057]: Endpoint unregistered: sender=:1.43 path=/MediaEndpoint/A2DPSource/sbc
juil. 03 08:41:38 jean-asus systemd[2035]: pulseaudio.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: XRandR::setConfig
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Requested screen size is QSize(1920, 1080)
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Needed CRTCs: 1
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Actions to perform:
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: Primary Output: false
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Change Screen Size: false
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Disable outputs: false
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Change outputs: true
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: (66)
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Enable outputs: false
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: RRSetCrtcConfig (change output)
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: Output: 66 ( "eDP-1" )
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: CRTC: 63
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: Pos: QPoint(0,0)
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: Mode: 69 KScreen::Mode(Id: "69" , Size: QSize(1920, 1080) @ 60.0204 )
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: Rotation: 1
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: Result: 0
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: XRandROutput 66 update
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: m_connected: 0
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: m_crtc XRandRCrtc(0x55710ea7d690)
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: CRTC: 63
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: MODE: 69
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: Connection: 0
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: Primary: true
juil. 03 08:41:41 jean-asus org.kde.KScreen[2202]: kscreen.xrandr: XRandR::setConfig done!
juil. 03 08:41:42 jean-asus systemd[2035]: Starting Sound Service...
-- Subject: L'unité (unit) UNIT a commencé à démarrer
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a commencé à démarrer.
juil. 03 08:41:42 jean-asus rtkit-daemon[1951]: Successfully made thread 2359 of process 2359 owned by '1000' high priority at nice level -11.
juil. 03 08:41:42 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 2 users.
juil. 03 08:41:42 jean-asus systemd[2035]: Started Sound Service.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:42 jean-asus bluetoothd[1057]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSink/sbc
juil. 03 08:41:42 jean-asus bluetoothd[1057]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSource/sbc
juil. 03 08:41:43 jean-asus systemd[1]: Stopping User Manager for UID 120...
-- Subject: L'unité (unit) user@120.service a commencé à s'arrêter
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user@120.service a commencé à s'arrêter.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopped target Main User Target.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopping D-Bus User Message Bus...
-- Subject: L'unité (unit) UNIT a commencé à s'arrêter
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a commencé à s'arrêter.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopping Studio autojack session daemon...
-- Subject: L'unité (unit) UNIT a commencé à s'arrêter
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a commencé à s'arrêter.
juil. 03 08:41:43 jean-asus systemd[1896]: studio.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit UNIT has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
juil. 03 08:41:43 jean-asus systemd[1896]: studio.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has entered the 'failed' state with result 'exit-code'.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopped Studio autojack session daemon.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: dbus.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopped D-Bus User Message Bus.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopped target Basic System.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopped target Paths.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopped target Sockets.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: Stopped target Timers.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: dbus.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed D-Bus User Message Bus Socket.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: dirmngr.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed GnuPG network certificate management daemon.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: gpg-agent-browser.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: gpg-agent-extra.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: gpg-agent-ssh.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed GnuPG cryptographic agent (ssh-agent emulation).
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: gpg-agent.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed GnuPG cryptographic agent and passphrase cache.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: pk-debconf-helper.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed debconf communication socket.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: pulseaudio.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed Sound System.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: snapd.session-agent.socket: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Closed REST API socket for snapd user session agent.
-- Subject: L'unité (unit) UNIT a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1896]: Reached target Shutdown.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:43 jean-asus systemd[1896]: systemd-exit.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1896]: Finished Exit the Session.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:43 jean-asus systemd[1896]: Reached target Exit the Session.
-- Subject: L'unité (unit) UNIT a terminé son démarrage
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) UNIT a terminé son démarrage, avec le résultat done.
juil. 03 08:41:43 jean-asus systemd[1]: user@120.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit user@120.service has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1]: Stopped User Manager for UID 120.
-- Subject: L'unité (unit) user@120.service a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user@120.service a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1]: Stopping User Runtime Directory /run/user/120...
-- Subject: L'unité (unit) user-runtime-dir@120.service a commencé à s'arrêter
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user-runtime-dir@120.service a commencé à s'arrêter.
juil. 03 08:41:43 jean-asus systemd[2035]: run-user-120.mount: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit UNIT has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1]: run-user-120.mount: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit run-user-120.mount has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1]: user-runtime-dir@120.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit user-runtime-dir@120.service has successfully entered the 'dead' state.
juil. 03 08:41:43 jean-asus systemd[1]: Stopped User Runtime Directory /run/user/120.
-- Subject: L'unité (unit) user-runtime-dir@120.service a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user-runtime-dir@120.service a terminé son arrêt.
juil. 03 08:41:43 jean-asus systemd[1]: Removed slice User Slice of UID 120.
-- Subject: L'unité (unit) user-120.slice a terminé son arrêt
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- L'unité (unit) user-120.slice a terminé son arrêt.
juil. 03 08:41:43 jean-asus dbus-daemon[2048]: [session uid=1000 pid=2048] Successfully activated service 'org.freedesktop.Notifications'
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Supervising 1 threads of 1 processes of 1 users.
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Successfully made thread 2517 of process 2375 owned by '1000' RT at priority 10.
juil. 03 08:41:50 jean-asus rtkit-daemon[1951]: Supervising 2 threads of 2 processes of 1 users.
juil. 03 08:41:51 jean-asus rtkit-daemon[1951]: Supervising 2 threads of 2 processes of 1 users.
juil. 03 08:41:51 jean-asus rtkit-daemon[1951]: Supervising 2 threads of 2 processes of 1 users.
juil. 03 08:41:51 jean-asus systemd-timesyncd[1047]: Initial synchronization to time server [2001:67c:1560:8003::c7]:123 (ntp.ubuntu.com).
juil. 03 08:41:51 jean-asus rtkit-daemon[1951]: Supervising 2 threads of 2 processes of 1 users.
juil. 03 08:41:51 jean-asus rtkit-daemon[1951]: Supervising 2 threads of 2 processes of 1 users.
juil. 03 08:41:51 jean-asus systemd[1]: systemd-hostnamed.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit systemd-hostnamed.service has successfully entered the 'dead' state.
juil. 03 08:41:51 jean-asus systemd[1]: systemd-fsckd.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit systemd-fsckd.service has successfully entered the 'dead' state.
juil. 03 08:41:59 jean-asus PackageKit[2249]: get-updates transaction /266_cabeebea from uid 1000 finished with success after 1463ms
juil. 03 08:43:00 jean-asus sudo[2713]: pam_unix(sudo:auth): Couldn't open /etc/securetty: Aucun fichier ou dossier de ce type
juil. 03 08:43:04 jean-asus sudo[2713]: pam_unix(sudo:auth): Couldn't open /etc/securetty: Aucun fichier ou dossier de ce type
juil. 03 08:43:04 jean-asus sudo[2713]: jean : TTY=pts/1 ; PWD=/home/jean ; USER=root ; COMMAND=/usr/bin/journalctl -xb
juil. 03 08:43:04 jean-asus sudo[2713]: pam_unix(sudo:session): session opened for user root by (uid=0)
juil. 03 08:43:04 jean-asus sudo[2713]: pam_unix(sudo:session): session closed for user root
jean@jean-asus:~$
et voila la réponse à kate journal.txt
jean@jean-asus:~$ kate journal.txt
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/scalable/ui/"
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
jean@jean-asus:~$
Dernière modification par nestorburma (Le 03/07/2021, à 07:59)
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#9 Le 03/07/2021, à 08:30
- malbo
Re : kubuntu démarrage tres lent
Extrait du retour de la commande "cat journal.txt" :
juil. 03 08:41:24 jean-asus systemd[1]: Startup finished in 6.108s (firmware) + 12.380s (loader) + 3.993s (kernel) + 8.086s (userspace) = 30.569s.
-- Subject: Le démarrage du système est terminé
Cela me parait normal.
EDIT : c'est dommage que ça ne marche pas avec l'éditeur de texte Kate.
Dernière modification par malbo (Le 03/07/2021, à 08:35)
Hors ligne
#10 Le 03/07/2021, à 10:00
- nestorburma
Re : kubuntu démarrage tres lent
re
reponse à kate journal.txt
jean@jean-asus:~$ sudo kate journal.txt
[sudo] Mot de passe de jean :
Executing Kate with sudo is not possible due to unfixable security vulnerabilities.
jean@jean-asus:~$
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#11 Le 03/07/2021, à 17:14
- lucmars
Re : kubuntu démarrage tres lent
en effet pendant le démarrage on repasse 2 fois par l'écran de démarrage de l'ordi (celui qu'on a au demarrage de la machine avant grub)
Pas clair mais dis-moi si je te suis:
-allumage -> prompt du bios (ou logo OEM) -> grub -> selection kubu -> retour au bios -> grub -> select kubu est là ça boot ?
Gaulois Matter !
Hors ligne
#12 Le 03/07/2021, à 17:34
- malbo
Re : kubuntu démarrage tres lent
Je m'inspire de ce post pour te proposer ce qui va suivre : https://forum.ubuntu-fr.org/viewtopic.p … #p22443115
Copie la commande suivante et colle-la dans un terminal :
echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ \( ! -user $USER -o ! -group $USER \) | wc -l
Valide par la touche Entrée et donne le retour complet dans ta réponse. Quand tout va bien - ce qui n'est pas ton cas - on doit trouver :
Nombre d'éléments de /home/moi ne m'appartenant pas : 0
Dernière modification par malbo (Le 03/07/2021, à 17:39)
Hors ligne
#13 Le 04/07/2021, à 05:00
- nestorburma
Re : kubuntu démarrage tres lent
bonjour
reponse à malbo
jean@jean-asus:~$ echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ \( ! -user $USER -o ! -group $USER \) | wc -l
Nombre d'éléments de /home/moi ne m'appartenant pas :
0
jean@jean-asus:~$
réponse à lucmars
allumage>,prompt du bios,>grub>,choix de kubuntu>,ecran de demarrage kubuntu>,prompt du bios> ,ecran de connection,et enfin bureau,en tout 1minute 15
Dernière modification par nestorburma (Le 04/07/2021, à 09:44)
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#14 Le 04/07/2021, à 17:40
- lucmars
Re : kubuntu démarrage tres lent
allumage>,prompt du bios,>grub>,choix de kubuntu>,ecran de demarrage kubuntu>,prompt du bios> ,ecran de connection,et enfin bureau
En gras la séquence clef : qu'est-ce qui fait qu'on repasse au prompt bios pour obtenir l'écran de log in ?
Je suppose que ton triple-boot est en mode uefi pour le moins, aussi depuis ton kubu installé fais-nous un boot-info (voir doc).
Gaulois Matter !
Hors ligne
#15 Le 05/07/2021, à 06:20
- nestorburma
Re : kubuntu démarrage tres lent
bonjour lucmars
mon boot et en uefi,voila le resultat de boot-info.text
boot-info-4ppa130 [20210705_0716]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grub/grub.cfg /efi/Boot/bootx64.efi
/efi/Boot/fbx64.efi /efi/Boot/grubx64.efi
/efi/Boot/mmx64.efi /efi/debian/fbx64.efi
/efi/debian/grubx64.efi /efi/debian/mmx64.efi
/efi/debian/shimx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/debian/grub.cfg /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/memtest.efi
sdb2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sdb3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 8 or 10
Boot files: /Windows/System32/winload.exe
sdb4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 10 (buster)
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb6: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 3 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on sdb5
OS#2: Debian GNU/Linux 10 (buster) on sdb4
OS#3: Windows 8 or 10 on sdb3
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-77-lowlatency root=UUID=bd010bd9-2887-4db0-ba49-668cc4874f3c ro quiet splash vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0008,0000,0009
Boot0000* Windows Boot Manager HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* ubuntu HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0008* debian HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\DEBIAN\SHIMX64.EFI)
Boot0009* debian HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
8273287f52ffff4624121d2926ef9df4 sda1/debian/shimx64.efi
78415fb8fb9b909f8029858113f1335f sdb1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sdb1/Boot/fbx64.efi
c5f118587c2d9fefeec4c0af72cce863 sdb1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb1/Boot/mmx64.efi
bc44000e6dfe2544477feeaac4f2f91a sdb1/debian/fbx64.efi
2aec8d06a813f6b2fd1d6e9e774b470f sdb1/debian/grubx64.efi
44535b1ac00e2f20a456648dd747d409 sdb1/debian/mmx64.efi
dc7cfc73ef253dff5d33a5815c99c8e8 sdb1/debian/shimx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 sdb1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sdb1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sdb1/ubuntu/shimx64.efi
9aeccc28d2f36520a9a75c418cb30db6 sdb1/Microsoft/Boot/bootmgfw.efi
bfba095bab3eb0e778b6914caad7362b sdb1/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb5 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda6 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda7 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb4 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb6 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sdb5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda6 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda7 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb6 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, customized, sdb
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda6 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda7 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sdb1 : is-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb4 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, customized, sdb
sdb6 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 3C18BB3C-4281-48A6-9CFD-421A2D51B6BB
Start End Sectors Size Type
sda1 2048 528607231 528605184 252.1G Microsoft basic data
sda2 528607232 552044543 23437312 11.2G Linux filesystem
sda3 552044544 571576319 19531776 9.3G Linux swap
sda4 571576320 1157513215 585936896 279.4G Linux filesystem
sda6 1157513216 1200521028 43007813 20.5G Linux filesystem
sda7 1200521216 1953523711 753002496 359.1G Linux filesystem
Disk sdb: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 1E5749F3-7926-48BA-86F1-843422A724FC
Start End Sectors Size Type
sdb1 2048 534527 532480 260M EFI System
sdb2 534528 567295 32768 16M Microsoft basic data
sdb3 567296 187488255 186920960 89.1G Microsoft basic data
sdb4 187488256 343738367 156250112 74.5G Linux filesystem
sdb5 343738368 498786303 155047936 74G Linux filesystem
sdb6 498786304 500117503 1331200 650M Windows recovery environment
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:gpt:ATA ST1000LM035-1RK1:;
1:1049kB:271GB:271GB:ntfs:windows data:msftdata;
2:271GB:283GB:12.0GB:ext4:var debian mate:;
3:283GB:293GB:10.0GB:linux-swap(v1):swap commun:swap;
4:293GB:593GB:300GB:ext4:home debian mate:;
6:593GB:615GB:22.0GB:ext4:var ubuntu:;
7:615GB:1000GB:386GB:ext4:home ubuntu:;
sdb:256GB:scsi:512:512:gpt:ATA SanDisk SD9SN8W2:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftdata;
3:290MB:96.0GB:95.7GB:ntfs:Basic data partition:msftdata;
4:96.0GB:176GB:80.0GB:ext4:system mate:;
5:176GB:255GB:79.4GB:ext4:systeme ubuntu:;
6:255GB:256GB:682MB:ntfs:Basic data partition:hidden, diag;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 8270E76470E75D83 43617761-5eb4-4e3b-bb57-1d63afa02415 DATA windows data
├─sda2 ext4 5e298aff-7fe3-4f42-946d-cbe3d781f966 6deade38-82bc-4f97-b8f2-a77bdd39c948 var mate var debian mate
├─sda3 swap a072dbf4-5332-4101-8a28-58e21ae6df5c d827b496-f781-42bf-a216-25c2cbca547b swap commun
├─sda4 ext4 1daadb2a-e44b-4839-a837-226ec8d364a7 d0325776-59f5-43c3-a26a-b950b1dcf1d2 home mate home debian mate
├─sda6 ext4 b94ebbb9-92f0-4fe1-a5db-ff1ea9d3527c 713dceb8-6010-4b8c-80a5-d2bb6b107934 var ubuntu
└─sda7 ext4 01487fc5-58f2-4710-bc56-215fec103bc0 de984f95-3046-49c1-9649-271cfb565c9c home ubuntu
sdb
├─sdb1 vfat 088C-8028 b80d135c-1870-4035-a2e2-7ad1fa763355 SYSTEM EFI system partition
├─sdb2 7cbef66a-6c11-415e-96ff-b22766b56f8a Microsoft reserved partition
├─sdb3 ntfs 01D5D1AFCF6AC2A0 1cba5c0e-d2eb-45c3-b3a6-27d43725f972 Basic data partition
├─sdb4 ext4 590c9b5d-04e4-440d-9af8-cf9cb32ab168 98ff7d8f-400f-411b-8caf-ef7409912c5e systeme mate system mate
├─sdb5 ext4 bd010bd9-2887-4db0-ba49-668cc4874f3c 3e7d1be0-38ca-01d7-f009-121f659ceb00 systeme ubuntu
└─sdb6 ntfs F60A0E4E0A0E0BF5 db2882d1-6a32-4cfd-acd9-410402c4ed5c Basic data partition
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 217.5G 14% /mnt/boot-sav/sda1
sda2 10G 3% /mnt/boot-sav/sda2
sda4 258.7G 1% /mnt/boot-sav/sda4
sda6 17.3G 9% /var
sda7 334.1G 0% /home
sdb1 153.6M 40% /mnt/boot-sav/sdb1
sdb3 40.7G 54% /mnt/boot-sav/sdb3
sdb4 63.2G 8% /mnt/boot-sav/sdb4
sdb5 61.7G 10% /
sdb6 176.2M 73% /mnt/boot-sav/sdb6
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime
sda4 rw,relatime
sda6 rw,relatime
sda7 rw,relatime
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb4 rw,relatime
sdb5 rw,relatime,errors=remount-ro
sdb6 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
======================== sdb1/grub/grub.cfg (filtered) =========================
Arch Linux 94627009-687f-442c-a69c-a845f2c25df8
Arch Linux, with Linux linux-lts 94627009-687f-442c-a69c-a845f2c25df8
Arch Linux, with Linux linux-lts (fallback initramfs) gnulinux-linux-lts-fallback-94627009-687f-442c-a69c-a845f2c25df8
Windows Boot Manager (on sdb1) osprober-efi-088C-8028
Debian GNU/Linux 10 (buster) (on sdb5) be550373-309d-4e3a-a80b-bdd55e25ed7f
Debian GNU/Linux (on sdb5) be550373-309d-4e3a-a80b-bdd55e25ed7f
### END /etc/grub.d/30_os-prober ###
===================== sdb1/efi/debian/grub.cfg (filtered) ======================
search.fs_uuid 590c9b5d-04e4-440d-9af8-cf9cb32ab168 root hd1,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid bd010bd9-2887-4db0-ba49-668cc4874f3c root hd1,gpt5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? grub/grub.cfg 1
?? = ?? vmlinuz-linux-lts 8
?? = ?? initramfs-linux-lts-fallback.img 1
?? = ?? initramfs-linux-lts.img 1
====================== sdb4/boot/grub/grub.cfg (filtered) ======================
Debian mate 590c9b5d-04e4-440d-9af8-cf9cb32ab168
Windows Boot Manager (sur sdb1) osprober-efi-088C-8028
System setup uefi-firmware
========================== sdb4/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb4 during installation
UUID=590c9b5d-04e4-440d-9af8-cf9cb32ab168 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=088C-8028 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda4 during installation
UUID=1daadb2a-e44b-4839-a837-226ec8d364a7 /home ext4 defaults 0 2
# /var was on /dev/sda2 during installation
UUID=5e298aff-7fe3-4f42-946d-cbe3d781f966 /var ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=a072dbf4-5332-4101-8a28-58e21ae6df5c none swap sw 0 0
======================= sdb4/etc/default/grub (filtered) =======================
GRUB_DEFAULT="Debian mate"
GRUB_TIMEOUT="3"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
GRUB_SAVEDEFAULT="false"
GRUB_DISABLE_OS_PROBER="true"
export GRUB_COLOR_NORMAL="light-gray/black"
export GRUB_COLOR_HIGHLIGHT="magenta/black"
==================== sdb4: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
137,591098785 = 147,737317376 boot/grub/grub.cfg 2
89,718788147 = 96,334815232 boot/vmlinuz-4.19.0-16-amd64 1
92,714878082 = 99,551842304 boot/vmlinuz-4.19.0-17-amd64 1
92,714878082 = 99,551842304 vmlinuz 1
89,718788147 = 96,334815232 vmlinuz.old 1
94,464897156 = 101,430910976 boot/initrd.img-4.19.0-16-amd64 2
94,902397156 = 101,900673024 boot/initrd.img-4.19.0-17-amd64 2
94,902397156 = 101,900673024 initrd.img 2
94,464897156 = 101,430910976 initrd.img.old 2
===================== sdb4: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 542 mai 29 06:11 10_linux_proxy
-rwxr-xr-x 1 root root 1999 mai 29 06:11 40_custom_proxy
-rwxr-xr-x 1 root root 11497 mars 1 23:50 41_linux_xen
-rwxr-xr-x 1 root root 618 mai 29 06:11 42_os-prober_proxy
-rwxr-xr-x 1 root root 1999 mai 29 06:11 45_custom_proxy
-rwxr-xr-x 1 root root 1418 mars 1 23:50 46_uefi-firmware
-rwxr-xr-x 1 root root 2219 mai 29 06:11 47_custom_proxy
-rwxr-xr-x 1 root root 216 mars 1 23:50 48_custom
drwxr-xr-x 4 root root 4096 avril 27 08:14 backup
drwxr-xr-x 2 root root 4096 avril 27 08:14 bin
drwxr-xr-x 2 root root 4096 mai 29 06:11 proxifiedScripts
======================= sdb4/etc/grub.d/40_custom_proxy ========================
#!/bin/sh
#THIS IS A GRUB PROXY SCRIPT
'/etc/grub.d/proxifiedScripts/custom' | /etc/grub.d/bin/grubcfg_proxy "+'Debian mate'~0b2c22d98ebcb84bbc3618df1c340047~
-'Debian cinnamon'~b58a0396d560169122438cf540270df1~
-*
-#text
-'Debian mate 4.19.0-16-amd64 (recovery mode)'~5b1ba3236df7e194d0e01d19b9ad8a8b~
-'Debian cinnamon (recovery mode) (sur /dev/sdb5)'~43c197bf40c97fec8c2d056f988fd6b2~
-'Windows Boot Manager (sur /dev/sdb1)'~95c05cbe43f061f74bcfb61cf74782c6~
-'Debian cinamon'~c0bcab164c3b80b8c691126426a4274c~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb5)'~2dce17256f727a12c42ba02100c45130~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~8aad8bd99e757b6d80f8f45a5123f3e4~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/cinamon (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~c0bcab164c3b80b8c691126426a4274c~ as 'Debian GNU/Linux (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/cinamon, with Linux 4.19.0-16-amd64 (recovery mode) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~a8ebe5781181861166403bd2fdc95159~ as 'Debian GNU/Linux, with Linux 4.19.0-16-amd64 (recovery mode) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~8aad8bd99e757b6d80f8f45a5123f3e4~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
"
========================= sdb4/etc/grub.d/41_linux_xen =========================
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
. "$pkgdatadir/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
CLASS="--class gnu-linux --class gnu --class os --class xen"
SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
fi
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
/dev/loop/*|/dev/loop[0-9])
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
# We can't cope with devices loop-mounted from files here.
case ${GRUB_DEVICE} in
/dev/*) ;;
*) exit 0 ;;
esac
;;
esac
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
# and mounting btrfs requires user space scanning, so force UUID in this case.
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
|| ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
|| ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
# Allow overriding GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT.
if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE}" ]; then
GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX_XEN_REPLACE}"
fi
if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}" ]; then
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}"
fi
case x"$GRUB_FS" in
xbtrfs)
rootsubvol="`make_system_path_relative_to_its_root /`"
rootsubvol="${rootsubvol#/}"
if [ "x${rootsubvol}" != x ]; then
GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
fi;;
xzfs)
rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}"
;;
esac
title_correction_code=
linux_entry ()
{
os="$1"
version="$2"
xen_version="$3"
type="$4"
args="$5"
xen_args="$6"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ x$type != xsimple ] ; then
if [ x$type = xrecovery ] ; then
title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
elif [ "${type#init-}" != "$type" ] ; then
title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "${type#init-}")"
else
title="$(gettext_printf "%s, with Xen %s and Linux %s" "${os}" "${xen_version}" "${version}")"
fi
replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
if [ x"Xen ${xen_version}>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
fi
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
else
title="$(gettext_printf "%s, with Xen hypervisor" "${os}")"
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
fi
if [ x$type != xrecovery ] ; then
save_default_entry | grub_add_tab | sed "s/^/$submenu_indentation/"
fi
if [ -z "${prepare_boot_cache}" ]; then
prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
fi
printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
xmessage="$(gettext_printf "Loading Xen %s ..." ${xen_version})"
lmessage="$(gettext_printf "Loading Linux %s ..." ${version})"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$xmessage" | grub_quote)'
if [ "\$grub_platform" = "pc" -o "\$grub_platform" = "" ]; then
xen_rm_opts=
else
xen_rm_opts="no-real-mode edd=off"
fi
${xen_loader} ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} \${xen_rm_opts}
echo '$(echo "$lmessage" | grub_quote)'
${module_loader} ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args}
EOF
if test -n "${initrd}" ; then
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
message="$(gettext_printf "Loading initial ramdisk ...")"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
${module_loader} --nounzip ${rel_dirname}/${initrd}
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
linux_list=
for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do
if grub_file_is_not_garbage "$i"; then
basename=$(basename $i)
version=$(echo $basename | sed -e "s,^[^0-9]*-,,g")
dirname=$(dirname $i)
config=
for j in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
if test -e "${j}" ; then
config="${j}"
break
fi
done
if (grep -qx "CONFIG_XEN_DOM0=y" "${config}" 2> /dev/null || grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y" "${config}" 2> /dev/null); then linux_list="$linux_list $i" ; fi
fi
done
if [ "x${linux_list}" = "x" ] ; then
exit 0
fi
file_is_not_sym () {
case "$1" in
*/xen-syms-*)
return 1;;
*)
return 0;;
esac
}
xen_list=
for i in /boot/xen*; do
if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then xen_list="$xen_list $i" ; fi
done
prepare_boot_cache=
boot_device_id=
title_correction_code=
machine=`uname -m`
case "$machine" in
i?86) GENKERNEL_ARCH="x86" ;;
mips|mips64) GENKERNEL_ARCH="mips" ;;
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
arm*) GENKERNEL_ARCH="arm" ;;
*) GENKERNEL_ARCH="$machine" ;;
esac
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_top_level=true
while [ "x${xen_list}" != "x" ] ; do
list="${linux_list}"
current_xen=`version_find_latest $xen_list`
xen_basename=`basename ${current_xen}`
xen_dirname=`dirname ${current_xen}`
rel_xen_dirname=`make_system_path_relative_to_its_root $xen_dirname`
xen_version=`echo $xen_basename | sed -e "s,.gz$,,g;s,^xen-,,g"`
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ "x$is_top_level" != xtrue ]; then
echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
fi
if ($grub_file --is-x86-multiboot2 $current_xen); then
xen_loader="multiboot2"
module_loader="module2"
else
xen_loader="multiboot"
module_loader="module"
fi
while [ "x$list" != "x" ] ; do
linux=`version_find_latest $list`
gettext_printf "Found linux image: %s\n" "$linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`
rel_dirname=`make_system_path_relative_to_its_root $dirname`
version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
initrd=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" ; do
if test -e "${dirname}/${i}" ; then
initrd="$i"
break
fi
done
if test -n "${initrd}" ; then
gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
else
# "UUID=" magic is parsed by initrds. Since there's no initrd, it can't work here.
linux_root_device_thisversion=${GRUB_DEVICE}
fi
if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
linux_entry "${OS}" "${version}" "${xen_version}" simple \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
submenu_indentation="$grub_tab$grub_tab"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
# TRANSLATORS: %s is replaced with an OS name
echo "submenu '$(gettext_printf "Advanced options for %s (with Xen hypervisor)" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
is_top_level=false
fi
linux_entry "${OS}" "${version}" "${xen_version}" advanced \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
for supported_init in ${SUPPORTED_INITS}; do
init_path="${supported_init#*:}"
if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
linux_entry "${OS}" "${version}" "${xen_version}" "init-${supported_init%%:*}" \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
fi
done
if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
linux_entry "${OS}" "${version}" "${xen_version}" recovery \
"single ${GRUB_CMDLINE_LINUX}" "${GRUB_CMDLINE_XEN}"
fi
list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
done
if [ x"$is_top_level" != xtrue ]; then
echo ' }'
fi
xen_list=`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | tr '\n' ' '`
done
# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
if [ x"$is_top_level" != xtrue ]; then
echo '}'
fi
echo "$title_correction_code"
====================== sdb4/etc/grub.d/42_os-prober_proxy ======================
#!/bin/sh
#THIS IS A GRUB PROXY SCRIPT
sh -c 'echo "### BEGIN /etc/grub.d/proxifiedScripts/os-prober ###";
"/etc/grub.d/proxifiedScripts/os-prober";
echo "### END /etc/grub.d/proxifiedScripts/os-prober ###";
echo "### BEGIN /etc/grub.d/proxifiedScripts/custom ###";
"/etc/grub.d/proxifiedScripts/custom";
echo "### END /etc/grub.d/proxifiedScripts/custom ###";' | /etc/grub.d/bin/grubcfg_proxy "-'SUBMENU' as 'Options avancées pour Debian GNU/Linux 10 (buster) (sur /dev/sdb5)'{-'Debian cinnamon (recovery mode) (sur /dev/sdb5)'~43c197bf40c97fec8c2d056f988fd6b2~ from '/etc/grub.d/proxifiedScripts/custom'}
+*
" multi
======================= sdb4/etc/grub.d/45_custom_proxy ========================
#!/bin/sh
#THIS IS A GRUB PROXY SCRIPT
'/etc/grub.d/proxifiedScripts/custom' | /etc/grub.d/bin/grubcfg_proxy "-*
-#text
-'Debian mate'~0b2c22d98ebcb84bbc3618df1c340047~
-'Debian mate 4.19.0-16-amd64 (recovery mode)'~5b1ba3236df7e194d0e01d19b9ad8a8b~
-'Debian cinnamon'~b58a0396d560169122438cf540270df1~
-'Debian cinnamon (recovery mode) (sur /dev/sdb5)'~43c197bf40c97fec8c2d056f988fd6b2~
+'Windows Boot Manager (sur /dev/sdb1)'~95c05cbe43f061f74bcfb61cf74782c6~
-'Debian cinamon'~c0bcab164c3b80b8c691126426a4274c~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb5)'~2dce17256f727a12c42ba02100c45130~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~8aad8bd99e757b6d80f8f45a5123f3e4~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/cinamon (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~c0bcab164c3b80b8c691126426a4274c~ as 'Debian GNU/Linux (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/cinamon, with Linux 4.19.0-16-amd64 (recovery mode) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~a8ebe5781181861166403bd2fdc95159~ as 'Debian GNU/Linux, with Linux 4.19.0-16-amd64 (recovery mode) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~8aad8bd99e757b6d80f8f45a5123f3e4~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
"
======================= sdb4/etc/grub.d/46_uefi-firmware =======================
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2012 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
. "${datarootdir}/grub/grub-mkconfig_lib"
efi_vars_dir=/sys/firmware/efi/vars
EFI_GLOBAL_VARIABLE=8be4df61-93ca-11d2-aa0d-00e098032b8c
OsIndications="$efi_vars_dir/OsIndicationsSupported-$EFI_GLOBAL_VARIABLE/data"
if [ -e "$OsIndications" ] && \
[ "$(( $(printf 0x%x \'"$(cat $OsIndications | cut -b1)") & 1 ))" = 1 ]; then
LABEL="System setup"
gettext_printf "Adding boot menu entry for EFI firmware configuration\n" >&2
onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
cat << EOF
menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
fwsetup
}
EOF
fi
======================= sdb4/etc/grub.d/47_custom_proxy ========================
#!/bin/sh
#THIS IS A GRUB PROXY SCRIPT
'/etc/grub.d/proxifiedScripts/custom' | /etc/grub.d/bin/grubcfg_proxy "+*
+#text
-'Debian mate'~0b2c22d98ebcb84bbc3618df1c340047~ as 'Debian GNU/Linux'
-'Debian mate 4.19.0-16-amd64 (recovery mode)'~5b1ba3236df7e194d0e01d19b9ad8a8b~ as 'Debian GNU/Linux, with Linux 4.19.0-16-amd64 (recovery mode)'
-'Debian cinnamon'~b58a0396d560169122438cf540270df1~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb5)'
-'Debian cinnamon (recovery mode) (sur /dev/sdb5)'~43c197bf40c97fec8c2d056f988fd6b2~ as 'Debian GNU/Linux, with Linux 4.19.0-16-amd64 (recovery mode) (sur /dev/sdb5)'
-'Windows Boot Manager (sur /dev/sdb1)'~95c05cbe43f061f74bcfb61cf74782c6~
-'Debian cinamon'~c0bcab164c3b80b8c691126426a4274c~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb5)'~2dce17256f727a12c42ba02100c45130~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~8aad8bd99e757b6d80f8f45a5123f3e4~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/cinamon (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~c0bcab164c3b80b8c691126426a4274c~ as 'Debian GNU/Linux (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/cinamon, with Linux 4.19.0-16-amd64 (recovery mode) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~a8ebe5781181861166403bd2fdc95159~ as 'Debian GNU/Linux, with Linux 4.19.0-16-amd64 (recovery mode) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
-'Debian GNU/Linux 10 (mate) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'~8aad8bd99e757b6d80f8f45a5123f3e4~ as 'Debian GNU/Linux 10 (buster) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5) (sur /dev/sdb4) (sur /dev/sdb5)'
"
====================== sdb5/boot/grub/grub.cfg (filtered) ======================
Debian mate (sur sdb4) 590c9b5d-04e4-440d-9af8-cf9cb32ab168
Debian GNU/Linux 10 (buster) (sur sdb4) 590c9b5d-04e4-440d-9af8-cf9cb32ab168
### END /etc/grub.d/30_os-prober_proxy ###
Ubuntu bd010bd9-2887-4db0-ba49-668cc4874f3c
Ubuntu, avec Linux 5.4.0-77-lowlatency bd010bd9-2887-4db0-ba49-668cc4874f3c
Ubuntu, avec Linux 5.8.0-59-generic bd010bd9-2887-4db0-ba49-668cc4874f3c
Ubuntu, avec Linux 5.8.0-43-generic bd010bd9-2887-4db0-ba49-668cc4874f3c
Windows Boot Manager (sur sdb1) osprober-efi-088C-8028
UEFI Firmware Settings uefi-firmware
========================== sdb5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb5 during installation
UUID=bd010bd9-2887-4db0-ba49-668cc4874f3c / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=088C-8028 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda7 during installation
UUID=01487fc5-58f2-4710-bc56-215fec103bc0 /home ext4 defaults 0 2
# /var was on /dev/sda6 during installation
UUID=b94ebbb9-92f0-4fe1-a5db-ff1ea9d3527c /var ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=a072dbf4-5332-4101-8a28-58e21ae6df5c none swap sw 0 0
======================= sdb5/etc/default/grub (filtered) =======================
GRUB_DEFAULT="0"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="4"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
export GRUB_COLOR_NORMAL="light-gray/black"
export GRUB_COLOR_HIGHLIGHT="magenta/black"
GRUB_FONT="/boot/grub/unicode.pf2"
==================== sdb5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
226,110351562 = 242,784141312 boot/grub/grub.cfg 4
168,574485779 = 181,005475840 boot/vmlinuz 1
168,574485779 = 181,005475840 boot/vmlinuz-5.4.0-77-lowlatency 1
165,461910248 = 177,663373312 boot/vmlinuz-5.8.0-43-generic 2
166,236663818 = 178,495258624 boot/vmlinuz-5.8.0-59-generic 1
166,236663818 = 178,495258624 boot/vmlinuz.old 1
168,664123535 = 181,101723648 boot/initrd.img 3
168,664123535 = 181,101723648 boot/initrd.img-5.4.0-77-lowlatency 3
168,104221344 = 180,500533248 boot/initrd.img-5.8.0-43-generic 2
168,191123962 = 180,593844224 boot/initrd.img-5.8.0-59-generic 2
168,191123962 = 180,593844224 boot/initrd.img.old 2
===================== sdb5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 936 juil. 2 06:25 10_linux_proxy
-rwxr-xr-x 1 root root 488 juil. 2 06:25 30_os-prober_proxy
-rwxr-xr-x 1 root root 936 juil. 2 06:25 33_linux_proxy
-rwxr-xr-x 1 root root 42359 janv. 13 15:12 34_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13 15:12 35_linux_xen
-rwxr-xr-x 1 root root 1992 août 18 2020 36_memtest86+
-rwxr-xr-x 1 root root 488 juil. 2 06:25 37_os-prober_proxy
-rwxr-xr-x 1 root root 1424 janv. 13 15:12 38_uefi-firmware
-rwxr-xr-x 1 root root 214 janv. 13 15:12 40_custom
-rwxr-xr-x 1 root root 216 janv. 13 15:12 41_custom
drwxr-xr-x 4 root root 4096 juin 30 11:53 backup
drwxr-xr-x 2 root root 4096 juin 30 11:53 bin
drwxr-xr-x 2 root root 4096 juil. 2 06:25 proxifiedScripts
======================== sdb5/etc/grub.d/33_linux_proxy ========================
#!/bin/sh
#THIS IS A GRUB PROXY SCRIPT
'/etc/grub.d/proxifiedScripts/linux' | /etc/grub.d/bin/grubcfg_proxy "+'Ubuntu'~a01c0e6c2cebd3fec51a9cf21c341585~
-*
-#text
+'SUBMENU' as 'Options avancées pour Ubuntu'{+'Options avancées pour Ubuntu'/*, +'Options avancées pour Ubuntu'/'Ubuntu, avec Linux 5.4.0-77-lowlatency'~8ad77a8f140349de783ece9e817464ca~, +'Options avancées pour Ubuntu'/'Ubuntu, avec Linux 5.4.0-77-lowlatency (recovery mode)'~7a0faaf9e1bb807f5d13d81d0338c4ad~, +'Options avancées pour Ubuntu'/'Ubuntu, avec Linux 5.8.0-59-generic'~e360cbb7627c9bd328f7ce31c716af31~, +'Options avancées pour Ubuntu'/'Ubuntu, avec Linux 5.8.0-59-generic (recovery mode)'~a521a759b9dd98265cdacad087bc5e7f~, +'Options avancées pour Ubuntu'/'Ubuntu, avec Linux 5.8.0-43-generic'~bed1fe4834a10528a67a2b65096a1aef~, +'Options avancées pour Ubuntu'/'Ubuntu, avec Linux 5.8.0-43-generic (recovery mode)'~37ebbf89a9b1a22ac0f05a140a5fd81c~}
"
========================= sdb5/etc/grub.d/34_linux_zfs =========================
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2019 Canonical Ltd.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
prefix="/usr"
datarootdir="/usr/share"
ubuntu_recovery="1"
quiet_boot="1"
quick_boot="1"
gfxpayload_dynamic="1"
vt_handoff="1"
. "${pkgdatadir}/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
set -u
## Skip early if zfs utils isn't installed (instead of failing on first zpool list)
if ! `which zfs >/dev/null 2>&1`; then
exit 0
fi
imported_pools=""
MNTDIR="$(mktemp -d ${TMPDIR:-/tmp}/zfsmnt.XXXXXX)"
ZFSTMP="$(mktemp -d ${TMPDIR:-/tmp}/zfstmp.XXXXXX)"
machine="$(uname -m)"
case "${machine}" in
i?86) GENKERNEL_ARCH="x86" ;;
mips|mips64) GENKERNEL_ARCH="mips" ;;
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
arm*) GENKERNEL_ARCH="arm" ;;
*) GENKERNEL_ARCH="${machine}" ;;
esac
RC=0
on_exit() {
# Restore initial zpool import state
for pool in ${imported_pools}; do
zpool export "${pool}"
done
mountpoint -q "${MNTDIR}" && umount "${MNTDIR}" || true
rmdir "${MNTDIR}"
rm -rf "${ZFSTMP}"
exit "${RC}"
}
trap on_exit EXIT INT QUIT ABRT PIPE TERM
# List ONLINE and DEGRADED pools
import_pools() {
# We have to ignore zpool import output, as potentially multiple / will be available,
# and we need to autodetect all zpools this way with their real mountpoints.
local initial_pools="$(zpool list | awk '{if (NR>1) print $1}')"
local all_pools=""
local imported_pools=""
local err=""
set +e
err="$(zpool import -f -a -o cachefile=none -o readonly=on -N 2>&1)"
# Only print stderr if the command returned an error
# (it can echo "No zpool to import" with success, which we don't want)
if [ $? -ne 0 ]; then
echo "Some pools couldn't be imported and will be ignored:\n${err}" >&2
fi
set -e
all_pools="$(zpool list | awk '{if (NR>1) print $1}')"
for pool in ${all_pools}; do
if echo "${initial_pools}" | grep -wq "${pool}"; then
continue
fi
imported_pools="${imported_pools} ${pool}"
done
echo "${imported_pools}"
}
# List all the dataset with a root mountpoint
get_root_datasets() {
local pools="$(zpool list | awk '{if (NR>1) print $1}')"
for p in ${pools}; do
local rel_pool_root=$(zpool get -H altroot ${p} | awk '{print $3}')
if [ "${rel_pool_root}" = "-" ]; then
rel_pool_root="/"
fi
zfs list -H -o name,canmount,mountpoint -t filesystem | grep -E '^'"${p}"'(\s|/[[:print:]]*\s)(on|noauto)\s'"${rel_pool_root}"'$' | awk '{print $1}'
done
}
# find if given datasets can be mounted for directory and return its path (snapshot or real path)
# $1 is our current dataset name
# $2 directory path we look for (cannot contains /)
# $3 is the temporary mount directory to use
# $4 is the optional snapshot name
# return path for directory (which can be a mountpoint)
validate_system_dataset() {
local dataset="$1"
local directory="$2"
local mntdir="$3"
local snapshot_name="$4"
local mount_path="${mntdir}/${directory}"
if ! zfs list "${dataset}" >/dev/null 2>&1; then
return
fi
if ! mount -o noatime,zfsutil -t zfs "${dataset}" "${mount_path}"; then
grub_warn "Failed to find a valid directory '${directory}' for dataset '${dataset}@${snapshot_name}'. Ignoring"
return
fi
local candidate_path="${mount_path}"
if [ -n "${snapshot_name}" ]; then
# WORKAROUND a bug https://github.com/zfsonlinux/zfs/issues/9958
# Reading the content of a snapshot fails if it is not the first mount
# for a given dataset
first_mntdir=$(awk '{if ($1 == "'${dataset}'") {print $2; exit;}}' /proc/mounts)
if [ "${first_mntdir}" = "/" ]; then
# prevents // on candidate_path
first_mntdir=""
fi
candidate_path="${first_mntdir}/.zfs/snapshot/${snapshot_name}"
fi
if [ -n "$(ls ${candidate_path} 2>/dev/null)" ]; then
echo "${candidate_path}"
return
else
mountpoint -q "${mount_path}" && umount "${mount_path}" || true
fi
}
# Detect system directory relevant to the other, trying to find the ones associated on the current dataset or snapshot/
# System directory should be at most a direct child dataset of main datasets (no recursivity)
# We can fallback trying other zfs pools if no match has been found.
# $1 is our current dataset name (which can have @snapshot name)
# $2 directory path we look for (cannot contains /)
# $3 restrict_to_same_pool (true|false) force looking for dataset with the same basename in the current dataset pool only
# $4 is the temporary mount directory to use
# $5 is the optional etc directory (if not $2 is not etc itself)
# return path for directory (which can be a mountpoint)
get_system_directory() {
local dataset_path="$1"
local directory="$2"
local restrict_to_same_pool="$3"
local mntdir="$4"
local etc_dir="$5"
if [ -z "${etc_dir}" ]; then
etc_dir="${mntdir}/etc"
fi
local candidate_path="${mntdir}/${directory}"
# 1. Look for /etc/fstab first (which will mount even on top of non empty $directory)
local mounted_fstab_entry="false"
if [ -f "${etc_dir}/fstab" ]; then
mount_args=$(awk '/^[^#].*[ \t]\/'"${directory}"'[ \t]/ {print "-t", $3, $1}' "${etc_dir}/fstab")
if [ -n "${mount_args}" ]; then
mounted_fstab_entry="true"
mount -o noatime ${mount_args} "${candidate_path}" || mounted_fstab_entry="false"
fi
fi
# If directory isn't empty. Only count if coming from /etc/fstab. Will be
# handled below otherwise as we are interested in potential snapshots.
if [ "${mounted_fstab_entry}" = "true" -a -n "$(ls ${candidate_path} 2>/dev/null)" ]; then
echo "${candidate_path}"
return
fi
# 2. Handle zfs case, which can be a snapshots.
local base_dataset_path="${dataset_path}"
local snapshot_name=""
# For snapshots we extract the parent dataset
if echo "${dataset_path}" | grep -q '@'; then
base_dataset_path=$(echo "${dataset_path}" | cut -d '@' -f1)
snapshot_name=$(echo "${dataset_path}" | cut -d '@' -f2)
fi
base_dataset_name="${base_dataset_path##*/}"
base_pool="$(echo "${base_dataset_path}" | cut -d'/' -f1)"
# 2.a) Look for child dataset included in base dataset, which needs to hold same snapshot if any
candidate_path=$(validate_system_dataset "${base_dataset_path}/${directory}" "${directory}" "${mntdir}" "${snapshot_name}")
if [ -n "${candidate_path}" ]; then
echo "${candidate_path}"
return
fi
# 2.b) Look for current dataset (which is already mounted as /)
candidate_path="${mntdir}/${directory}"
if [ -n "${snapshot_name}" ]; then
# WORKAROUND a bug https://github.com/zfsonlinux/zfs/issues/9958
# Reading the content of a snapshot fails if it is not the first mount
# for a given dataset
first_mntdir=$(awk '{if ($1 == "'${base_dataset_path}'") {print $2; exit;}}' /proc/mounts)
if [ "${first_mntdir}" = "/" ]; then
# prevents // on candidate_path
first_mntdir=""
fi
candidate_path="${first_mntdir}/.zfs/snapshot/${snapshot_name}/${directory}"
fi
if [ -n "$(ls ${candidate_path} 2>/dev/null)" ]; then
echo "${candidate_path}"
return
fi
# 2.c) Look for every datasets in every pool which isn't the current dataset which holds:
# - the same dataset name (last section) than our base_dataset_name
# - mountpoint=directory
# - canmount!=off
all_same_base_dataset_name="$(zfs list -H -t filesystem -o name,canmount | awk '/^[^ ]+\/'"${base_dataset_name}"'[ \t](on|noauto)/ {print $1}') "
# order by local pool datasets first
current_pool_same_base_datasets=""
other_pools_same_base_datasets=""
root_pool=$(echo "${dataset_path%%/*}")
for d in ${all_same_base_dataset_name}; do
cur_dataset_pool=$(echo "${d%%/*}")
if echo "${cur_dataset_pool}" | grep -wq "${root_pool}" 2>/dev/null ; then
current_pool_same_base_datasets="${current_pool_same_base_datasets} ${d}"
else
other_pools_same_base_datasets="${other_pools_same_base_datasets} ${d}"
fi
done
ordered_same_base_datasets="${current_pool_same_base_datasets} ${other_pools_same_base_datasets}"
if [ "${restrict_to_same_pool}" = "true" ]; then
ordered_same_base_datasets="${current_pool_same_base_datasets}"
fi
# now, loop over them
for d in ${ordered_same_base_datasets}; do
cur_dataset_pool=$(echo "${d%%/*}")
rel_pool_root=$(zpool get -H altroot ${cur_dataset_pool} | awk '{print $3}')
if [ "${rel_pool_root}" = "-" ]; then
rel_pool_root=""
fi
# check mountpoint match
candidate_dataset=$(zfs get -H mountpoint ${d} | grep -E "mountpoint\s${rel_pool_root}/${directory}\s" | awk '{print $1}')
if [ -z "${candidate_dataset}" ]; then
continue
fi
candidate_path=$(validate_system_dataset "${candidate_dataset}" "${directory}" "${mntdir}" "${snapshot_name}")
if [ -n "${candidate_path}" ]; then
echo "${candidate_path}"
return
fi
done
# 2.d) If we didn't find anything yet: check for persistent datasets corresponding to our mountpoint, with canmount=on without any snapshot associated:
# Note: we go over previous datasets as well, but this is ok, as we didn't include them before.
all_mountable_datasets="$(zfs list -t filesystem -o name,canmount | awk '/^[^ ]+[ \t]+on/ {print $1}')"
# order by local pool datasets first
current_pool_datasets=""
other_pools_datasets=""
root_pool=$(echo "${dataset_path%%/*}")
for d in ${all_mountable_datasets}; do
cur_dataset_pool=$(echo "${d%%/*}")
if echo "${cur_dataset_pool}" | grep -wq "${root_pool}" 2>/dev/null ; then
current_pool_datasets="${current_pool_datasets} ${d}"
else
other_pools_datasets="${other_pools_datasets} ${d}"
fi
done
ordered_datasets="${current_pool_datasets} ${other_pools_datasets}"
if [ "${restrict_to_same_pool}" = "true" ]; then
ordered_datasets="${current_pool_datasets}"
fi
for d in ${ordered_datasets}; do
cur_dataset_pool=$(echo "${d%%/*}")
rel_pool_root=$(zpool get -H altroot ${cur_dataset_pool} | awk '{print $3}')
if [ "${rel_pool_root}" = "-" ]; then
rel_pool_root=""
fi
# check mountpoint match
candidate_dataset=$(zfs get -H mountpoint ${d} | grep -E "mountpoint\s${rel_pool_root}/${directory}\s" | awk '{print $1}')
if [ -z "${candidate_dataset}" ]; then
continue
fi
candidate_path=$(validate_system_dataset "${d}" "${directory}" "${mntdir}" "")
if [ -n "${candidate_path}" ]; then
echo "${candidate_path}"
return
fi
done
grub_warn "Failed to find a valid directory '${directory}' for dataset '${dataset_path}'. Ignoring"
return
}
# Try our default layout bpool as a prefered layout (fast path)
# This is get_system_directory for boot optimized for our default installation layout
# $1 is our current dataset name (which can have @snapshot name)
# $2 is the temporary mount directory to use
# return path for directory (which can be a mountpoint) if found
try_default_layout_bpool() {
local root_dataset_path="$1"
local mntdir="$2"
dataset_basename="${root_dataset_path##*/}"
candidate_dataset="bpool/BOOT/${dataset_basename}"
dataset_properties="$(zfs get -H mountpoint,canmount ${candidate_dataset} | cut -f3 | paste -sd ' ')"
if [ -z "${dataset_properties}" ]; then
return
fi
rel_pool_root=$(zpool get -H altroot bpool | awk '{print $3}')
if [ "${rel_pool_root}" = "-" ]; then
rel_pool_root=""
fi
snapshot_name="${dataset_basename##*@}"
[ "${snapshot_name}" = "${dataset_basename}" ] && snapshot_name=""
if [ -z "${snapshot_name}" ]; then
if ! echo "${dataset_properties}" | grep -Eq "${rel_pool_root}/boot (on|noauto)"; then
return
fi
else
candidate_dataset=$(echo "${candidate_dataset}" | cut -d '@' -f1)
fi
validate_system_dataset "${candidate_dataset}" "boot" "${mntdir}" "${snapshot_name}"
}
# Return if secure boot is enabled on that system
is_secure_boot_enabled() {
if LANG=C mokutil --sb-state 2>/dev/null | grep -qi enabled; then
echo "true"
return
fi
echo "false"
return
}
# Given a filesystem or snapshot dataset, returns dataset|machine id|pretty name|last used
# $1 is dataset we want information from
# $2 is the temporary mount directory to use
get_dataset_info() {
local dataset="$1"
local mntdir="$2"
local base_dataset="${dataset}"
local etc_dir="${mntdir}/etc"
local is_snapshot="false"
# For snapshot we extract the parent dataset
if echo "${dataset}" | grep -q '@'; then
base_dataset=$(echo "${dataset}" | cut -d '@' -f1)
is_snapshot="true"
fi
mount -o noatime,zfsutil -t zfs "${base_dataset}" "${mntdir}"
# read machine-id/os-release from /etc
etc_dir=$(get_system_directory "${dataset}" "etc" "true" "${mntdir}" "")
if [ -z "${etc_dir}" ]; then
grub_warn "Ignoring ${dataset}"
mountpoint -q "${mntdir}/etc" && umount "${mntdir}/etc" || true
umount "${mntdir}"
return
fi
machine_id=""
if [ -f "${etc_dir}/machine-id" ]; then
machine_id=$(cat "${etc_dir}/machine-id")
fi
# We have to use a random temporary id if we don't have any machine-id file or if this one is empty
# (mostly the case of new installations before first boot).
# Let's use the dataset name directly for this.
# Consequence is that all datasets are then separated.
if [ -z "${machine_id}" ]; then
machine_id="${dataset}"
fi
pretty_name=$(. "${etc_dir}/os-release" && echo "${PRETTY_NAME}")
mountpoint -q "${mntdir}/etc" && umount "${mntdir}/etc" || true
# read available kernels from /boot
boot_dir="$(try_default_layout_bpool "${dataset}" "${mntdir}")"
if [ -z "${boot_dir}" ]; then
boot_dir=$(get_system_directory "${dataset}" "boot" "false" "${mntdir}" "${etc_dir}")
fi
if [ -z "${boot_dir}" ]; then
grub_warn "Ignoring ${dataset}"
mountpoint -q "${mntdir}/boot" && umount "${mntdir}/boot" || true
umount "${mntdir}"
return
fi
initrd_list=""
kernel_list=""
list=$(find "${boot_dir}" -maxdepth 1 -type f -regex '.*/\(vmlinuz\|vmlinux\|kernel\)-.*')
while [ "x$list" != "x" ] ; do
linux=`version_find_latest $list`
list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
if ! grub_file_is_not_garbage "${linux}" ; then
continue
fi
# Filters entry if efi/non efi.
# Note that for now we allow kernel without .efi.signed as those are signed kernel
# on ubuntu, loaded by the shim.
case "${linux}" in
*.efi.signed)
if [ "$(is_secure_boot_enabled)" = "false" ]; then
continue
fi
;;
esac
linux_basename=$(basename "${linux}")
linux_dirname=$(dirname "${linux}")
version=$(echo "${linux_basename}" | sed -e "s,^[^0-9]*-,,g")
alt_version=$(echo "${version}" | sed -e "s,\.old$,,g")
gettext_printf "Found linux image: %s in %s\n" "${linux_basename}" "${dataset}" >&2
initrd=""
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
if test -e "${linux_dirname}/${i}" ; then
initrd="$i"
break
fi
done
if test -z "${initrd}" ; then
grub_warn "Couldn't find any valid initrd for dataset ${dataset}."
continue
fi
gettext_printf "Found initrd image: %s in %s\n" "${initrd}" "${dataset}" >&2
rel_linux_dirname=$(make_system_path_relative_to_its_root "${linux_dirname}")
initrd_list="${initrd_list}|${rel_linux_dirname}/${initrd}"
kernel_list="${kernel_list}|${rel_linux_dirname}/${linux_basename}"
done
initrd_list="${initrd_list#|}"
kernel_list="${kernel_list#|}"
initrd_device=$(${grub_probe} --target=device "${boot_dir}" | head -1)
mountpoint -q "${mntdir}/boot" && umount "${mntdir}/boot" || true
# We needed to look in / for snapshots on root dataset, umount there before zfs lazily unmount it
case "${boot_dir}" in /boot/.zfs/snapshot/*)
umount "${boot_dir}" || true
;;
esac
# for zsys snapshots: we want to know which kernel we successful last booted with
last_booted_kernel=$(zfs get -H com.ubuntu.zsys:last-booted-kernel "${dataset}" | awk '{print $3}')
# snapshot: last_used is dataset creation time
if [ "${is_snapshot}" = "true" ]; then
last_used="$(zfs get -pH creation "${dataset}" | awk -F '\t' '{print $3}')"
# otherwise, last_used is manually marked at boot/shutdown on a root dataset for zsys
else
# if current system, take current time
if zfs mount | awk '/[ \t]+\/$/ {print $1}' | grep -q ${dataset}; then
last_used=$(date +%s)
else
last_used=$(zfs get -H com.ubuntu.zsys:last-used "${dataset}" | awk '{print $3}')
# case of non zsys, or zsys without annotation, take /etc/machine-id stat (as we mounted with noatime).
# However, as systems can be relatime, if system is current mounted one, set current time (case of clone + reboot
# within the same d).
if [ "${last_used}" = "-" ]; then
last_used=$(stat --printf="%X" "${mntdir}/etc/os-release")
if [ -f "${mntdir}/etc/machine-id" ]; then
last_used=$(stat --printf="%X" "${mntdir}/etc/machine-id")
fi
fi
fi
fi
is_zsys=$(zfs get -H com.ubuntu.zsys:bootfs "${base_dataset}" | awk '{print $3}')
if [ -n "${initrd_list}" -a -n "${kernel_list}" ]; then
echo "${dataset}\t${is_zsys}\t${machine_id}\t${pretty_name}\t${last_used}\t${initrd_device}\t${initrd_list}\t${kernel_list}\t${last_booted_kernel}"
else
grub_warn "didn't find any valid initrd or kernel."
fi
umount "${mntdir}" || true
# We needed to look in / for snapshots on root dataset, umount the snapshot for etc before zfs lazily unmount it
case "${etc_dir}" in /.zfs/snapshot/*/etc)
snapshot_path="$(findmnt -n -o TARGET -T ${etc_dir})"
umount "${snapshot_path}" || true
;;
esac
}
# Scan available boot options and returns in a formatted list
# $1 is the temporary mount directory to use
bootlist() {
local mntdir="$1"
local boot_list=""
for dataset in $(get_root_datasets); do
# get information from current root dataset
boot_list="${boot_list}$(get_dataset_info ${dataset} ${mntdir})\n"
# get information from snapshots of this root dataset
for snapshot_dataset in $(zfs list -H -o name -t snapshot "${dataset}"); do
boot_list="${boot_list}$(get_dataset_info ${snapshot_dataset} ${mntdir})\n"
done
done
echo "${boot_list}"
}
# Order machine ids by last_used from their main entry
get_machines_sorted() {
local bootlist="$1"
local machineids="$(echo "${bootlist}" | awk '{print $3}' | sort -u)"
for machineid in ${machineids}; do
echo "${bootlist}" | awk 'BEGIN{FS="\t"} $1 !~ /.*@.*/ {print $5, $3}' | sort -nr | grep -E "[^^]\b${machineid}\b" | head -1
done | sort -nr | awk '{print $2}'
}
# Sort entries by last_used for a given machineid
sort_entries_for_machineid() {
local bootlist="$1"
local machineid="$2"
tab="$(printf '\t')"
echo "${bootlist}" | grep -E "[^^]\b${machineid}\b" | sort -k5,5r -k1,1 -t "${tab}"
}
# Return main entry index
get_main_entry() {
local entries="$1"
echo "${entries}" | awk 'BEGIN{FS="\t"} $1 !~ /.*@.*/ {print}' | head -1
}
# Return specific field at index from entry
get_field_from_entry() {
local entry="$1"
local index="$2"
echo "${entry}" | awk "BEGIN{FS=\"\t\"} {print \$$index}"
}
# Get the main entry metadata
main_entry_meta() {
local main_entry="$1"
initrd=$(get_field_from_entry "${main_entry}" 7 | cut -d'|' -f1)
kernel=$(get_field_from_entry "${main_entry}" 8 | cut -d'|' -f1)
# Take first element (most recent entry) which is not a snapshot
echo "${main_entry}" | awk "BEGIN{ FS=\"\t\"; OFS=\"\t\"} {print \$3, \$2, \"main\", \$4, \$1, \$6, \"$initrd\", \"$kernel\"}"
}
# Get advanced entries metadata
advanced_entries_meta() {
local main_entry="$1"
last_used_kernel="$(get_field_from_entry "${main_entry}" 9 )"
# We must align initrds with kernels.
# Adds initrds to the stack then pop them 1 by 1 as we process the kernels
set -- $(get_field_from_entry "${main_entry}" 7 | tr "|" " ")
for kernel in $(get_field_from_entry "${main_entry}" 8 | tr "|" " "); do
# get initrd and pop to the next one
initrd="$1"; shift
was_last_used_kernel="false"
kernel_basename=$(basename "${kernel}")
if [ "${kernel_basename}" = "${last_used_kernel}" ]; then
was_last_used_kernel="true"
fi
echo "${main_entry}" | awk "BEGIN{ FS=\"\t\"; OFS=\"\t\"} {print \$3, \$2, \"advanced\", \$4, \$1, \$6, \"$initrd\", \"$kernel\", \"$was_last_used_kernel\"}"
done
}
# Get history metadata
history_entries_meta() {
local entries="$1"
local main_dataset_name="$2"
local main_dataset_releasename="$3"
if [ -z "${entries}" ]; then
return
fi
# Traverse snapshots and clones
echo "${entries}" | while read entry; do
name=""
# Compute snapshot/filesystem dataset name
snap_dataset_name="$(get_field_from_entry "${entry}" 1)"
snapname="${snap_dataset_name##*@}"
# If, this is a clone, take what is after main_dataset_name
if [ "${snapname}" = "${snap_dataset_name}" ]; then
snapname="${snap_dataset_name##${main_dataset_name}_}"
# Handle manual user clone (not prefixed by "main_dataset_name")
snapname="${snapname##*/}"
fi
# We keep the snapname only if it is not only a zsys auto snapshot
if echo "${snapname}" | grep -q "^autozsys_"; then
snapname=""
fi
# We store the release only if it different from main dataset release (snapshot before a release upgrade)
releasename=$(get_field_from_entry "${entry}" 4)
if [ "${releasename}" = "${main_dataset_releasename}" ]; then
releasename=""
fi
# Snapshot date
foo="$(get_field_from_entry "${entry}" 5)"
snapdate="$(date -d @$(get_field_from_entry "${entry}" 5) "+%x @ %H:%M")"
# For snapshots/clones the name can have the following formats:
# <DATE>: autozsys, same release
# <OLD_RELEASE> on <DATE>: autozsys, different release
# <SNAPNAME> on <DATE>: Manual snapshot, same release
# <SNAPNAME>, <OLD_RELEASE> on <DATE>: Manual snapshot, different release
if [ "${snapname}" = "" -a "${releasename}" = "" ]; then
name="${snapdate}"
elif [ "${snapname}" = "" -a "${releasename}" != "" ]; then
name=$(gettext_printf "%s on %s" "${releasename}" "${snapdate}")
elif [ "${snapname}" != "" -a "${releasename}" = "" ]; then
name=$(gettext_printf "%s on %s" "${snapname}" "${snapdate}")
else # snapname != "" && releasename != ""
name=$(gettext_printf "%s, %s on %s" "${snapname}" "${releasename}" "${snapdate}")
fi
# Choose kernel and initrd if the snapshot was booted successfully on a specific kernel before
# Take latest by default if no match
initrd=$(get_field_from_entry "${entry}" 7 | cut -d'|' -f1)
kernel=$(get_field_from_entry "${entry}" 8 | cut -d'|' -f1)
last_used_kernel="$(get_field_from_entry "${entry}" 9)"
# We must align initrds with kernels.
# Adds initrds to the stack then pop them 1 by 1 as we process the kernels
set -- $(get_field_from_entry "${entry}" 7 | tr "|" " ")
for k in $(get_field_from_entry "${entry}" 8|tr "|" " "); do
# get initrd and pop to the next one
candidate_initrd="$1"; shift
kernel_basename=$(basename "${k}")
if [ "${kernel_basename}" = "${last_used_kernel}" ]; then
kernel="${k}"
initrd="${candidate_initrd}"
break
fi
done
echo "${entry}" | awk "BEGIN{ FS=\"\t\"; OFS=\"\t\"} {print \$3, \$2, \"history\", \"$name\", \$1, \$6, \"$initrd\", \"$kernel\"}"
done
}
# Generate metadata from a BOOTLIST that will subsequently used to generate
# the final grub menu entries
generate_grub_menu_metadata() {
local bootlist="$1"
# Sort machineids by last_used from their main entry
for machineid in $(get_machines_sorted "${bootlist}"); do
entries="$(sort_entries_for_machineid "${bootlist}" ${machineid})"
main_entry="$(get_main_entry "${entries}")"
if [ -z "$main_entry" ]; then
continue
fi
main_entry_meta "${main_entry}"
advanced_entries_meta "${main_entry}"
main_dataset_name="$(get_field_from_entry "${main_entry}" 1)"
main_dataset_releasename="$(get_field_from_entry "${main_entry}" 4)"
# grep -v errcode != 0 if there is no match. || true to not fail with -e
other_entries="$(echo "${entries}" | grep -v "${main_entry}" || true)"
history_entries_meta "${other_entries}" "${main_dataset_name}" "${main_dataset_releasename}"
done
}
# Print the configuration part common to all sections
# Note:
# If 10_linux runs these part will be defined twice in grub configuration
print_menu_prologue() {
cat << 'EOF'
function gfxmode {
set gfxpayload="${1}"
EOF
if [ "${vt_handoff}" = 1 ]; then
cat << 'EOF'
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
EOF
fi
cat << EOF
}
EOF
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
GRUB_GFXPAYLOAD_LINUX="${GRUB_GFXPAYLOAD_LINUX:-}"
if [ "${GRUB_GFXPAYLOAD_LINUX}" != "" ] || [ "${gfxpayload_dynamic}" = 0 ]; then
echo "set linux_gfx_mode=${GRUB_GFXPAYLOAD_LINUX}"
else
cat << EOF
if [ "\${recordfail}" != 1 ]; then
if [ -e \${prefix}/gfxblacklist.txt ]; then
if hwmatch \${prefix}/gfxblacklist.txt 3; then
if [ \${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
EOF
fi
cat << EOF
export linux_gfx_mode
EOF
}
# Cache for prepare_grub_to_access_device call
# $1: boot_device
# $2: submenu_level
prepare_grub_to_access_device_cached() {
local boot_device="$1"
local submenu_level="$2"
local boot_device_idx="$(echo ${boot_device} | tr '/' '_')"
cache_file="${ZFSTMP}/$(echo boot_device${boot_device_idx})"
if [ ! -f "${cache_file}" ]; then
set +u
echo "$(prepare_grub_to_access_device "${boot_device}")" > "${cache_file}"
set -u
for i in 0 1 2; do
submenu_indentation="$(printf %${i}s | tr " " "${grub_tab}")"
sed "s/^/${submenu_indentation} /" "${cache_file}" > "${cache_file}--${i}"
done
fi
cat "${cache_file}--${submenu_level}"
}
# Print a grub menu entry
zfs_linux_entry () {
submenu_level="$1"
title="$2"
type="$3"
dataset="$4"
boot_device="$5"
initrd="$6"
kernel="$7"
kernel_version="$8"
kernel_additional_args="${9:-}"
boot_devices="${10:-}"
submenu_indentation="$(printf %${submenu_level}s | tr " " "${grub_tab}")"
echo "${submenu_indentation}menuentry '$(echo "${title}" | grub_quote)' ${CLASS} \${menuentry_id_option} 'gnulinux-${dataset}-${kernel_version}' {"
if [ "${quick_boot}" = 1 ]; then
echo "${submenu_indentation} recordfail"
fi
if [ "${type}" != "recovery" ] ; then
GRUB_SAVEDEFAULT=${GRUB_SAVEDEFAULT:-}
default_entry="$(save_default_entry)"
if [ -n "${default_entry}" ]; then
echo "${submenu_indentation} ${default_entry}"
fi
fi
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "${GRUB_GFXPAYLOAD_LINUX}" = "" ]; then
echo "${submenu_indentation} load_video"
else
if [ "${GRUB_GFXPAYLOAD_LINUX}" != "text" ]; then
echo "${submenu_indentation} load_video"
fi
fi
if ([ "${ubuntu_recovery}" = 0 ] || [ "${type}" != "recovery" ]) && \
([ "${GRUB_GFXPAYLOAD_LINUX}" != "" ] || [ "${gfxpayload_dynamic}" = 1 ]); then
echo "${submenu_indentation} gfxmode \${linux_gfx_mode}"
fi
echo "${submenu_indentation} insmod gzio"
echo "${submenu_indentation} if [ \"\${grub_platform}\" = xen ]; then insmod xzio; insmod lzopio; fi"
if [ -n "$boot_devices" ]; then
for device in ${boot_devices}; do
echo "${submenu_indentation} if [ "${boot_device}" = "${device}" ]; then"
echo "$(prepare_grub_to_access_device_cached "${device}" $(( submenu_level +1 )) )"
echo "${submenu_indentation} fi"
done
else
echo "$(prepare_grub_to_access_device_cached "${boot_device}" "${submenu_level}")"
fi
if [ "${quiet_boot}" = 0 ] || [ "${type}" != simple ]; then
echo "${submenu_indentation} echo $(gettext_printf "Loading Linux %s ..." ${kernel_version} | grub_quote)"
fi
linux_default_args="${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
if [ ${type} = "recovery" ]; then
linux_default_args="${GRUB_CMDLINE_LINUX_RECOVERY} ${GRUB_CMDLINE_LINUX}"
fi
echo "${submenu_indentation} linux ${kernel} root=ZFS=${dataset} ro ${linux_default_args} ${kernel_additional_args}"
if [ "${quiet_boot}" = 0 ] || [ "${type}" != simple ]; then
echo "${submenu_indentation} echo '$(gettext_printf "Loading initial ramdisk ..." | grub_quote)'"
fi
echo "${submenu_indentation} initrd ${initrd}"
echo "${submenu_indentation}}"
}
# Generate a GRUB Menu from menu meta data
# $1 menu metadata
generate_grub_menu() {
local menu_metadata="$1"
local last_section=""
local main_dataset_name=""
local main_dataset=""
local have_zsys=""
if [ -z "${menu_metadata}" ]; then
return
fi
CLASS="--class gnu-linux --class gnu --class os"
if [ "${GRUB_DISTRIBUTOR}" = "" ] ; then
OS=GNU/Linux
else
case ${GRUB_DISTRIBUTOR} in
Ubuntu|Kubuntu)
OS="${GRUB_DISTRIBUTOR}"
;;
*)
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
;;
esac
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1 | LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
fi
if [ -x /lib/recovery-mode/recovery-menu ]; then
GRUB_CMDLINE_LINUX_RECOVERY=recovery
else
GRUB_CMDLINE_LINUX_RECOVERY=single
fi
if [ "${ubuntu_recovery}" = 1 ]; then
GRUB_CMDLINE_LINUX_RECOVERY="${GRUB_CMDLINE_LINUX_RECOVERY} nomodeset"
fi
case "$GENKERNEL_ARCH" in
x86*) GRUB_CMDLINE_LINUX_RECOVERY="$GRUB_CMDLINE_LINUX_RECOVERY dis_ucode_ldr";;
esac
if [ "${vt_handoff}" = 1 ]; then
for word in ${GRUB_CMDLINE_LINUX_DEFAULT}; do
if [ "${word}" = splash ]; then
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} \${vt_handoff}"
fi
done
fi
print_menu_prologue
cat<<'EOF'
function zsyshistorymenu {
# $1: root dataset (eg rpool/ROOT/ubuntu_2zhm07@autozsys_k56fr6)
# $2: boot device id (eg 411f29ce1557bfed)
# $3: initrd (eg /BOOT/ubuntu_2zhm07@autozsys_k56fr6/initrd.img-5.4.0-21-generic)
# $4: kernel (eg /BOOT/ubuntu_2zhm07@autozsys_k56fr6/vmlinuz-5.4.0-21-generic)
# $5: kernel_version (eg 5.4.0-21-generic)
set root_dataset="${1}"
set boot_device="${2}"
set initrd="${3}"
set kernel="${4}"
set kversion="${5}"
EOF
boot_devices=$(echo "${menu_metadata}" | cut -d"$(printf '\t')" -f6 | sort -u)
title=$(gettext_printf "Revert system only")
zfs_linux_entry 1 "${title}" "simple" '${root_dataset}' '${boot_device}' '${initrd}' '${kernel}' '${kversion}' '' "${boot_devices}"
title="$(gettext_printf "Revert system and user data")"
zfs_linux_entry 1 "${title}" "simple" '${root_dataset}' '${boot_device}' '${initrd}' '${kernel}' '${kversion}' 'zsys-revert=userdata' "${boot_devices}"
GRUB_DISABLE_RECOVERY="${GRUB_DISABLE_RECOVERY:-}"
if [ "${GRUB_DISABLE_RECOVERY}" != "true" ]; then
title="$(gettext_printf "Revert system only (%s)" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
zfs_linux_entry 1 "${title}" "recovery" '${root_dataset}' '${boot_device}' '${initrd}' '${kernel}' '${kversion}' '' "${boot_devices}"
title="$(gettext_printf "Revert system and user data (%s)" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
zfs_linux_entry 1 "${title}" "recovery" '${root_dataset}' '${boot_device}' '${initrd}' '${kernel}' '${kversion}' 'zsys-revert=userdata' "${boot_devices}"
fi
echo "}"
echo
# IFS is set to TAB (ASCII 0x09)
echo "${menu_metadata}" |
{
at_least_one_entry=0
have_zsys="$(which zsysd || true)"
while IFS="$(printf '\t')" read -r machineid iszsys section name dataset device initrd kernel opt; do
# Disable history for non zsys system or if systems is a zsys one and zsys isn't installed.
# In pure zfs systems, we identified multiple issues due to the mount generator
# in upstream zfs which makes it incompatible. Don't show history for now.
if [ "${section}" = "history" ]; then
if [ "${iszsys}" != "yes" ] || [ "${iszsys}" = "yes" -a -z "${have_zsys}" ]; then
continue
fi
fi
if [ "${last_section}" != "${section}" -a -n "${last_section}" ]; then
# Close previous section wrapper
if [ "${last_section}" != "main" ]; then
echo "}" # Add grub_tabs
at_least_one_entry=0
fi
fi
case "${section}" in
main)
title="${name}"
main_dataset_name="${name}"
main_dataset="${dataset}"
kernel_version=$(basename "${kernel}" | sed -e "s,^[^0-9]*-,,g")
zfs_linux_entry 0 "${title}" "simple" "${dataset}" "${device}" "${initrd}" "${kernel}" "${kernel_version}"
at_least_one_entry=1
;;
advanced)
# normal and recovery entries for a given kernel
if [ "${last_section}" != "${section}" ]; then
echo "submenu '$(gettext_printf "Advanced options for %s" "${main_dataset_name}" | grub_quote)' \${menuentry_id_option} 'gnulinux-advanced-${main_dataset}' {"
fi
last_booted_kernel_marker=""
if [ "${opt}" = "true" ]; then
last_booted_kernel_marker="* "
fi
kernel_version=$(basename "${kernel}" | sed -e "s,^[^0-9]*-,,g")
title="$(gettext_printf "%s%s, with Linux %s" "${last_booted_kernel_marker}" "${name}" "${kernel_version}")"
zfs_linux_entry 1 "${title}" "advanced" "${dataset}" "${device}" "${initrd}" "${kernel}" "${kernel_version}"
GRUB_DISABLE_RECOVERY=${GRUB_DISABLE_RECOVERY:-}
if [ "${GRUB_DISABLE_RECOVERY}" != "true" ]; then
title="$(gettext_printf "%s%s, with Linux %s (%s)" "${last_booted_kernel_marker}" "${name}" "${kernel_version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
zfs_linux_entry 1 "${title}" "recovery" "${dataset}" "${device}" "${initrd}" "${kernel}" "${kernel_version}"
fi
at_least_one_entry=1
;;
history)
# Revert to a snapshot
# revert system, revert system and user data and associated recovery entries
if [ "${last_section}" != "${section}" ]; then
echo "submenu '$(gettext_printf "History for %s" "${main_dataset_name}" | grub_quote)' \${menuentry_id_option} 'gnulinux-history-${main_dataset}' {"
fi
if [ "${iszsys}" = "yes" ]; then
title="$(gettext_printf "Revert to %s" "${name}" | grub_quote)"
else
title="$(gettext_printf "Boot on %s" "${name}" | grub_quote)"
fi
echo " submenu '${title}' \${menuentry_id_option} 'gnulinux-history-${dataset}' {"
kernel_version=$(basename "${kernel}" | sed -e "s,^[^0-9]*-,,g")
# Zsys only: let revert system without destroying snapshots
if [ "${iszsys}" = "yes" ]; then
echo "${grub_tab}${grub_tab}zsyshistorymenu" \"${dataset}\" \"${device}\" \"${initrd}\" \"${kernel}\" \"${kernel_version}\"
# Non-zsys: boot temporarly on snapshots or rollback (destroying intermediate snapshots)
else
title="$(gettext_printf "One time boot")"
zfs_linux_entry 2 "${title}" "simple" "${dataset}" "${device}" "${initrd}" "${kernel}" "${kernel_version}"
GRUB_DISABLE_RECOVERY="${GRUB_DISABLE_RECOVERY:-}"
if [ "${GRUB_DISABLE_RECOVERY}" != "true" ]; then
title="$(gettext_printf "One time boot (%s)" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
zfs_linux_entry 2 "${title}" "recovery" "${dataset}" "${device}" "${initrd}" "${kernel}" "${kernel_version}"
fi
title="$(gettext_printf "Revert system (all intermediate snapshots will be destroyed)")"
zfs_linux_entry 2 "${title}" "simple" "${dataset}" "${device}" "${initrd}" "${kernel}" "${kernel_version}" "rollback=yes"
fi
echo " }"
at_least_one_entry=1
;;
*)
grub_warn "unknown section: ${section}. Ignoring entry ${name} for ${dataset}"
;;
esac
last_section="${section}"
done
if [ "${at_least_one_entry}" -eq 1 ]; then
echo "}"
fi
}
}
# don't add trailing newline of variable is empty
# $1: content to write
# $2: destination file
trailing_newline_if_not_empty() {
content="$1"
dest="$2"
if [ -z "${content}" ]; then
rm -f "${dest}"
touch "${dest}"
return
fi
echo "${content}" > "${dest}"
}
GRUB_LINUX_ZFS_TEST="${GRUB_LINUX_ZFS_TEST:-}"
case "${GRUB_LINUX_ZFS_TEST}" in
bootlist)
# Import all available pools on the system and return imported list
imported_pools=$(import_pools)
boot_list="$(bootlist ${MNTDIR})"
trailing_newline_if_not_empty "${boot_list}" "${GRUB_LINUX_ZFS_TEST_OUTPUT}"
break
;;
metamenu)
boot_list="$(cat ${GRUB_LINUX_ZFS_TEST_INPUT})"
menu_metadata="$(generate_grub_menu_metadata "${boot_list}")"
trailing_newline_if_not_empty "${menu_metadata}" "${GRUB_LINUX_ZFS_TEST_OUTPUT}"
break
;;
grubmenu)
menu_metadata="$(cat ${GRUB_LINUX_ZFS_TEST_INPUT})"
grub_menu=$(generate_grub_menu "${menu_metadata}")
trailing_newline_if_not_empty "${grub_menu}" "${GRUB_LINUX_ZFS_TEST_OUTPUT}"
break
;;
*)
# Import all available pools on the system and return imported list
imported_pools=$(import_pools)
# Generate the complete list of boot entries
boot_list="$(bootlist ${MNTDIR})"
# Create boot menu meta data from the list of boot entries
menu_metadata="$(generate_grub_menu_metadata "${boot_list}")"
# Create boot menu meta data from the list of boot entries
grub_menu="$(generate_grub_menu "${menu_metadata}")"
if [ -n "${grub_menu}" ]; then
# We want the trailing newline as a marker will be added
echo "${grub_menu}"
fi
;;
esac
========================= sdb5/etc/grub.d/35_linux_xen =========================
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
. "$pkgdatadir/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
CLASS="--class gnu-linux --class gnu --class os --class xen"
SUPPORTED_INITS="sysvinit:/lib/sysvinit/init systemd:/lib/systemd/systemd upstart:/sbin/upstart"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}"
fi
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
/dev/loop/*|/dev/loop[0-9])
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
# We can't cope with devices loop-mounted from files here.
case ${GRUB_DEVICE} in
/dev/*) ;;
*) exit 0 ;;
esac
;;
esac
# Default to disabling partition uuid support to maintian compatibility with
# older kernels.
GRUB_DISABLE_LINUX_PARTUUID=${GRUB_DISABLE_LINUX_PARTUUID-true}
# btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
# and mounting btrfs requires user space scanning, so force UUID in this case.
if ( [ "x${GRUB_DEVICE_UUID}" = "x" ] && [ "x${GRUB_DEVICE_PARTUUID}" = "x" ] ) \
|| ( [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
&& [ "x${GRUB_DISABLE_LINUX_PARTUUID}" = "xtrue" ] ) \
|| ( ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
&& ! test -e "/dev/disk/by-partuuid/${GRUB_DEVICE_PARTUUID}" ) \
|| ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
elif [ "x${GRUB_DEVICE_UUID}" = "x" ] \
|| [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ]; then
LINUX_ROOT_DEVICE=PARTUUID=${GRUB_DEVICE_PARTUUID}
else
LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
# Allow overriding GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT.
if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE}" ]; then
GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX_XEN_REPLACE}"
fi
if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}" ]; then
GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}"
fi
case x"$GRUB_FS" in
xbtrfs)
rootsubvol="`make_system_path_relative_to_its_root /`"
rootsubvol="${rootsubvol#/}"
if [ "x${rootsubvol}" != x ]; then
GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
fi;;
xzfs)
rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs%/}"
;;
esac
title_correction_code=
linux_entry ()
{
os="$1"
version="$2"
xen_version="$3"
type="$4"
args="$5"
xen_args="$6"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ x$type != xsimple ] ; then
if [ x$type = xrecovery ] ; then
title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")"
elif [ "${type#init-}" != "$type" ] ; then
title="$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "${xen_version}" "${version}" "${type#init-}")"
else
title="$(gettext_printf "%s, with Xen %s and Linux %s" "${os}" "${xen_version}" "${version}")"
fi
replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
if [ x"Xen ${xen_version}>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
fi
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
else
title="$(gettext_printf "%s, with Xen hypervisor" "${os}")"
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'xen-gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
fi
if [ x$type != xrecovery ] ; then
save_default_entry | grub_add_tab | sed "s/^/$submenu_indentation/"
fi
if [ -z "${prepare_boot_cache}" ]; then
prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | grub_add_tab)"
fi
printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
xmessage="$(gettext_printf "Loading Xen %s ..." ${xen_version})"
lmessage="$(gettext_printf "Loading Linux %s ..." ${version})"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$xmessage" | grub_quote)'
if [ "\$grub_platform" = "pc" -o "\$grub_platform" = "" ]; then
xen_rm_opts=
else
xen_rm_opts="no-real-mode edd=off"
fi
${xen_loader} ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} \${xen_rm_opts}
echo '$(echo "$lmessage" | grub_quote)'
${module_loader} ${rel_dirname}/${basename} placeholder root=${linux_root_device_thisversion} ro ${args}
EOF
if test -n "${initrd}" ; then
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
message="$(gettext_printf "Loading initial ramdisk ...")"
initrd_path=
for i in ${initrd}; do
initrd_path="${initrd_path} ${rel_dirname}/${i}"
done
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
${module_loader} --nounzip $(echo $initrd_path)
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
linux_list=
for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do
if grub_file_is_not_garbage "$i"; then
basename=$(basename $i)
version=$(echo $basename | sed -e "s,^[^0-9]*-,,g")
dirname=$(dirname $i)
config=
for j in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
if test -e "${j}" ; then
config="${j}"
break
fi
done
if (grep -qx "CONFIG_XEN_DOM0=y" "${config}" 2> /dev/null || grep -qx "CONFIG_XEN_PRIVILEGED_GUEST=y" "${config}" 2> /dev/null); then linux_list="$linux_list $i" ; fi
fi
done
if [ "x${linux_list}" = "x" ] ; then
exit 0
fi
file_is_not_sym () {
case "$1" in
*/xen-syms-*)
return 1;;
*)
return 0;;
esac
}
xen_list=
for i in /boot/xen*; do
if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then xen_list="$xen_list $i" ; fi
done
prepare_boot_cache=
boot_device_id=
title_correction_code=
machine=`uname -m`
case "$machine" in
i?86) GENKERNEL_ARCH="x86" ;;
mips|mips64) GENKERNEL_ARCH="mips" ;;
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
arm*) GENKERNEL_ARCH="arm" ;;
*) GENKERNEL_ARCH="$machine" ;;
esac
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_top_level=true
while [ "x${xen_list}" != "x" ] ; do
list="${linux_list}"
current_xen=`version_find_latest $xen_list`
xen_basename=`basename ${current_xen}`
xen_dirname=`dirname ${current_xen}`
rel_xen_dirname=`make_system_path_relative_to_its_root $xen_dirname`
xen_version=`echo $xen_basename | sed -e "s,.gz$,,g;s,^xen-,,g"`
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ "x$is_top_level" != xtrue ]; then
echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
fi
if ($grub_file --is-arm64-efi $current_xen); then
xen_loader="xen_hypervisor"
module_loader="xen_module"
else
if ($grub_file --is-x86-multiboot2 $current_xen); then
xen_loader="multiboot2"
module_loader="module2"
else
xen_loader="multiboot"
module_loader="module"
fi
fi
initrd_early=
for i in ${GRUB_EARLY_INITRD_LINUX_STOCK} \
${GRUB_EARLY_INITRD_LINUX_CUSTOM}; do
if test -e "${xen_dirname}/${i}" ; then
initrd_early="${initrd_early} ${i}"
fi
done
while [ "x$list" != "x" ] ; do
linux=`version_find_latest $list`
gettext_printf "Found linux image: %s\n" "$linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`
rel_dirname=`make_system_path_relative_to_its_root $dirname`
version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
initrd_real=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" ; do
if test -e "${dirname}/${i}" ; then
initrd_real="$i"
break
fi
done
initrd=
if test -n "${initrd_early}" || test -n "${initrd_real}"; then
initrd="${initrd_early} ${initrd_real}"
initrd_display=
for i in ${initrd}; do
initrd_display="${initrd_display} ${dirname}/${i}"
done
gettext_printf "Found initrd image: %s\n" "$(echo $initrd_display)" >&2
fi
if test -z "${initrd_real}"; then
# "UUID=" magic is parsed by initrds. Since there's no initrd, it can't work here.
if [ "x${GRUB_DEVICE_PARTUUID}" = "x" ] \
|| [ "x${GRUB_DISABLE_LINUX_PARTUUID}" = "xtrue" ]; then
linux_root_device_thisversion=${GRUB_DEVICE}
else
linux_root_device_thisversion=PARTUUID=${GRUB_DEVICE_PARTUUID}
fi
fi
if [ "x$is_top_level" = xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" != xy ]; then
linux_entry "${OS}" "${version}" "${xen_version}" simple \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
submenu_indentation="$grub_tab$grub_tab"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
# TRANSLATORS: %s is replaced with an OS name
echo "submenu '$(gettext_printf "Advanced options for %s (with Xen hypervisor)" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"
echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_version}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$boot_device_id' {"
is_top_level=false
fi
linux_entry "${OS}" "${version}" "${xen_version}" advanced \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
for supported_init in ${SUPPORTED_INITS}; do
init_path="${supported_init#*:}"
if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" != "$(readlink -f "${init_path}")" ]; then
linux_entry "${OS}" "${version}" "${xen_version}" "init-${supported_init%%:*}" \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=${init_path}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}"
fi
done
if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
linux_entry "${OS}" "${version}" "${xen_version}" recovery \
"single ${GRUB_CMDLINE_LINUX}" "${GRUB_CMDLINE_XEN}"
fi
list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
done
if [ x"$is_top_level" != xtrue ]; then
echo ' }'
fi
xen_list=`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | tr '\n' ' '`
done
# If at least one kernel was found, then we need to
# add a closing '}' for the submenu command.
if [ x"$is_top_level" != xtrue ]; then
echo '}'
fi
echo "$title_correction_code"
====================== sdb5/etc/grub.d/37_os-prober_proxy ======================
#!/bin/sh
#THIS IS A GRUB PROXY SCRIPT
'/etc/grub.d/proxifiedScripts/os-prober' | /etc/grub.d/bin/grubcfg_proxy "-'Options avancées pour Debian GNU/Linux 10 (buster) (sur /dev/sdb4)'/*
-'Options avancées pour Debian GNU/Linux 10 (buster) (sur /dev/sdb4)'/'Debian mate (sur /dev/sdb4)'~e96d045dad5cb129a30ae740fc684e64~
-'Debian GNU/Linux 10 (buster) (sur /dev/sdb4)'~85ed4c7d0a3e25fceec41e4117682134~
+*
+#text
+'Windows Boot Manager (sur /dev/sdb1)'~95c05cbe43f061f74bcfb61cf74782c6~
"
======================= sdb5/etc/grub.d/38_uefi-firmware =======================
#! /bin/sh
set -e
# grub-mkconfig helper script.
# Copyright (C) 2012 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
prefix="/usr"
exec_prefix="/usr"
datarootdir="/usr/share"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
. "${datarootdir}/grub/grub-mkconfig_lib"
efi_vars_dir=/sys/firmware/efi/vars
EFI_GLOBAL_VARIABLE=8be4df61-93ca-11d2-aa0d-00e098032b8c
OsIndications="$efi_vars_dir/OsIndicationsSupported-$EFI_GLOBAL_VARIABLE/data"
if [ -e "$OsIndications" ] && \
[ "$(( $(printf 0x%x \'"$(cat $OsIndications | cut -b1)") & 1 ))" = 1 ]; then
LABEL="UEFI Firmware Settings"
gettext_printf "Adding boot menu entry for UEFI Firmware Settings\n" >&2
onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
cat << EOF
menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
fwsetup
}
EOF
fi
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
sdb5,
using the following options: sdb1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession entry (sdb1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)
Dernière modification par nestorburma (Le 05/07/2021, à 06:23)
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#16 Le 05/07/2021, à 06:26
- xubu1957
Re : kubuntu démarrage tres lent
Bonjour,
Voir > message #9 du tutoriel
Nota = message précédent modifié.
Dernière modification par xubu1957 (Le 05/07/2021, à 06:30)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#17 Le 05/07/2021, à 07:38
- nestorburma
Re : kubuntu démarrage tres lent
bonjour xubu1957
je ne vois rien à ce que tu veux dire au #9
Si malgré tout, on ne peut toujours pas remonter plus haut dans l'affichage du terminal :
marcodel a écrit :
Dans les menus du terminal :
Édition >> préférences du profil >> défilement [ou "Lignes d'historique"]
Y augmenter le nombre.
(Avec "2500", on sera tranquille).
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#18 Le 05/07/2021, à 07:43
- xubu1957
Re : kubuntu démarrage tres lent
Tu as effacé un message où tu disais que tu avais 2157 lignes à fournir.
J'avais répondu à ce message, pour indiquer le conseil de marcodel.
Dernière modification par xubu1957 (Le 05/07/2021, à 07:44)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#19 Le 05/07/2021, à 07:56
- xubu1957
Re : kubuntu démarrage tres lent
Fournis les noyaux présents :
echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"
et d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#20 Le 05/07/2021, à 08:22
- malbo
Re : kubuntu démarrage tres lent
Bonjour,
Dans le Boot-info du post #15, on peut voir que c'est ubuntu qui est en priorité de démarrage (ligne "BootOrder") :
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0008,0000,0009
Boot0000* Windows Boot Manager HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* ubuntu HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0008* debian HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\DEBIAN\SHIMX64.EFI)
Boot0009* debian HD(1,GPT,b80d135c-1870-4035-a2e2-7ad1fa763355,0x800,0x82000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
Par contre, si on en croit l'extrait suivant, le démarrage par défaut se ferait sur debian :
====================== sdb5/boot/grub/grub.cfg (filtered) ======================
Debian mate (sur sdb4) 590c9b5d-04e4-440d-9af8-cf9cb32ab168
Debian GNU/Linux 10 (buster) (sur sdb4) 590c9b5d-04e4-440d-9af8-cf9cb32ab168
### END /etc/grub.d/30_os-prober_proxy ###
Ubuntu bd010bd9-2887-4db0-ba49-668cc4874f3c
Ubuntu, avec Linux 5.4.0-77-lowlatency bd010bd9-2887-4db0-ba49-668cc4874f3c
Ubuntu, avec Linux 5.8.0-59-generic bd010bd9-2887-4db0-ba49-668cc4874f3c
Ubuntu, avec Linux 5.8.0-43-generic bd010bd9-2887-4db0-ba49-668cc4874f3c
Windows Boot Manager (sur sdb1) osprober-efi-088C-8028
UEFI Firmware Settings uefi-firmware
Malgré la présence de deux noyaux de la famille 5.8, c'est sur le noyau 5.4.0-77-lowlatency que se fait le démarrage :
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-77-lowlatency root=UUID=bd010bd9-2887-4db0-ba49-668cc4874f3c ro quiet splash vt.handoff=7
C'est bien compliqué tout ça...
Dernière modification par malbo (Le 05/07/2021, à 08:31)
Hors ligne
#21 Le 05/07/2021, à 09:41
- nestorburma
Re : kubuntu démarrage tres lent
reponse à xubu 1957
jean@jean-asus:~$ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"
ii linux-headers-5.4.0-77 5.4.0-77.86 all
ii linux-headers-5.4.0-77-lowlatency 5.4.0-77.86 amd64
ii linux-image-5.4.0-77-lowlatency 5.4.0-77.86 amd64
ii linux-modules-5.4.0-77-lowlatency 5.4.0-77.86 amd64
ii linux-headers-lowlatency 5.4.0.77.80 amd64
ii linux-image-lowlatency 5.4.0.77.80 amd64
ii linux-lowlatency 5.4.0.77.80 amd64
ii linux-hwe-5.8-headers-5.8.0-43 5.8.0-43.49~20.04.1 all
ii linux-headers-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64
ii linux-image-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64
ii linux-modules-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64
ii linux-modules-extra-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64
ii linux-hwe-5.8-headers-5.8.0-59 5.8.0-59.66~20.04.1 all
ii linux-headers-5.8.0-59-generic 5.8.0-59.66~20.04.1 amd64
ii linux-image-5.8.0-59-generic 5.8.0-59.66~20.04.1 amd64
ii linux-modules-5.8.0-59-generic 5.8.0-59.66~20.04.1 amd64
ii linux-modules-extra-5.8.0-59-generic 5.8.0-59.66~20.04.1 amd64
ii linux-generic-hwe-20.04 5.8.0.59.66~20.04.42 amd64
ii linux-headers-generic-hwe-20.04 5.8.0.59.66~20.04.42 amd64
ii linux-image-generic-hwe-20.04 5.8.0.59.66~20.04.42 amd64
Noyau courant : 5.8.0-59-generic x86_64
jean@jean-asus:~$
j'ai une entrée debian en trop dans grub et dans l'uefi,j'ai essayé de la supprimer mais je n'y arrive pas,quand je fait un udate-grub voici le résultat
jean@jean-asus:~$ sudo update-grub
[sudo] Mot de passe de jean :
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.8.0-59-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-59-generic
Image Linux trouvée : /boot/vmlinuz-5.8.0-43-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-43-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-77-lowlatency
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-77-lowlatency
Windows Boot Manager trouvé sur /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
Debian GNU/Linux 10 (buster) trouvé sur /dev/sdb4
Image Linux trouvée : /boot/vmlinuz-5.8.0-59-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-59-generic
Image Linux trouvée : /boot/vmlinuz-5.8.0-43-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.8.0-43-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-77-lowlatency
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-77-lowlatency
Windows Boot Manager trouvé sur /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
Debian GNU/Linux 10 (buster) trouvé sur /dev/sdb4
Adding boot menu entry for UEFI Firmware Settings
fait
jean@jean-asus:~$
Dernière modification par nestorburma (Le 05/07/2021, à 10:25)
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
#22 Le 05/07/2021, à 10:32
- xubu1957
Re : kubuntu démarrage tres lent
Le noyau 5.4.0.77, n'est pas dégagé, il faut utiliser la procédure de la Doc > kernel#via_autoremove
En pratique, si un ou plusieurs vieux noyaux résistent à la purge, il suffit de passer cette commande dans le terminal :
apt-mark showmanual | grep -E "linux-.*[0-9]" | grep -v "hwe" | xargs -r sudo apt-mark auto
Puis de repasser la commande de nettoyage automatique :
sudo apt autoremove --purge -y
Après cela, il ne restera que le dernier noyau et l'avant-dernier
Et la réponse à :
dpkg -l | grep -v ^ii
?
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#23 Le 05/07/2021, à 10:52
- xubu1957
Re : kubuntu démarrage tres lent
@ylag
Salut !
T'as encore supprimé une réponse ?
La Doc du noyau musical > linux-lowlatency ne dit rien à ce sujet.
Et merci.
Dernière modification par xubu1957 (Le 05/07/2021, à 10:53)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#24 Le 05/07/2021, à 11:06
- ylag
Re : kubuntu démarrage tres lent
@xubu1957 :
Bonjour,
Désolé pour le message supprimé...
Si vous cherchez à supprimer le restant du noyau 5.4.0-77, simplement purger le paquet linux-headers-5.4.0-77 devrait le faire :
sudo apt purge linux-headers-5.4.0-77
....peut-être suivi d'une mise à jour des initrd.img, juste au cas :
sudo update-initramfs -u -k all
A+
Dernière modification par ylag (Le 05/07/2021, à 11:10)
Hors ligne
#25 Le 06/07/2021, à 08:02
- nestorburma
Re : kubuntu démarrage tres lent
bonjour
je crois que je ne vais pas me prendre la tête,je vais reinstaller une ubuntu mate,car je trouve que kde c'est une usine à gaz,mon autre distro c'est une debian mate,et j'en suis satisfait,par contre au momentde l'installation du gestionnaire de demarrage j'ai le choix entre plusieurs propositions, çi-joint la table de partition actuelle
ean@debianmate:~$ sudo fdisk -l
[sudo] Mot de passe de jean :
Disque /dev/sda : 931,5 GiB, 1000204886016 octets, 1953525168 secteurs
Modèle de disque : ST1000LM035-1RK1
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : gpt
Identifiant de disque : 3C18BB3C-4281-48A6-9CFD-421A2D51B6BB
Périphérique Début Fin Secteurs Taille Type
/dev/sda1 2048 528607231 528605184 252,1G Données de base Microsoft
/dev/sda2 528607232 552044543 23437312 11,2G Système de fichiers Linux
/dev/sda3 552044544 571576319 19531776 9,3G Partition d'échange Linux
/dev/sda4 571576320 1157513215 585936896 279,4G Système de fichiers Linux
/dev/sda6 1157513216 1200521028 43007813 20,5G Système de fichiers Linux
/dev/sda7 1200521216 1953523711 753002496 359,1G Système de fichiers Linux
Disque /dev/sdb : 238,5 GiB, 256060514304 octets, 500118192 secteurs
Modèle de disque : SanDisk SD9SN8W2
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : gpt
Identifiant de disque : 1E5749F3-7926-48BA-86F1-843422A724FC
Périphérique Début Fin Secteurs Taille Type
/dev/sdb1 2048 534527 532480 260M Système EFI
/dev/sdb2 534528 567295 32768 16M Données de base Microsoft
/dev/sdb3 567296 187488255 186920960 89,1G Données de base Microsoft
/dev/sdb4 187488256 343738367 156250112 74,5G Système de fichiers Linux
/dev/sdb5 343738368 498786303 155047936 74G Système de fichiers Linux
/dev/sdb6 498786304 500117503 1331200 650M Environnement de récupération
jean@debianmate:~$
je pense qu'il faut l'installer sur sdb1,mais je me trompe peut-être
sda3 c'est un swap commun
sda6 c'est /var kubuntu
sda7 c'est/home kubuntu
sdb5 c'est /systeme kubuntu
sdb1 l'uefi
le reste c'est debian et win 10
Dernière modification par nestorburma (Le 06/07/2021, à 10:12)
pc asus core i,7,8 go ram,1 to hdd,ssd 250go carte graphique intel
Hors ligne
Pages : 1