bbs.ChinaUnix.net
首页 | 微博 | 新闻 | Linux | FreeBSD | AIX | Windows | 博客 | 论坛 | 存储 | 网络 | 人才 | Wiki | 资料 | 读书 | 手册 | 下载 | 空间 | 搜索
  免费注册 | 忘记密码 | 会员登录 | 搜索 | 帮助 


[已解决]请教:AIX下有了一个软件的ISO文件,如何安装?


  首页 » 论坛 » AIX »
[打印] [收藏] [本帖文本页] [推荐此主题给朋友]

rt。
网上有朋友提供先用mklv分出一个逻辑卷,然后dd,把ISO文件对应到这个逻辑卷,然后再mount.

但在执行dd命令时,大致进行了半个小时还没结束。我的ISO有3G多,不知合理的需要多长时间。

BTW,有没有其他的方法可以让我在AIX下直接去安装这个ISO文件?能否在AIX对这个ISO文件进行解压缩?

[ 本帖最后由 Godbach 于 2008-1-4 20:37 编辑 ]
__________________________________
明犯我强汉天威者,穷搜天下,万里追杀,覆其巢,断其苗裔,戮其身,追其魂,屠其魄,虽远必诛!
----------------------------------
一尺之槌,日取其半,万世不竭!
----------------------------------
欢迎光临Godbach的博客交流技术问题:
http://blog.chinaunix.net/u/33048/
----------------------------------



没有,刻盘或者mount iso文件。dd的时候指定bs大一点会快
__________________________________
--------------------
别人笑我太疯癫,我笑他人看不穿。
不见五陵豪杰墓,无花无酒锄作田。
--------------------



多谢,问题已经搞定。就是按照我上面提到的那种方法,就是dd的过程很慢,dd一个多小时之后还么结束,就回去睡觉了,早上发现可以mount了。这里把所使用的方法贴出来,也是咱们CU上一个朋友贴出来的方法,IBM的帮助文档。

IBM 帮助文档上是这样说的:
Mounting ISO images on AIX
There is a known problem with mounting ISO images on the AIX platform. To workaround the problem, complete the following

instructions:

Obtain the size of the image.
For example:

# ls -al
total 731594
drwxr-xr-x   2 root     system          512 Aug 18 11:33 .
drwxr-xr-x   6 root     system          512 Aug 18 11:32 ..
-rw-r--r--   1 root     system    374575104 Apr 29 02:59
                                            fim_console_rios_aix_5.iso

Identify the nearest multiple of 128 MB that will provide enough space for the image. In the above example, the image is

approximately 374 MB, so use 384 MB as an image size.
Make a logical volume of this size. Ensure that there is enough space on the physical volume. For example, hdisk0.

# mklv -y cdlv -s n -L /dev/cdlv rootvg 384M hdisk0
If the command fails, increase the volume size by a multiple of 128.

Use thedd command to create a pseudo-device. Ensure that the partition has enough space for the pseudo-device. In the

following example command, the pseudo-device is /dev/cdlv.
# dd if=/opt/software/iso/fim_console_rios_aix_5.iso of=/dev/cdlv
Note that this command may take a long time and will create two dd processes.

Mount the device like a CD-ROM in AIX. Ensure that the mount point exists.
# mount -v cdrfs -o ro /dev/cdlv /mnt/iso
Change directory into /mnt/iso.
__________________________________
明犯我强汉天威者,穷搜天下,万里追杀,覆其巢,断其苗裔,戮其身,追其魂,屠其魄,虽远必诛!
----------------------------------
一尺之槌,日取其半,万世不竭!
----------------------------------
欢迎光临Godbach的博客交流技术问题:
http://blog.chinaunix.net/u/33048/
----------------------------------



这么长时间可不太好
bs设置的大点应该可以快好多,刻光盘也比这快呀
__________________________________
无甚德守,亦无甚恶行。每叹枉掷如许粟麦菜蔬,徒费孜孜攻读, 矻矻苦吟。




多谢斑竹。
我是帮朋友解决的,我是做了一个4G的分区,然后把一个3G的软件给dd过去。dd的时候怎么指定bs啊?
__________________________________
明犯我强汉天威者,穷搜天下,万里追杀,覆其巢,断其苗裔,戮其身,追其魂,屠其魄,虽远必诛!
----------------------------------
一尺之槌,日取其半,万世不竭!
----------------------------------
欢迎光临Godbach的博客交流技术问题:
http://blog.chinaunix.net/u/33048/
----------------------------------



晕~
dd if=/path/*.iso of=/dev/cdlv bs=xxxx
__________________________________
unixing



这么慢的


  首页 » 论坛 » AIX »
Copyright © 2001-2010 ChinaUnix.net All Rights Reserved     联系我们:

感谢所有关心和支持过ChinaUnix的朋友们    转载本站内容请注明原作者名及出处

京ICP证041476号


清除 Cookies - ChinaUnix - Archiver - WAP - TOP