1. 程式人生 > >Ubuntu 開機掛載磁碟

Ubuntu 開機掛載磁碟

檢視/etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation

修改/etc/fstab

底部新增

/dev/sdb1   /d1 ext4    defaults    0        0