一直以来为Debian无法自动挂载U盘和移动硬盘而烦恼,后来发现是因为我的系统是使用U盘安装的,从而导致了无法自动挂载U盘和移动硬盘,解决方案为:修改
/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>
proc /proc proc defaults 0 0
# / was on /dev/sda4 during installation UUID=1f0396c3-5c1f-41d1-b6ce-8243150be066 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation UUID=4a92a374-eb25-4221-981a-e62dda0f28f8 none swap sw 0 0
#/dev/sdb1 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto 0 0
可以在这找到具体的说明
#612119