kaulf 发表于 2003-4-25 14:25:14

how to mount iso to /dev/cdrom

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

fchunan 发表于 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)

kaulf 发表于 2003-4-26 11:25:15

thanks very much

kaulf 发表于 2003-4-27 17:16:36

# 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: 不是目录: '/mnt/g/shrike-i386-disc1.iso/'
好像有问题

fchunan 发表于 2003-4-27 17:46:24

写错了,对不起
是:redhat-config-packages --isodir=/isopath/
例如我的3个ISO放在E盘里面的redhat9文件夹里面
只要文件夹就可以了
那么就是这样的
redhat-config-packages --isodir=/mnt/e/redhat9/

kaulf 发表于 2003-4-27 19:33:17

呵呵,谢谢了
页: [1]
查看完整版本: how to mount iso to /dev/cdrom