QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1122|回复: 5

how to mount iso to /dev/cdrom

[复制链接]
发表于 2003-4-25 14:25:14 | 显示全部楼层 |阅读模式
when install rpm,is say:please insert redhat 9.0 disc2
but i only have the .iso,how to deal with it

i try to mout it to /mnt/cdrom,but it doesn't work.
i have ever read an article form bbs.smth.edu.cn,there it tells
the way to handle this problem
but now the article have benn deleted,and i cannot remmember the way the author say

i sorry my chinese-input-platform have sth wrong,so i write it in englesh
if u know how to handle my problem,tell me please.
thanks

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2003-4-25 20:14:07 | 显示全部楼层
redhat-config-packages --isodir=/isopath/
(do not forget add "/" at the end of then line ,that is is very important)
回复

使用道具 举报

 楼主| 发表于 2003-4-26 11:25:15 | 显示全部楼层
thanks very much
回复

使用道具 举报

 楼主| 发表于 2003-4-27 17:16:36 | 显示全部楼层
[root@localhost g]# redhat-config-packages --isodir=/mnt/g/shrike-i386-disc1.iso/
Traceback (most recent call last):
  File "/usr/share/redhat-config-packages/MainWindow.py", line 160, in ?
    im = get_method(args)
  File "/usr/share/redhat-config-packages/config.py", line 53, in get_method
    return method.LoopbackIsoInstallMethod(isodir)
  File "/usr/share/redhat-config-packages/method.py", line 323, in __init__
    self.discImages = findIsoImages(tree)
  File "/usr/share/redhat-config-packages/method.py", line 792, in findIsoImages
    files = os.listdir(path)
OSError: [Errno 20] 不是目录: '/mnt/g/shrike-i386-disc1.iso/'
好像有问题
回复

使用道具 举报

发表于 2003-4-27 17:46:24 | 显示全部楼层
写错了,对不起
是:redhat-config-packages --isodir=/isopath/
例如我的3个ISO放在E盘里面的redhat9文件夹里面
只要文件夹就可以了
那么就是这样的
redhat-config-packages --isodir=/mnt/e/redhat9/
回复

使用道具 举报

 楼主| 发表于 2003-4-27 19:33:17 | 显示全部楼层
呵呵,谢谢了
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-5 16:44 , Processed in 0.090922 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表