免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1945 | 回复: 4
打印 上一主题 下一主题

[系统管理] 求教关于2TB以上系统盘,批量部署时怎么写ks.cfg文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2017-08-25 16:09 |只看该作者 |倒序浏览
求教关于2TB以上系统盘,批量部署时怎么写ks.cfg文件。求大神指导!

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
2 [报告]
发表于 2017-08-25 23:11 |只看该作者
回复 1# linux菜鸟小白

先单独手工安装一台。

之后, 会在它的 /root/下找一下 *ks.cfg 文件。

然后, 修改这个文件中的 关于分区的部分就可以了。
因为默认这部分是注释掉的。  

论坛徽章:
0
3 [报告]
发表于 2017-09-16 23:37 |只看该作者
可以用cobbler安装,关掉cobbler的防火墙

论坛徽章:
0
4 [报告]
发表于 2017-09-21 15:18 |只看该作者
这个 我是系统安装好后
  再做脚本 批量分区的
这样做就很好做

论坛徽章:
0
5 [报告]
发表于 2017-09-21 19:04 |只看该作者
ks.cfg has a part named pre;you can deal HDD >2TB in this part,please google and read the kickstart docs for details。

anymore, some help messages(maybe):
Here are two ways to install with GPT as disk label on Red Hat EL6:

1. In the graphical installer, before partitioning switch to a shell
(Ctrl-Alt-F2) and run "parted /dev/sda" and "mklabel gpt". You can now
proceed as normal in the install, including automated or customized
partitioning, LVM, etc.

2. Using kickstart, make sure you don't use "zerombr" or "clearpart
--all" which recreate an MSDOS disk label ("clearpart --linux" is fine)
and add something like this (the "dd" is only really necessary if you
need to destroy an old disk label first):

%pre
dd if=/dev/urandom of=/dev/sda bs=512 count=64
parted -s /dev/sda mklabel gpt
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP