ubuntu启动时自动挂载windows分区

这是本人的/etc/fstab文件,其中设置的启动时自动挂载的windows分区,可用df命令查看挂载信息

开始还需要新建对应的文件夹,如 sudo mkdir /media/WINDOWS,sudo mkdir /media/PROGRAM等

# /etc/fstab: static file system information.

#
# Use 'blkid -o value -s UUID' 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    nodev,noexec,nosuid 0       0
/dev/sda9       /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda10 during installation
UUID=c98fafbc-4bed-4e75-8c48-ded2acb7cce6 /boot           ext4    defaults        0       2
# /home was on /dev/sda12 during installation
UUID=59b5a521-1871-447e-9771-358e84764f3f /home           ext4    defaults        0       2
# swap was on /dev/sda11 during installation
UUID=aa85a9d1-bd57-417b-8f4a-018f19f00005 none            swap    sw              0       0
/dev/sda1        /media/WINDOWS  vfat     rw,utf8         0     0     
/dev/sda5        /media/PROGRAM  vfat     rw,utf8         0     0
/dev/sda6        /media/WINNT    ntfs     rw,utf8         0    0
/dev/sda7        /media/SOURCE   vfat     rw,utf8         0    0
/dev/sda8        /media/TOOLS    vfat     rw,utf8         0    0
                                                                

你可能感兴趣的:(windows)