Ubuntu/Debian: Disable automounting

If the disk has been used before (with partitions at the same offsets),
previous filesystems (e.g. the ESP) will automount if not disabled.

Co-authored-by: attero <service-github@attero.me>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes #119
This commit is contained in:
Richard Laager
2021-02-09 18:57:01 -06:00
parent 7e4f2bce78
commit e8763236b6
2 changed files with 14 additions and 0 deletions

View File

@@ -126,6 +126,13 @@ Step 1: Prepare The Install Environment
``ip addr show scope global | grep inet``. Then, from your main machine, ``ip addr show scope global | grep inet``. Then, from your main machine,
connect with ``ssh user@IP``. connect with ``ssh user@IP``.
#. Disable automounting:
If the disk has been used before (with partitions at the same offsets),
previous filesystems (e.g. the ESP) will automount if not disabled::
gsettings set org.gnome.desktop.media-handling automount false
#. Become root:: #. Become root::
sudo -i sudo -i

View File

@@ -253,6 +253,13 @@ Step 1: Prepare The Install Environment
``ip addr show scope global | grep inet``. Then, from your main machine, ``ip addr show scope global | grep inet``. Then, from your main machine,
connect with ``ssh ubuntu@IP``. connect with ``ssh ubuntu@IP``.
#. Disable automounting:
If the disk has been used before (with partitions at the same offsets),
previous filesystems (e.g. the ESP) will automount if not disabled::
gsettings set org.gnome.desktop.media-handling automount false
#. Become root:: #. Become root::
sudo -i sudo -i