HP-UX11.31安装iso镜像文件
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
这样就成功了,镜像文件成功安装
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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.
哈哈,楼上的两位哥们在比较技能吗