Ubuntu 12.04开机自动挂载硬盘
来源:互联网 发布:ubuntu 主分区大少 编辑:程序博客网 时间:2024/05/16 10:24
因为是双系统。。然后就想着每次用的时候手动挂载很累。。所以直接开机给挂载上算了。。
好,先查看下系统下要挂载的盘在哪里,用sudo fdisk -l
chen@alps:~$ sudo fdisk -lDisk /dev/sda: 750.2 GB, 750156374016 bytes16 heads, 63 sectors/track, 1453521 cylinders, total 1465149168 sectorsUnits = 扇区 of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x446588b8 设备 启动 起点 终点 块数 Id 系统/dev/sda1 * 63 167798924 83899431 7 HPFS/NTFS/exFATPartition 1 does not start on physical sector boundary./dev/sda2 167798986 1465147391 648674203 f W95 扩展 (LBA)Partition 2 does not start on physical sector boundary./dev/sda5 167798988 471909374 152055193+ 7 HPFS/NTFS/exFATPartition 5 does not start on physical sector boundary./dev/sda6 471909438 776019824 152055193+ 7 HPFS/NTFS/exFATPartition 6 does not start on physical sector boundary./dev/sda7 776019951 1080130274 152055162 7 HPFS/NTFS/exFATPartition 7 does not start on physical sector boundary./dev/sda8 1080130338 1384240724 152055193+ 7 HPFS/NTFS/exFATPartition 8 does not start on physical sector boundary./dev/sda9 1384241152 1448679423 32219136 83 Linux/dev/sda10 1448681472 1465147391 8232960 82 Linux 交换 / Solaris
然后修改/etc/fstab文件
sudo vim /etc/fstab
不会vim用gedit
然后输入密码打开后,再最后添加
/dev/sda5/media/multimediantfsdefault02/dev/sda6/media/toolsntfsdefault02
然后保存退出就好了
# <file system> <mount point> <type> <options> <dump> <pass>
这个是每个部分的意思,磁盘位置啊,挂载点,磁盘文件类型,default不清楚 = =,是否备份,是否检查。
0 0
- Ubuntu 12.04开机自动挂载硬盘
- ubuntu开机自动挂载硬盘
- Ubuntu 14.04硬盘开机自动挂载
- Ubuntu开机自动挂载硬盘的权限问题
- ubuntu开机自动挂载的ntfs硬盘
- ubuntu下设置开机自动挂载硬盘
- ubuntu下设置开机自动挂载硬盘
- Ubuntu 16.04 UUID 开机自动挂载硬盘
- ubuntu开机自动挂载新硬盘
- ubuntu开机自动挂载新硬盘
- 继续摘抄:开机自动挂载硬盘
- linux挂载新硬盘,开机自动挂载
- linux挂载新硬盘,开机自动挂载
- linux挂载新硬盘,开机自动挂载
- linux挂载新硬盘,开机自动挂载
- linux挂载新硬盘,开机自动挂载
- linux硬盘开机自动挂载
- CentOS6.5开机自动挂载硬盘
- UVa 639 放车问题
- 基础篇:源码 Linux+Apache+PHP+MySQL环境配置方法-08CMS网站
- Better understand "this" in JQuery plugin
- sshd restart 遇到错误 cat: /proc/sys/crypto/fips_enabled: No such file or directory
- [Cocos2d-x源码] 一些整数/字符串转换常用的宏定义
- Ubuntu 12.04开机自动挂载硬盘
- HBase在小米中的应用与实践
- java根据ip地址获取详细地域信息
- Linux "零拷贝" sendfile函数中文说明及实际操作分析
- CSDN在线培训
- 2014-3-19 离职开始新的方向
- 内网的IP地址判断
- 李代沫吸毒引起轰动 网友称明星更应该自洁自爱
- 进程和线程-Processes and Threads[译文]