5,322
edits
Line 875: | Line 875: | ||
* -S handle sparse files efficiently | * -S handle sparse files efficiently | ||
* --numeric-ids use id instead of uid/gid | * --numeric-ids use id instead of uid/gid | ||
To copy a root partition, make sure you change the following on the new drive: | To copy a root partition, make sure you change the following on the new drive: | ||
Line 883: | Line 882: | ||
* Run [https://help.ubuntu.com/community/Boot-Repair boot-repair] from a live disk if you run into any issues. | * Run [https://help.ubuntu.com/community/Boot-Repair boot-repair] from a live disk if you run into any issues. | ||
}} | }} | ||
==Ubuntu== | |||
Ubuntu-specific notes | |||
===Disable ESM message=== | |||
[https://askubuntu.com/questions/1453749/inhibit-esm-messages-at-login Reference] | |||
<syntaxhighlight lang="bash"> | |||
# Disable MOTD | |||
sudo chmod -x /etc/update-motd.d/88-esm-announce | |||
# Disable APT check | |||
sudo sed -Ezi.orig \ | |||
-e 's/(def _output_esm_service_status.outstream, have_esm_service, service_type.:\n)/\1 return\n/' \ | |||
-e 's/(def _output_esm_package_alert.*?\n.*?\n.:\n)/\1 return\n/' \ | |||
/usr/lib/update-notifier/apt_check.py | |||
sudo /usr/lib/update-notifier/update-motd-updates-available --force | |||
</syntaxhighlight> |