免费注册 查看新帖 |

Chinaunix

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

jumpstart-->profile-->locale出错,帮忙看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-05 16:28 |只看该作者 |倒序浏览
用的是sol-10-u7-ga-sparc-dvd.iso

check检查rules 和profile 没有报错

bash-2.05b# ./check
Validating rules...
Validating profile profile35...
The custom JumpStart configuration is ok.


bash-2.05b# more profile35

install_type    initial_install
system_type     standalone
partitioning explicit
filesys c1t0d0s0 free /
filesys c1t0d0s1 3096 swap
filesys c1t0d0s3 19456 /export2
#cluster                SUNWCall
cluster         SUNWCXall
#locale zh_CN.EUC
locale en_US
#locale zh_CN
#locale ja_JP

检查profile的时候,按照文档,在客户机上执行

bash-3.00# /usr/sbin/install.d/pfinstall -D -c /mnt/iso profile35

Parsing profile
         1: install_type        initial_install
         2: system_type standalone
         3: partitioning explicit
         4: filesys c1t0d0s0 free /
         5: filesys c1t0d0s1 3096 swap
         6: filesys c1t0d0s3 19456 /export2
         7: #cluster            SUNWCall
         8: cluster             SUNWCXall
         9: #locale zh_CN.EUC
        10: locale en_US
        11: #locale zh_CN
        12: #locale ja_JP
        13:

Processing profile
        - Selecting cluster (SUNWCXall)
        - Selecting locale (en_US.ISO8859-1)

ERROR: Could not select locale (en_US.ISO8859-1)

Test run complete. Exit status 2.



看了815-5506  Solaris 10 Installation Guide:Custom JumpStart and Advanced Installations

local介绍基本没有

参考solaris 9
http://docs.sun.com/app/docs/doc ... 9ef?l=zh&a=view

就是这么设的



试了n种设置,都不行,只要把local去掉就能通过检查

装完系统不想再单独去装语言包。

这个local该怎么设呢?请指教,谢谢

论坛徽章:
0
2 [报告]
发表于 2009-08-05 16:34 |只看该作者
locale  C 呢?

论坛徽章:
0
3 [报告]
发表于 2009-08-05 16:55 |只看该作者
原帖由 easybegin 于 2009-8-5 16:34 发表
locale  C 呢?


试一下去

论坛徽章:
0
4 [报告]
发表于 2009-08-05 16:56 |只看该作者
locale  C可以通过


bash-3.00# /usr/sbin/install.d/pfinstall -D -c /mnt/iso profile35

Parsing profile
         1: install_type        initial_install
         2: system_type standalone
         3: partitioning explicit
         4: filesys c1t0d0s0 free /
         5: filesys c1t0d0s1 3096 swap
         6: filesys c1t0d0s3 19456 /export2
         7: #cluster            SUNWCall
         8: cluster             SUNWCXall
         9: #locale zh_CN.EUC
        10: locale C
WARNING: Locale is already selected (C)
        11: #locale en_US
        12: #locale zh_CN
        13: #locale ja_JP
        14:

Processing profile
        - Selecting cluster (SUNWCXall)

Packages to be installed
          SUNWocfd
          SUNWlucfg

…………………………

论坛徽章:
0
5 [报告]
发表于 2009-08-05 17:23 |只看该作者
恭喜

[ 本帖最后由 easybegin 于 2009-8-5 17:50 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2009-08-05 20:24 |只看该作者
原帖由 easybegin 于 2009-8-5 17:23 发表
恭喜



晕,恭喜啥呢?问题还没解决呢

c是默认的,需要装en_US ZH_CN,这两个只要添加就报错

论坛徽章:
0
7 [报告]
发表于 2009-08-05 21:51 |只看该作者
你为啥一定要装那个呢

论坛徽章:
0
8 [报告]
发表于 2009-08-05 22:07 |只看该作者
原帖由 guopy007 于 2009-8-5 21:51 发表
你为啥一定要装那个呢


不装这个的话装完系统还得手动装一下

论坛徽章:
0
9 [报告]
发表于 2009-08-06 09:04 |只看该作者
locale          zh

这个不行吗?

论坛徽章:
0
10 [报告]
发表于 2009-08-06 10:59 |只看该作者
原帖由 easybegin 于 2009-8-6 09:04 发表
locale          zh

这个不行吗?


不行啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP