1、运行gparted,将磁盘格式化为ext4;
2、sudo blkid 查询uuid,
3、sudo gedit /etc/fstab ,添加:
# /home/ray/data was on /dev/sda5 during installation
UUID=c4f4827c-8864-42a5-8d7a-1ae574297e7a /home/ray/data ext4 defaults 0 2
# /home/ray/bak was on /dev/sda3 during installation
UUID=b09a26d6-f445-4ba0-99ea-688b353fbd2e /home/ray/bak ext4 defaults 0 2
4、sudo mount -a
阅读(689) | 评论(0) | 转发(0) |