免费注册 查看新帖 |

Chinaunix

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

[安装配置] HP-UX11.31安装iso镜像文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-03-30 21:09 |只看该作者 |倒序浏览
HP-UX 11.31上安装镜像文件的方法:
1.创建一个叫iso的逻辑卷,大小等于所要安装的镜像文件的大小
# lvcreate -L 74M -n iso /dev/vg00
2.将镜像文件写到新的逻辑卷,也就是说你必须有相关的剩余空间
# dd if=/Software_Glance_5.0_HP_UX_11.31.iso of=/dev/vg00/riso bs=8192
8959+1 records in
8959+1 records out
3.将镜像挂载到目录下就可以了
# mount /dev/vg00/iso /cdrom
这样就成功了,镜像文件成功安装

论坛徽章:
0
2 [报告]
发表于 2011-03-31 13:49 |只看该作者
AIX的如下:
Q. I know how to mount an ISO image in Sun Solaris UNIX and Linux. I was just wondering if there is a way to mount an ISO image in IBM AIX UNIX.

A. You need to type the following commands:
=> crfs: Adds a file system.

=> dd: A raw copy tool for UNIX

=> chfs: Changes attributes of a file system.

=> mount: Mount a file system

=> rmfs : Remove a file system

First Create a filesystem with crfs command:

#/usr/sbin/crfs -v jfs -g rootvg -a size=800 -m/cd1iso -Ano -pro -tno -a frag=4096 -a nbpi=4096 -a ag=8

This command creates the /cd1iso file system on the rootvg volume group.

Now dd the "iso" image into rlv00

# dd if=image.iso of=/dev/rlv00 bs=10M

Use chfs to change the attributes of a file system:

# chfs -a vfs=cdrom cd1iso
# mount /cd1iso
# cd /cd1iso

When done, remove the filesystem/unmount, enter:

# rmfs /cd1iso

This removes the /cd1iso file system, its entry in the /etc/filesystems (created using chfs command) file, and the underlying logical volume.

论坛徽章:
0
3 [报告]
发表于 2011-03-31 15:52 |只看该作者
哈哈,楼上的两位哥们在比较技能吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP