首先,ubuntu的输入法简直棒。
由于需要双系统想隐藏Win分区
首先,查看相关解决方法,有人提出修改fstab.观察发现并没有比较“多余”的两个盘。如图
//备份
sudo cp /etc/fstab /etc/fstab_old
//查看
sudo cat /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/sda5 during installation
UUID=071460a4-6953-494e-8120-fef8d62b0ff4 / ext4 errors=remount-ro 0 1
# /windows was on /dev/sda3 during installation
UUID=D22CFD1E2CFCFE73 /windows ntfs defaults,umask=007,gid=46 0 0
# swap was on /dev/sda6 during installation
UUID=0d9f40e7-cd89-44f9-ab71-786ba7a055f3 none swap sw 0 0
解决方案1失败,方案二探索
直接将该分区挂载处的权限改为0 0 0
重启测试中。
OK达到了保护分区的作用。。。
顺路更新源。
//备份
sudo cp /etc/apt/sources.list /etc/apt/sources.list_old
deb
//编辑
sudo gedit /etc/apt/sources.list
deb http://mirrors.163.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ vivid-backports main restricted universe multiverse
##最后 sudo apt-get update