免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4186 | 回复: 6

如何挂载扩展分区? [复制链接]

论坛徽章:
0
发表于 2010-07-25 12:03 |显示全部楼层
在安装系统的时候不小心分了好几个,就出现了一个扩展分区,后来重新安装后,扩展分区没有去掉,结果现在系统启动后扩展分区不能用
用fdisk -l 查看,扩展分区为/dev/hda4
请问如何让系统每次启动都自动挂载该分区呢?谢谢

论坛徽章:
0
发表于 2010-07-25 12:14 |显示全部楼层
修改/etc/fstab

论坛徽章:
0
发表于 2010-07-25 13:01 |显示全部楼层
同楼上,加到fstab里!

论坛徽章:
0
发表于 2010-07-25 14:39 |显示全部楼层
# /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
# / was on /dev/sda3 during installation
UUID=c5b68c27-55e5-4284-afae-ecd0ba24e4d9 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda7 during installation
UUID=61514b75-75ea-4a35-b7fa-69b3d3e73a3e /home           ext3    defaults        0       2
# swap was on /dev/sda6 during installation
UUID=a3dd0917-d08f-4a32-bac1-74f3df1a54da none            swap    sw              0       0
#/dev/sda8  music
UUID=A6C27E99C27E6E05 /media           ntfs    defaults        0       2


修改试试去把!

论坛徽章:
0
发表于 2010-07-25 15:04 |显示全部楼层
多谢,解决了
就是修改fstab文件的,把加载一行写上就行了,多谢楼上各位
这次仔细看了楼上fstab文件,里面其实给了挂载的格式,以前都没有意识到

论坛徽章:
0
发表于 2010-07-26 09:25 |显示全部楼层
man fstab
很详细的介绍,包括每个字段怎么写,可以有哪几种写法。

论坛徽章:
0
发表于 2010-07-26 11:27 |显示全部楼层
路过ing~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP