markdown 树莓派自动挂载EXT4格式ù盘

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 树莓派自动挂载EXT4格式ù盘相关的知识,希望对你有一定的参考价值。

Found the UUID of your USB drive by:

```
sudo blkid
```

Add a new line in `/etc/fstab` like:

```
UUID=93ddc2e0-48e1-457c-9d59-f6a34596e6e1 /media/SSD-120GB ext4 defaults,nofail 0 0
```

- Use UUID rather than the device node (/dev/sda1) as the device node can change across reboots especially if drives are added or removed.
- Include "nofail" in the mount options to prevent the Pi hanging if it is booted without the drive attached.

Save and close /etc/fstab

Connect the HDD and reboot

以上是关于markdown 树莓派自动挂载EXT4格式ù盘的主要内容,如果未能解决你的问题,请参考以下文章

树莓派-磁盘分区、格式化、挂载、卸载

树莓派挂载exfat和ntfs格式硬盘优盘

树莓派3B 挂载硬盘

树莓派-USB存储设备自动挂载

树莓派挂载u盘

树莓派挂载u盘