在 Debian 上如何挂载一块硬盘: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 September 2025

  • curprev 10:2710:27, 29 September 2025Mwroot talk contribs 383 bytes +383 Created page with "# 找到 UUID 和磁盘格式:<code>lsblk -f</code> 查磁盘分区结构和磁盘类型。<code>sudo blkid</code> 找到 UUID。 # 创建挂载目录:mkdir some # 打开 /etc/fstab 按以下格式写入:<code>UUID=39c71dc4-5576-4660-9f0d-150d8c6c93c2 /home/to/some ext4 defaults,noatime 0 2</code> # <code>sudo mount -a</code>,无报错后检查一遍,才可以重启"