Showing posts with label Booting. Show all posts
Showing posts with label Booting. Show all posts

Friday, 6 June 2025

Matikan e2scrub_reap.service

 

mematikan e2scrub_reap.service aman dalam sebagian besar kasus, terutama jika:

✅ Kapan Aman Dimatikan?

  • Kamu tidak menggunakan LVM snapshot.

  • Kamu bukan admin server produksi yang sangat mengandalkan fitur otomatis pengecekan filesystem.

  • Laptop/PC kamu hanya pakai partisi ext4 biasa (umumnya begitu kalau instalasi default Ubuntu).

  • Kamu lebih mementingkan waktu boot cepat dibanding pengecekan otomatis sistem file berkala.


❓ Apa Sebenarnya e2scrub_reap.service?

Ini bagian dari fitur baru di e2fsprogs, tujuannya:

  • Membersihkan snapshot LVM setelah pengecekan otomatis sistem file (e2scrub).

  • Tapi hanya aktif kalau kamu pakai snapshot LVM — dan mayoritas pengguna desktop tidak.

Jika tidak pakai snapshot LVM, service ini tidak melakukan apa pun selain memperlambat boot.


✅ Cara Mematikannya

sudo systemctl disable e2scrub_reap.service
 Removed "/etc/systemd/system/multi-user.target.wants/e2scrub_reap.service".

Kalau mau sekalian matikan dan hentikan langsung:

sudo systemctl disable --now e2scrub_reap.service

ingkatnya:
✔️ Aman dimatikan untuk pengguna laptop/desktop biasa.
🧠 Gunakan jika kamu ingin memangkas waktu boot.

Ingin saya bantu list service lain yang juga aman dimatikan dari list kamu?



 

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