免费注册 查看新帖 |

Chinaunix

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

在SCO下直接使用ISO镜像安装软件的方法 [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-19 22:33 |只看该作者 |倒序浏览

  以赛博中文的ISO文件为例。
  你可以使用ISO文件在SCO下直接安装,但必须保证你的机器上已经安装了光驱,并且在核心中含有CDROM设备,即hwconfig -h 列表中有CDROM信息。接下来你可以通过下面的步骤来处理:
   cd /dev
   mv cd0 cd0.bak
   cd /tmp (此处假定你的cyber.iso放在/tmp目录中)
   marry -a cyber.iso
   cd /dev
   ln -s /dev/marry/tmp/cyber.iso cd0
   l cd0 显示结果如下:
   brw-r----- 1 root sys 76, 1 Feb 26 10:45 cd0@
   mv rcd0 rcd0.bak
   mknod rcd0 c 76 1 
   l *cd0 显示结果如下:
   brw-r----- 1 root sys 76, 1 Feb 26 10:45 cd0@
   crw-r--r-- 1 root sys 76, 1 Feb 26 10:48 rcd0
  
   custom
   选择安装介质时选CDROM就可以安装了。
   记得安装完成之后
   cd /dev
   rm cd0 rcd0
   mv cd0.bak cd0
   mv rcd0.bak rcd0;
   marry -d /tmp/cyber.iso
   恢复你的光驱设备,否则你的光驱不能使用啦!
补充marry的说明:
marry -- marriage driver
  The marriage driver allows a regular file to be treated as a device. It does not drive any hardware directly, but it redirects reads and writes on its device to the associated regular file.
  marry(ADM) uses the marriage driver to associate a block special device file with a regular file. The regular file may then be accessed through the block device node created below the /dev/marry directory, or through a character device node.
  swap(ADM) uses marry to allow a regular file to act as a block device for swapping. marry may also be used to allow a regular file to act as a block device for mounting.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_500291.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP