给Linux添加一块磁盘,设置文件系统格式为ext3,并挂载到/mnt下,最后往这块磁盘中拷贝/etc下得所有文件
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
比如我们有一块新硬盘/dev/sda
操作步骤:
#mkfs.ext3 /dev/sda 提示按'y'
#mkdir /mnt 建立挂载目录
#mount /dev/sda /mnt 把/dev/sda这个盘挂载到/mnt目录下
#vim /etc/fstab 系统启动时自动挂载/dev/sda,编辑/etc/fstab文件
添加如下内容:/dev/sda /mnt ext3 defaults 1 2
#cp -r /etc /mnt 拷贝/etc下所有文件到/mnt
参考:http://linux008.blog.51cto.com/2837805/541506/




A beautiful web dashboard for Linux
最近提交(Master分支:18 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)