Friday, 6 June 2025

Percepat booting ubuntu 24

 

1. Matikan plymouth-quit-wait.service

Service ini hanya untuk tampilan splash screen (loading animasi Ubuntu saat booting). Biasanya aman dimatikan.

 

$ sudo systemctl disable plymouth-quit-wait.service
[sudo] password for dhwan: 
The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
template units). This means they are not meant to be enabled or disabled using systemctl.
 
Possible reasons for having these kinds of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/, .requires/, or .upholds/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.
 

Terima kasih, itu pesan wajar — artinya plymouth-quit-wait.service tidak bisa dinonaktifkan secara langsung dengan systemctl disable karena tidak memiliki konfigurasi instalasi ([Install] section). Tapi kita tetap bisa mencegahnya berjalan dengan cara lain.


✅ Cara Mematikan plymouth-quit-wait.service

🔧 1. Masking: Paksa agar tidak bisa dijalankan sama sekali

Ini cara paling aman dan efektif:

$sudo systemctl mask plymouth-quit-wait.service

 hasilnya

Created symlink /etc/systemd/system/plymouth-quit-wait.service → /dev/null.

 

"Masking" membuat service tidak bisa dijalankan, bahkan secara otomatis oleh service lain.

Kalau ingin mengaktifkannya kembali nanti:

sudo systemctl unmask plymouth-quit-wait.service
 

====

Jika kamu ingin menghapus Plymouth sepenuhnya (opsional, jika tidak butuh splash):

sudo apt remove plymouth-theme-ubuntu-text
 

$ sudo apt remove plymouth-theme-ubuntu-text
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.11.0-19-generic linux-headers-6.11.0-21-generic
  linux-hwe-6.11-headers-6.11.0-19 linux-hwe-6.11-headers-6.11.0-21
  linux-hwe-6.11-tools-6.11.0-19 linux-hwe-6.11-tools-6.11.0-21
  linux-image-6.11.0-19-generic linux-image-6.11.0-21-generic
  linux-modules-6.11.0-19-generic linux-modules-6.11.0-21-generic
  linux-modules-extra-6.11.0-19-generic linux-modules-extra-6.11.0-21-generic
  linux-tools-6.11.0-19-generic linux-tools-6.11.0-21-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  plymouth-theme-ubuntu-text
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
After this operation, 54.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 306295 files and directories currently installed.)
Removing plymouth-theme-ubuntu-text (24.004.60-1ubuntu7.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142ubuntu25.5) ...
update-initramfs: Generating /boot/initrd.img-6.11.0-26-generic
 

Share:

0 comments:

Post a Comment